/* Custom styles for Junker Admin Login */

.form-group {
    margin-bottom: 0px;
    animation: fadeInUp 0.5s ease-out forwards;
    /* opacity: 0; */
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

:root {
    --junker-red: #e30613;
    --junker-dark: #212529;
    --junker-light: #f8f9fa;
    --junker-gray: #6c757d;
    --junker-light-gray: #e9ecef;
    
    /* Dashboard CSS Variables */
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 60px;
    
    /* Exact colors from the image */
    --stat-purple: #e8e3ff;
    --stat-purple-icon: #8b5cf6;
    --stat-green: #dcfce7;
    --stat-green-icon: #22c55e;
    --stat-pink: #fce7f3;
    --stat-pink-icon: #ec4899;
    --stat-orange: #fed7aa;
    --stat-orange-icon: #f97316;
    --stat-blue-icon: #0073b7;
}

body, html {
    background-color: var(--junker-light);
    overflow-x: hidden;
/*    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;*/
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.container-fluid {
    padding: 0;
    /* height: 100vh;
    overflow: hidden;
    background-color: white; */
}

.row {
    /* height: 100%; */
    /*margin: 0;*/
    display: flex;
}

/* Split screen layout */
.login-side {
    background-color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 1;
}

.login-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--junker-red);
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 1s ease-out forwards;
}

.image-side {
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-out forwards;
}

.junker-image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

/* Remove the after pseudo-element */

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.6) 0%, rgba(227, 6, 19, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
    z-index: 1;
}

.overlay-logo {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: none;
    animation: none;
}

.overlay-logo-img {
    width: 70px;
    height: auto;
}

.overlay-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: none;
    animation: none;
    opacity: 1;
}

.overlay-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: none;
}

.overlay-text p {
    font-size: 16px;
    font-weight: 400;
    text-shadow: none;
}

.junker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: none;
    filter: none;
}

.junker-image-container:hover .junker-image {
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .container-fluid {
        height: auto;
    }
    
    .row {
        height: auto;
        flex-direction: column;
    }
    
    .login-side, .image-side {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .login-side {
        height: auto;
        min-height: auto;
        padding: 2rem 1rem;
        order: 2;
    }
    
    .image-side {
        height: 50vh;
        display: block;
        order: 1;
    }
    
    .login-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .card {
        margin: 0;
    }
    
    .overlay-text h3 {
        font-size: 24px;
    }
    
    .overlay-text p {
        font-size: 16px;
    }
    
    .overlay-logo-img {
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .login-side {
        padding: 1.5rem 1rem;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .login-container {
        padding: 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .card {
        margin: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .image-side {
        height: 40vh;
    }
    
    .logo-bg {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .login-subtitle {
        font-size: 13px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .form-control {
        padding: 12px;
    }
    
    .btn-sign-in {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .login-side {
        padding: 1rem 0.5rem;
    }
    
    .login-container {
        padding: 0.5rem;
    }
    
    .card-body {
        padding: 1rem 0.5rem;
    }
    
    .logo-bg {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .btn-sign-in {
        padding: 8px;
    }
    
    .image-side {
        height: 30vh;
    }
    
    /* Show image on all screens */
    .image-side {
        display: flex;
    }
}

.card {
    border: none;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.logo-container {
    text-align: center;
    animation: fadeInDown 0.5s ease-out forwards;
}





.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

.form-check {
    padding-left: 1.5em;
}
.form-check-input{
    font-size: 13px;
}
.form-check-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-check-label:hover {
    color: #0f172a;
}

.forgot-password {
    font-size: 13px;
    text-align: right;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--junker-red);
    text-decoration: underline;
}

/* Junker brand color - red */
.junker-red {
    background-color: #e30613;
    color: white;
}

.logo-bg {
    background-color: var(--junker-red);
    padding: 15px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s ease;
}

.logo-bg:hover {
    transform: none;
    box-shadow: none;
}

/* Common/Utility Classes */

/* Common Section/Card Classes */
.section-block {
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 12px;
    overflow: hidden;
    margin: 14px 0 22px 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.section-block-header {
    background: #dfe9ff; /* header tint */
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-block-header .title {
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
}

.section-block-header .chevron::after {
    content: '\25BE';
    color: #64748b;
}

.section-block-body {
    padding: 20px;
}

.row-gap { height: 12px; }

/* Lead form refinement */
.section-block-body .row { margin-right: -10px; margin-left: -10px; }
.section-block-body [class^="col-"] { padding-right: 10px; padding-left: 10px; }


.section-block-body .form-control {
    height: 44px;
    border-radius: 10px;
    border-color: #e7e9f0;
}

.section-block-body .form-control:focus {
    border-color: #90a4c8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.10);
}

.section-block-body .control-label {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 6px;
}

.pickup-address-container,
.drop-address-container {
    background: #f9fafb;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.pickup-address-container h4,
.drop-address-container h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #0f172a;
}

/* Inline Yes/No radios */
.section-block-body .radio, .section-block-body .checkbox {
    margin-top: 6px;
    margin-bottom: 6px;
}
.section-block-body .radio input[type="radio"],
.section-block-body .checkbox input[type="checkbox"] {
    margin-top: 2px;
}
.section-block-body label.control-label + .form-group .radio,
.section-block-body label.control-label + .form-group .checkbox { display: inline-block; margin-right: 16px; }

/* Subtle divider between grouped rows inside the address cards */
.pickup-address-container .row + .row,
.drop-address-container .row + .row { margin-top: 10px; }
.pickup-address-container .row:last-child,
.drop-address-container .row:last-child { margin-bottom: 4px; }

/* Textarea sizing */
.section-block-body textarea.form-control { min-height: 90px; }

/* Radio visual polish to match design */
.section-block-body .radio label { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 400; 
    color: #64748b; 
}
.section-block-body .radio input[type="radio"] { 
    width: 18px; 
    height: 18px; 
    accent-color: #0f172a; /* modern browsers */
}
.section-block-body .control-label { margin-bottom: 4px; }

/* Place Yes/No radios in a row */
.section-block-body .form-group:has(> .radio) {
    display: inline-block;
    width: auto;
    margin-right: 20px;
}

@supports not (selector(:has(*))) {
    /* Fallback: common admin browsers support :has, but just in case */
    .section-block-body .radio { display: inline-block; margin-right: 20px; }
}

/* Services rows: keep label and radios on a single horizontal line per service */
.services-row .col-md-6 { display: flex; align-items: center; gap: 20px; }
.services-row .col-md-6 > .control-label { flex: 0 0 240px; margin: 0; }
.services-row .col-md-6 > .form-group { margin: 0; }


/* Footer buttons spacing */
.box-footer { padding-top: 8px; }
.actions-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.box-footer .btn { margin-right: 0; margin-bottom: 8px; border-radius: 8px; height: 42px; display: inline-flex; align-items: center; gap: 6px; }
.box-footer .btn.btn-success { background-color: #16a34a; border-color: #16a34a; }
.box-footer .btn.btn-primary { background-color: #0ea5e9; border-color: #0ea5e9; }
.box-footer .btn.bg-orange { background-color: #f59e0b; border-color: #f59e0b; }
.box-footer .btn.btn-danger { background-color: #ef4444; border-color: #ef4444; }
.box-footer .btn:hover { filter: brightness(0.95); }

/* Global button + icon consistency */
/*.btn i,
.btn .fa,
.btn [class^="fa-"] {
    margin-right: 6px;
}*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.section-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ==============================
   Global UI Overrides (Bootstrap/AdminLTE)
   Apply consistent design across all views
   ============================== */

/* Form controls */
/* .form-group { margin-bottom: 12px; } */
 
 
 
 
 
small, .help-block { color: #64748b; }

/* Radios and checkboxes */
input[type="radio"], input[type="checkbox"] { width: 16px; height: 16px; accent-color: #0f172a; }
label input[type="radio"], label input[type="checkbox"] { margin-right: 6px; }

/* Buttons */
 
.btn-primary { background-color: #0ea5e9; border-color: #0ea5e9; }
.btn-success { background-color: #16a34a; border-color: #16a34a; }
.btn-warning { background-color: #f59e0b; border-color: #f59e0b; color: #ffffff; }
.btn-danger  { background-color: #ef4444; border-color: #ef4444; }
.btn-default, .btn-secondary { background-color: #f3f4f6; border-color: #e5e7eb; color: #111827; }
.btn:hover { filter: brightness(0.97); }

.btn-xs{
    height: 25px ;
    padding: 1px 5px ;
    font-size: 12px ;
    line-height: 1.5 ;
}

/* Tables */
.table { border-color: #eef0f5; font-size: 13px; background: #ffffff !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}
.table > thead > tr > th {
    font-weight: 700;
    border-bottom-color: #e9edf6;
    padding: 10px;
    a{
        text-decoration: none;
        color:black;
    }
}
.table > tbody > tr > td {
    border-top-color: white;
    padding: 8px;
    vertical-align: middle;
}
.table > tbody > tr  {
background-color: white !important;
}
.table-striped>tbody>tr{
    background-color: white !important;
    --bs-table-accent-bg: white !important;
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: white !important;
}
.table-hover > tbody > tr:hover { background: #f7faff; }
.table-bordered { border: 1px solid #e9edf6; }
.table-responsive {  border-radius: 12px; }
.table-striped > tbody > tr:nth-of-type(odd) { background-color: #fbfdff; }
.table .label, .table .badge { font-size: 11px; }
.table > tbody > tr { transition: background-color .15s ease; }

/* Badges/Labels */
.label, .badge { border-radius: 999px; padding: 6px 10px; font-weight: 600; }
.label-default, .badge-default { background: #e5e7eb; color: #111827; }
.label-success, .badge-success { background: #dcfce7; color: #14532d; }
.label-primary, .badge-primary { background: #dbeafe; color: #1e3a8a; }
.label-warning, .badge-warning { background: #fef3c7; color: #92400e; }
.label-danger, .badge-danger { background: #fee2e2; color: #7f1d1d; }

/* Dropdowns */
.dropdown-menu { border-radius: 10px; border-color: #e7e9f0; box-shadow: 0 6px 20px rgba(15,23,42,0.08); }
.dropdown-menu > li > a { padding: 8px 12px; }
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover { background: #f3f6ff; color: #111827; }

/* Modals */
.modal-content { border-radius: 12px; border: 1px solid #e6e8ef; box-shadow: 0 15px 40px rgba(15,23,42,0.2); }
.modal-header { background: #f6f8ff; border-bottom-color: #e6e8ef; padding: 12px 16px; }
.modal-title { font-weight: 600; color: #0f172a; }
.modal-header .close { opacity: .6; font-size: 28px; line-height: 1; }
.modal-header .close:hover { opacity: .9; }
.modal-body { padding: 16px; }
.modal-footer { border-top-color: #e6e8ef; padding: 12px 16px; }
.modal-backdrop.in { opacity: .4; }

/* Select2 (kartik/select2) */
.select2-container--default .select2-selection--single { height: 44px; border-radius: 10px; border-color: #e7e9f0; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.select2-dropdown { border-color: #e7e9f0; border-radius: 10px; box-shadow: 0 6px 20px rgba(15,23,42,0.08); }
.select2-results__option--highlighted[aria-selected] { background-color: #f3f6ff; color: #111827; }

/* DatePicker (kartik) */
.kv-dateinput .form-control, .kv-timepicker .form-control { height: 44px; }
.bootstrap-datetimepicker-widget, .datepicker-dropdown { border-radius: 10px; }

/* Filter toolbar spacing (grids/forms at top) */
.filters, .filter-bar, .search-bar { background: #ffffff; border: 1px solid #e6e8ef; border-radius: 12px; padding: 12px; margin-bottom: 12px; }

/* Pagination */
.pagination { margin: 10px 0; }
.pagination > li { margin-right: 6px; }
.pagination > li > a, .pagination > li > span {
    border-color: #e6e8ef;
    color: #111827;
    padding: 8px 12px;
    border-radius: 8px;
    background: #ffffff;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background-color: #3699FF;
    border-color: #3699FF;
    color: #ffffff;
}
.pagination > li > a:hover { background: #f97316; border-color: #f97316;  color: #ffffff; }

 

/*.box-header.with-border { background: #dfe9ff; border-bottom: 1px solid #eceff6; }*/


.box-title:not(.modern-chart-title) { font-weight: 600; color: #0f172a;}

.nav-tabs  li a{
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}


/* end */

.section-card-lg {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-padding {
    padding: 1.5rem;
}

.section-padding-sm {
    padding: 1rem;
}

.section-padding-lg {
    padding: 2rem;
}

.section-margin {
    margin-bottom: 1.5rem;
}

.section-margin-lg {
    margin-bottom: 2rem;
}

/* Common Header Classes */
.section-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}

.section-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* Common Button Classes */
.btn { 
    border: none; 
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2c3e50;
}

.btn-secondary {
    background-color: var(--light-bg, #f8f9fa);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--hover-bg, #e9ecef);
    color: var(--text-primary);
}

.btn-outline {
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--hover-bg, #f8f9fa);
    border-color: var(--text-secondary);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}



/* Common Input Classes */


/* Common Layout Classes */
.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: 0.5rem;
}

.gap {
    gap: 0.75rem;
}

.gap-lg {
    gap: 1rem;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Dashboard Styles */

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.sidebar::-webkit-scrollbar {
    display: none; /* WebKit */
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    min-height: 60px;
}

.sidebar .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /*margin-top: 25px;*/
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: var(--background-color);
    color: var(--text-color);
}
.sidebar .sidebar-toggle {
    position: fixed;
    left: calc(var(--sidebar-width) - 10px);
    top: 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sidebar.collapsed .sidebar-toggle {
    position: fixed;
    left: 45px;
    top: 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar.collapsed .sidebar-toggle:hover {
    background-color: var(--primary-dark, #0056b3);
    color: var(--white);
    transform: scale(1.05);
}

/* Navigation Styles */
/*.sidebar-nav {
    padding: 1rem 0;
}*/

.nav-list {
    list-style: none;
    padding: 0px;
}

/*.nav-item {
    margin-bottom: 0.25rem;
}*/

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    /*color: var(--text-color);*/
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 0px;
    margin: 0px 0px;
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    transform: translateX(2px);
    text-decoration: none;
}

.nav-item.active .nav-link {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
}

.nav-link i {
    width: 20px;
    margin-right: 0.875rem;
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
}

.nav-link:hover i,
.nav-item.active .nav-link i {
    opacity: 1;
}

.nav-link span {
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .nav-link span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.75rem 0.5rem;
    margin: 0 0.5rem 0 0.25rem;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
    font-size: 1.1rem;
}

.sidebar.collapsed .nav-item {
    margin-bottom: 0.375rem;
}

.sidebar.collapsed .nav-link:hover {
    transform: none;
    background-color: var(--background-color);
}

.sidebar.collapsed .nav-item.active .nav-link {
    background-color: var(--primary-color);
    border-radius: 8px;
}

.submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.nav-item.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.sidebar.collapsed .submenu-arrow {
    display: none;
}

/* Submenu Styles */
.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--background-color);
}

.nav-item.has-submenu.open .submenu {
    max-height: 1000px;
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 0.5rem 1rem 0.5rem 1rem;
    /*color: var(--text-light);*/
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    /*border-radius: 4px;*/
    /*margin: 0 0.5rem 0.125rem 0.5rem;*/
}

.submenu a:hover {
    color: var(--primary-color);
    background-color: rgba(44, 62, 80, 0.05);
    transform: translateX(2px);
}

.submenu a.active, .submenu li.active a {
    color: var(--primary-color);
    background-color: rgba(44, 62, 80, 0.1);
    font-weight: 500;
}

.sidebar.collapsed .submenu {
    display: none;
}

/* Parent menu item active when child is active */
.nav-item.has-submenu.active > .nav-link {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    background-color: var(--background-color);
    width:calc(100% - 320px);
}

.sidebar.collapsed + .main-content {
    width: calc(100% - 70px);
    
}

/* Top Navbar */
.top-navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 9;
}

.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
}

.mobile-sidebar-toggle:hover {
    background-color: var(--background-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-name {
    font-weight: 500;
    color: var(--text-color);
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem 1.5rem;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card-purple {
    background-color: var(--stat-purple);
}

.stat-card-green {
    background-color: var(--stat-green);
}

.stat-card-pink {
    background-color: var(--stat-pink);
}

.stat-card-orange {
    background-color: var(--stat-orange);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: var(--white);
    text-decoration: none;
}

 
 

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Daily Enquiries Section */
.daily-enquiries-section {
    /* Using common classes: section-card-lg */
}

/* Section header styles moved to common classes */

.section-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: var(--background-color);
    color: var(--text-color);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-toggle.open i {
    transform: rotate(180deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.section-content.open {
    max-height: 300px;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

/* Enquiry List Styles */
.enquiry-list {
    padding: 0;
}

.enquiry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.enquiry-item:hover {
    background-color: var(--background-color);
}

.enquiry-item:last-child {
    border-bottom: none;
}

.enquiry-info {
    flex: 1;
}

.enquiry-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.enquiry-details {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.enquiry-time {
    color: var(--text-light);
    font-size: 0.8rem;
}

.enquiry-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-new {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-completed {
    background-color: #dcfce7;
    color: #16a34a;
}

/* Dashboard Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.collapsed + .main-content {
        margin-left: 0;
    }
    
    .mobile-sidebar-toggle {
        display: block;
    }
    
    .sidebar .sidebar-toggle {
        display: none;
    }
    
    .sidebar.collapsed .sidebar-toggle {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .top-navbar {
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .user-name {
        display: none;
    }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .sidebar.collapsed {
        width: 60px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .sidebar.collapsed + .main-content {
        margin-left: 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
    
    .top-navbar {
        padding: 1rem 1.5rem;
    }
    
    .sidebar .sidebar-toggle {
        left: calc(200px - 10px);
    }
    
    .sidebar.collapsed .sidebar-toggle {
        left: 35px;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .enquiry-table th,
    .enquiry-table td {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Desktop Responsive Design */
@media (min-width: 1200px) {
    .sidebar {
        width: 320px;
    }
    
    .sidebar.collapsed {
        width: 70px;
    }
    
    .main-content {
        margin-left: 320px;
    }
    
    .sidebar.collapsed + .main-content {
        margin-left: 70px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .dashboard-content {
        padding: 2rem;
        max-width: 1400px;
    }
    
    .top-navbar {
        padding: 1rem 2rem;
    }
    
    .sidebar .sidebar-toggle {
        left: calc(320px - 10px);
    }
    
    .sidebar.collapsed .sidebar-toggle {
        left: 55px;
    }
    
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .enquiry-table {
        font-size: 15px;
    }
    
    .enquiry-table th,
    .enquiry-table td {
        padding: 14px 18px;
    }
    
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .card {
        padding: 2rem;
    }
}

/* Ultra-wide Desktop (1600px+) */
@media (min-width: 1600px) {
    .dashboard-content {
        max-width: 1600px;
        margin: 0 auto;
    }
    
    .stats-grid {
        gap: 15px
    }
    
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .sidebar-toggle,
    .mobile-sidebar-toggle,
    .notification-btn,
    .user-profile-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .filter-btn,
    .reset-btn,
    .export-btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .enquiry-table td,
    .enquiry-table th {
        padding: 12px 16px;
    }
    
    .dropdown-item {
        padding: 1rem;
        min-height: 48px;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon svg,
    .nav-link i {
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --white: #2d2d2d;
        --text-color: #ffffff;
        --text-light: #b3b3b3;
        --border-color: #404040;
        --hover-bg: #404040;
    }
}

/* Notification Styles */
.notification-container {
    position: relative;
    margin-right: 1rem;
}

.notification-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background-color: var(--hover-bg);
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.mark-all-read {
    color: var(--primary-color);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
}

.mark-all-read:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 250px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: var(--hover-bg);
}

.notification-item.unread {
    background-color: #f8f9ff;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-text {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.notification-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.view-all-notifications {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all-notifications:hover {
    text-decoration: underline;
}

/* User Profile Dropdown Styles */
.user-profile-container {
    position: relative;
}

.user-profile-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.user-profile-btn:hover {
    background-color: var(--hover-bg);
}

.user-profile-btn .fas {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.user-profile-btn.active .fas {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 280px;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-info {
    flex: 1;
}

.user-dropdown-name {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-email {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.user-dropdown-menu {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

/*.dropdown-item.signout {
    color: #ff4757;
}

.dropdown-item.signout:hover {
    background-color: #fff5f5;
    color: #ff4757;
}*/

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

/* Update navbar-right to handle new layout */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Shared Images Section Styles */
.shared-images-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 0;
    margin-top: 2rem;
    overflow: hidden;
}

.shared-images-section .section-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shared-images-section .section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-primary, .btn-secondary {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    /* background-color: var(--primary-hover); */
}

.btn-secondary {
    background-color: var(--light-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.image-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.image-placeholder {
    height: 160px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--hover-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.image-card:hover .image-placeholder::before {
    transform: translateX(100%);
}

.image-info {
    padding: 1rem;
}

.image-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.image-details {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.image-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.image-date {
    color: var(--primary-color);
    font-weight: 500;
}

.image-size {
    background-color: var(--light-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}





/* Enquiry Page Styles */
.page-content {
    padding: 24px;
    /*background-color: #f4f7fa;*/
}

.filter-section {
    /* Using common classes: section-card section-padding section-margin */
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-group, .action-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-btn, .reset-btn, .export-btn, .quick-offer-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .reset-btn:hover, .export-btn:hover, .quick-offer-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.new-request-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.new-request-btn:hover {
    background: #4338ca;
}

.enquiry-filters {
    /* Using common classes: section-card section-padding section-margin */
    display: none;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.filter-grid:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
 
    opacity: 1;
}

.form-group label {
/*    font-size: 12px;
    font-weight: 500;
    color: #374151;*/
}

.filter-input, .filter-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
}

.filter-input:focus, .filter-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.table-container {
    /* Using common classes: section-card section-margin */
}

/* Pagination Styles */
.pagination-container {
    margin-top: 15px;
    padding: 0;
    background: transparent;
    font-size: 13px;
}

.pagination-summary {
    margin-bottom: 10px;
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.pagination-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 3px;
}

.entries-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.entries-per-page label {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.entries-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    background: white;
    min-width: 60px;
    height: 26px;
}

.entries-buttons {
    display: flex;
    gap: 1px;
}

.entries-btn {
    width: 40px;
    height: 28px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.entries-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.entries-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 500;
}

.entries-btn.active:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #ccc;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f9f9f9;
}

.page-numbers {
    display: flex;
    gap: 1px;
}

.page-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.page-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.page-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 500;
}

.page-btn.active:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.table-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.table-wrapper {
    overflow-x: auto;
}

.enquiry-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.enquiry-table th {
    background: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.enquiry-table th:hover {
    background: #f3f4f6;
}

.enquiry-table th i {
    margin-left: 4px;
    color: #9ca3af;
    font-size: 12px;
}

.enquiry-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.enquiry-table tbody tr:hover {
    background: #f9fafb;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.source-badge.website {
    background: #dcfce7;
    color: #166534;
}

.source-badge.phone {
    background: #dbeafe;
    color: #1e40af;
}

.source-badge.email {
    background: #fef3c7;
    color: #92400e;
}

.stage-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.stage-badge.new {
    background: #fed7aa;
    color: #9a3412;
}

.stage-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.stage-badge.completed {
    background: #dcfce7;
    color: #166534;
}

.status-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-link {
    background: none;
    border: none;
    color: #4f46e5;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    text-align: left;
}

.btn-link:hover {
    color: #4338ca;
}

.status-actions small {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.2;
}

/* Responsive adjustments for image grid */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .section-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .shared-images-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Enquiry page responsive */
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group, .action-group {
        justify-content: center;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .table-wrapper {
        overflow-x: scroll;
    }
    
    .enquiry-table {
        min-width: 800px;
    }
    
    .enquiry-table th,
    .enquiry-table td {
        padding: 8px 12px;
        font-size: 12px;
    }

}

.input-group-addon {
    width: 40px;
    font-size: 18px;
    align-items: center;
    position: relative;
}

h1{
    font-size: 30px;
    font-weight: 600;
    color: #111827;
}
section.content.box.box-primary .row + .row{margin-top:10px}

/* Cards */
/* .box.box-success,.box.box-primary{border:1px solid #e6e8ef;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06)}

.box-header.with-border{background:#dfe9ff;border-bottom:1px solid #eceff6;border-top-left-radius:12px;border-top-right-radius:12px;padding:10px 16px;align-items:center;justify-content:space-between}


.box-tools .btn-box-tool{color:#475569}

.box-success{
 margin-bottom: 15px;   
}
.load-assessment-data h4{
    font-size:16px;
    font-weight:600;
}
h4{
    font-size:17px;
    font-weight:600;
    margin-top:10px;
}
.box-body{
    margin-top:1.5rem;
} */

 .no-bg{
    background: none !important;
 }

/* ==============================
   Send to Calendar Styles
   ============================== */

/* Calendar Header */
.calendar-header-row {
    background-color: #f5f5f5;
    padding: 15px 0;
    margin: 0 0 20px 0;
    border-radius: 4px;
}

.calendar-header-row .control-label {
    font-weight: 600;
    margin-bottom: 0;
}

/* Lead Information Card */
.calendar-lead-info-card {
    margin-bottom: 15px;
}

.calendar-lead-info-inner {
    background-color: #fff;
    border-left: 4px solid #3c8dbc;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.calendar-lead-info-inner h4 {
    margin: 0;
    color: #3c8dbc;
}

/* Moving Detail Row */
.calendar-moving-detail-row {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.calendar-moving-detail-row:not(.bg-danger) {
    background-color: #fafafa;
}

.calendar-checkbox-col {
    text-align: center;
}

.calendar-checkbox-col .checkbox {
    margin: 0;
}

.calendar-checkbox-col input[type="checkbox"] {
    margin-right: 20px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.calendar-checkbox-col input[type="checkbox"]:not([data-toggle]) {
    margin-right: 20px;
}

/* Vehicle Display */
.calendar-vehicle-box {
    padding: 6px 10px;
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
    border-radius: 3px;
}

.calendar-vehicle-box span {
    font-weight: 500;
}

/* Delete Button */
.calendar-delete-col {
    text-align: center;
}

.calendar-delete-col .btn {
    border-radius: 4px;
    padding: 6px 10px;
}

/* New Calendar Entry Form */
.calendar-new-entry-form {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 2px dashed #ddd;
}

.calendar-new-entry-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.calendar-new-entry-options .checkbox label {
    font-weight: 500;
}

.calendar-new-entry-options .free-text-note {
    display: none;
}

/* Notes Section */
.calendar-notes-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.calendar-notes-label {
    padding-top: 8px;
}

.calendar-notes-label label {
    font-weight: 600;
    margin-bottom: 0;
}

.calendar-notes-textarea textarea {
    resize: vertical;
}

.calendar-notes-button {
    padding-top: 8px;
}

.calendar-notes-button .btn {
    width: 100%;
}

/* Calendar Combine Section */
.calendar-combine-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.calendar-combine-section label {
    font-weight: 600;
    margin-bottom: 10px;
}

.calendar-combine-section select {
    height: 150px;
}

.calendar-combine-button {
    padding-top: 30px;
}

.calendar-combine-button .btn {
    width: 100%;
}

/* Action Footer */
.calendar-action-footer {
    background-color: #f9f9f9;
    padding: 20px 15px;
    margin-top: 20px;
    border-radius: 4px;
    border-top: 3px solid #3c8dbc;
}

.calendar-action-footer .checkbox {
    margin: 0;
}

.calendar-action-footer .checkbox label {
    font-weight: 600;
}

.calendar-action-footer .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.calendar-action-footer-select-all {
    text-align: center;
    padding-top: 8px;
}

.calendar-action-footer .btn-group {
    margin-right: 10px;
}

.calendar-action-footer .btn {
    padding: 10px 20px;
    font-weight: 600;
}

/* ==============================
   Calendar Event Row Styles
   ============================== */

/* Event Date Header */
.calendar-event-date-header {
    text-align: center;
    color: #d32f2f;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Event Row Status Colors */
.calendar-event-row-orange {
    background: #f9dca7;
}

.calendar-event-row-green {
    background: #a0f9a0;
}

.calendar-event-row-red {
    background: #f6cccc;
}

.calendar-event-row-yellow {
    background: #f6cccc;
}

.calendar-event-row-invoice-send {
    background: #fafa61;
}

.calendar-event-row-invoice-generated {
    background: #67e5df;
}

/* Event Table */
.calendar-event-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.calendar-event-table th {
    background: #f5f5f5;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #e0e0e0;
}

.calendar-event-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.calendar-event-table tr:hover {
    background-color: #f9f9f9;
}

.calendar-event-table tr:last-child td {
    border-bottom: none;
}

/* Event Document Cell */
.calendar-event-document {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-event-document i {
    font-size: 18px;
    color: #3c8dbc;
}

.calendar-event-document small {
    color: #6c757d;
    font-size: 11px;
    text-transform: uppercase;
}

.calendar-event-document h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* Event Actions */
.calendar-event-actions {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.calendar-event-actions li {
    display: inline-block;
}

.calendar-event-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #6c757d;
    transition: all 0.2s ease;
    text-decoration: none;
}

.calendar-event-actions a:hover {
    background: #3c8dbc;
    color: #fff;
    transform: translateY(-2px);
}

.calendar-event-actions i {
    font-size: 14px;
}

/* Event Amount */
.calendar-event-amount {
    font-weight: 600;
    color: #16a34a;
    font-size: 15px;
}
.multiple-input .btn{
    height: 25px;
}
.btn-container{
    margin: 10px 0px;
}


 

body .btn-info{
    color: #ffffff;
}

/*========by adil==========*/
 .fade.in {
    opacity: 1!important;
}