    /* Reset and Base Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    /* Performance Optimizations */
    * {
        /* Improve rendering performance */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    /* Header positioning - REMOVED DUPLICATE */

    /* Body styles */
    body {
        position: relative;
        z-index: 1;
        overflow-x: hidden;
    }

    /* Header Styles - Clean and Simple */
    .main-header {
        background: #ffffff;
        color: #333333;
        padding: 8px 0;
        border-bottom: 1px solid #e0e0e0;
        overflow: hidden;
        min-height: 60px;
    }

    /* Removed duplicate - using universal header fix above */

    /* Removed duplicate - using universal header fix above */

    /* Ensure main content doesn't overflow */
    .main-content {
        overflow-x: hidden;
        position: relative;
    }

    /* Main content container */
    .container {
        position: relative;
        z-index: 10;
        transition: margin-right 0.4s ease;
    }



    /* Mobile adjustments */
    @media (max-width: 768px) {
        .action-buttons {
            position: relative;
            top: auto;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .page-header {
            position: relative;
            top: auto;
        }
        
        /* Mobile body padding - removed */

        /* Ensure content doesn't get hidden behind header */
        .main-content {
            margin-top: 20px;
        }
    }

    /* Action buttons and page content */
    .page-header,
    .form-container,
    .info-cards,
    .action-buttons,
    .btn {
        position: relative;
        z-index: 50;
    }

    /* Ensure proper spacing between page elements */
    .container > * + * {
        margin-top: 1.5rem;
    }

    .container > .page-header + * {
        margin-top: 2rem;
    }

    /* Action buttons positioning - Fixed overlap issue */
    .action-buttons {
        position: relative;
        background: var(--white);
        padding: 1rem 0;
        z-index: 50;
        border-bottom: 1px solid var(--gray-200);
        margin-bottom: 1.5rem;
    }

    /* Page header positioning - Fixed overlap issue */
    .page-header {
        position: relative;
        background: var(--white);
        z-index: 50;
        padding: 1.5rem 0;
        margin-bottom: 2rem;
        border-bottom: 1px solid var(--gray-200);
    }

    /* Removed conflicting ultra-aggressive header fix */

    /* Removed conflicting header force rules */

    /* Optimize animations for GPU acceleration */
    .nav-link, .nav-link i, .logo, .logo-image {
        will-change: transform;
        transform: translateZ(0);
    }

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

    /* Optimize scroll performance */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Reduce paint operations */
    .main-header, .nav-link, .logo {
        contain: layout style paint;
    }

    :root {
        /* Eye-Friendly Soft Color Palette */
        --primary-color: #8b7ed8;
        --primary-dark: #7c6ed1;
        --primary-light: #a59ce8;
        --secondary-color: #7fb069;
        --accent-color: #d4a574;
        --success-color: #6b9c5a;
        --warning-color: #c49b5a;
        --danger-color: #c47a7a;
        --info-color: #7ba3b8;
        
        /* Eye-Friendly Neutral Colors */
        --white: #fefefe;
        --gray-50: #f7f8fa;
        --gray-100: #f0f2f5;
        --gray-200: #e4e7eb;
        --gray-300: #d1d5db;
        --gray-400: #9ca3af;
        --gray-500: #6b7280;
        --gray-600: #4b5563;
        --gray-700: #374151;
        --gray-800: #1f2937;
        --gray-900: #111827;
        
        /* Eye-Friendly Travel Theme Colors */
        --sky-blue: #7bb3d9;
        --ocean-blue: #6ba3c7;
        --sunset-orange: #d4a574;
        --forest-green: #7fb069;
        --sand-beige: #f5f2e8;
        --lavender: #a59ce8;
        --rose: #c47a7a;
        --emerald: #7fb069;
        --amber: #c49b5a;
        --cyan: #7ba3b8;
        
        /* Typography */
        --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        
        /* Spacing */
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
        
        /* Shadows */
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        
        /* Border Radius */
        --radius-sm: 0.375rem;
        --radius-md: 0.5rem;
        --radius-lg: 0.75rem;
        --radius-xl: 1rem;
        --radius-2xl: 1.5rem;
        
        /* Transitions */
        --transition-fast: 0.15s ease-in-out;
        --transition-normal: 0.3s ease-in-out;
        --transition-slow: 0.5s ease-in-out;
    }

    body {
        font-family: var(--font-primary);
        line-height: 1.7;
        color: var(--gray-800);
        background: #f7f8fa;
        position: relative;
        min-height: 100vh;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 248, 240, 0.3);
        pointer-events: none;
        z-index: -1;
        padding-top: 50px; /* Space for even smaller fixed header */
        /* Performance optimized! ⚡ */
    }

    /* Removed heavy background gradients for better performance */

    /* Removed heavy floating particles for better performance */

    .container {
        max-width: 1501px;
        margin: 0 auto;
        padding: var(--spacing-xl);
        /* position: relative; REMOVED - can interfere with fixed positioning */
    }

    /* Removed heavy container effects for better performance */

    /* Header Styles - Clean and Simple */
    .main-header {
        background: #ffffff;
        color: #333333;
        padding: 8px 0;
        border-bottom: 1px solid #e0e0e0;
        overflow: hidden;
        min-height: 60px;
    }

    .main-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #8b7ed8, #a59ce8); /* Soft purple gradient */
    }

    /* Scrolled state for enhanced sticky header */
    .main-header.scrolled {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.15),
            0 4px 16px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(233, 69, 96, 0.2);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(233, 69, 96, 0.8);
    }

    .main-header.scrolling-up {
        transform: translateY(0);
    }

    .main-header.scrolling-down {
        /* Keep header visible when scrolling down */
        transform: translateY(0);
    }

    /* Removed rainbow animation for better performance */



    .header-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between; /* Keep space between logo and hamburger */
        align-items: center;
        padding: 0 15px; /* Smaller horizontal padding */
        gap: var(--spacing-sm); /* Smaller gap */
        flex-wrap: nowrap;
        min-height: 35px; /* Even smaller height */
        align-content: center;
        overflow: hidden;
    }

    .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px; /* Much smaller padding */
        border-radius: var(--radius-lg);
        transition: var(--transition-normal);
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        height: 30px; /* Even smaller height */
        min-width: 70px; /* Even smaller width */
        margin-right: var(--spacing-sm); /* Smaller margin */
        flex-shrink: 0;
    }

    .logo:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(233, 69, 96, 0.5);
    }

    .logo-image {
        height: 20px; /* Even smaller height */
        width: auto;
        margin-bottom: 2px; /* Smaller margin */
        cursor: pointer;
        transition: var(--transition-normal);
        filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.4));
    }

    .logo-image:hover {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px rgba(233, 69, 96, 0.8));
        animation: logoGlow 0.3s ease-in-out;
    }





    @keyframes logoGlow {
        0%, 100% { 
            filter: drop-shadow(0 0 15px rgba(233, 69, 96, 0.4));
        }
        50% { 
            filter: drop-shadow(0 0 25px rgba(233, 69, 96, 0.8));
        }
    }



    .logo span {
        font-size: 0.65rem;
        opacity: 0.9;
        font-weight: 600;
        color: #4ecdc4;
        font-family: 'Courier New', monospace;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: var(--spacing-md);
        flex-shrink: 0;
    }

    .main-nav ul {
        display: flex;
        list-style: none;
        gap: var(--spacing-md);
        margin: 0;
        padding: 0;
    }



    .nav-link {
        color: #333333;
        text-decoration: none;
        padding: 8px 12px; /* Clean padding */
        border-radius: 6px; /* Simple border radius */
        transition: all 0.3s ease; /* Simple transition */
        font-weight: 500; /* Medium weight */
        position: relative;
        overflow: visible; /* Allow text to show */
        border: none; /* No border */
        display: flex;
        align-items: center;
        gap: 6px; /* Space between icon and text */
        min-width: auto; /* Auto width */
        width: auto; /* Auto width */
        height: auto; /* Auto height */
        text-align: left; /* Left align text */
        background: transparent; /* No background */
        backdrop-filter: none; /* No blur */
        box-shadow: none; /* No shadow */
        /* Clean text navigation - no tiles */
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.8s ease;
    }

    .nav-link:hover::before {
        left: 100%;
    }

    .nav-link i {
        font-size: 1rem; /* Normal icon size */
        transition: var(--transition-normal);
        color: #333333;
        text-shadow: none;
        padding: 0; /* No padding */
        background: transparent; /* No background */
        backdrop-filter: none; /* No blur */
    }

    .nav-link span {
        font-size: 0.9rem; /* Normal text size */
        font-weight: 500;
        letter-spacing: 0.5px; /* Better readability */
        color: #333333;
        text-shadow: none;
        text-transform: none; /* No uppercase */
        line-height: 1.2; /* Better line height */
        padding: 0; /* No padding */
        background: transparent; /* No background */
        backdrop-filter: none; /* No blur */
    }

    .nav-link:hover {
        background: rgba(139, 126, 216, 0.15) !important; /* Soft purple hover background */
        transform: none; /* No movement */
        box-shadow: 0 2px 8px rgba(139, 126, 216, 0.2) !important; /* Soft purple hover shadow */
        border-color: transparent; /* No border */
        backdrop-filter: none; /* No blur */
        border-radius: 6px; /* Rounded corners on hover */
    }

    .nav-link:hover i {
        transform: none; /* No movement */
        color: #2563eb; /* Beautiful blue color */
        font-size: 1rem; /* Same size */
        text-shadow: none; /* No shadow */
        filter: none; /* No filter */
        background: transparent; /* No background */
        backdrop-filter: none; /* No blur */
        box-shadow: none; /* No shadow */
    }

    .nav-link:hover span {
        background: transparent; /* No background */
        color: #2563eb; /* Beautiful blue color */
        text-shadow: none; /* No shadow */
        transform: none; /* No movement */
    }

    .nav-link.active {
        background: #8b7ed8 !important; /* Soft purple background */
        color: #ffffff !important; /* White text */
        border: 2px solid #8b7ed8 !important; /* Matching purple border */
        box-shadow: 0 4px 15px rgba(139, 126, 216, 0.4) !important; /* Soft purple shadow */
        transform: none; /* No movement */
        backdrop-filter: none; /* No blur */
        font-weight: 600 !important; /* Bold text */
    }

    .nav-link.active i {
        color: #ffffff !important; /* White icon */
        transform: none; /* No movement */
        font-size: 1.1rem; /* Slightly larger */
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important; /* White glow */
        filter: none; /* No filter */
        animation: none; /* No animation */
        font-weight: bold !important; /* Bold icon */
    }

    .nav-link.active span {
        background: transparent !important; /* No background */
        color: #ffffff !important; /* White text */
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important; /* White glow */
        transform: none; /* No movement */
        font-weight: 700 !important; /* Bold text */
        text-transform: none; /* No uppercase */
    }

    .nav-link.active::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 3px;
        background: #ffffff !important; /* White underline */
        border-radius: 2px;
        animation: none; /* No animation */
    }

    @keyframes slideIn {
        from {
            width: 0;
            opacity: 0;
        }
        to {
            width: 20px;
            opacity: 1;
        }
    }

    @keyframes activeIconPulse {
        0%, 100% {
            text-shadow: 0 0 10px rgba(233, 69, 96, 0.9);
            transform: scale(1.2);
        }
        50% {
            text-shadow: 0 0 15px rgba(233, 69, 96, 1);
            transform: scale(1.25);
        }
    }

    .nav-link i {
        margin-right: 0.5rem;
    }

    .user-menu {
        display: flex;
        align-items: center;
        gap: var(--spacing-md);
        position: relative;
        height: 100%;
        align-self: stretch;
        justify-content: flex-end;
        flex-shrink: 0;
    }

    /* User Profile Display */
    .user-profile-display {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .user-profile-display:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .user-profile-display .user-avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: linear-gradient(135deg, #c47a7a, #d4a574);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: white;
        font-weight: 700;
    }

    .user-profile-display .user-info {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .user-profile-display .user-name {
        color: #333;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .user-profile-display .user-role {
        color: #666;
        font-size: 0.75rem;
    }

    .user-profile-display i.fa-chevron-down {
        color: #666;
        font-size: 12px;
        transition: transform 0.3s ease;
        margin-left: 8px;
    }

    .user-profile-display.active i.fa-chevron-down {
        transform: rotate(180deg);
    }

    /* User Dropdown Menu */
    .user-menu {
        position: relative;
    }

    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        min-width: 200px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        margin-top: 8px;
    }

    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        color: #333;
        font-size: 14px;
    }

    .dropdown-item:hover {
        background: #f8f9fa;
    }

    .dropdown-item i {
        width: 16px;
        color: #666;
    }

    .dropdown-divider {
        height: 1px;
        background: #e9ecef;
        margin: 4px 0;
    }

    .dropdown-item:last-child {
        color: #dc3545;
    }

    .dropdown-item:last-child:hover {
        background: #f8d7da;
    }

    .dropdown-item:last-child i {
        color: #dc3545;
    }

    /* User Management Styles */
    .user-avatar-small {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 14px;
        margin-right: 10px;
    }

    .user-info {
        display: flex;
        align-items: center;
    }

    .form-select-small {
        padding: 4px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 12px;
        background: white;
    }

    .action-buttons {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .badge-danger {
        background: #dc3545;
        color: white;
    }

    .badge-warning {
        background: #ffc107;
        color: #212529;
    }

    .badge-info {
        background: #17a2b8;
        color: white;
    }

    .badge-success {
        background: #28a745;
        color: white;
    }

    .badge-secondary {
        background: #6c757d;
        color: white;
    }

    .text-muted {
        color: #6c757d;
    }


    /* Profile Hamburger Menu Styling */
    .profile-hamburger-container {
        position: relative;
        display: flex;
        align-items: center;
        z-index: 10002;
        overflow: visible !important;
    }

    .profile-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .profile-hamburger .hamburger-line {
        width: 100%;
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .profile-hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .profile-hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .profile-hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .profile-menu {
        position: fixed;
        top: 60px;
        right: 20px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        min-width: 280px;
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.08);
        overflow: visible !important;
    }

    .profile-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        display: block !important;
    }

    .profile-header {
        display: flex;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px 12px 0 0;
        color: white;
    }

    .profile-header .user-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
        margin-right: 15px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .profile-header .user-info {
        flex: 1;
    }

    .profile-header .user-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 4px;
        color: white;
    }

    .profile-header .user-role {
        font-size: 14px;
        opacity: 0.9;
        color: white;
    }

    .profile-menu-items {
        padding: 8px 0;
    }

    .menu-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #333;
        text-decoration: none;
    }

    .menu-item:hover {
        background: rgba(102, 126, 234, 0.08);
        color: #667eea;
    }

    .menu-item i {
        width: 20px;
        margin-right: 12px;
        text-align: center;
        font-size: 16px;
    }

    .menu-item span {
        font-size: 14px;
        font-weight: 500;
    }

    .logout-item {
        color: #dc3545;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 8px;
    }

    .logout-item:hover {
        background: rgba(220, 53, 69, 0.08);
        color: #c82333;
    }

    .logout-item i {
        color: #dc3545;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .profile-menu {
            right: -10px;
            min-width: 260px;
        }
        
        .profile-header {
            padding: 16px;
        }
        
        .profile-header .user-avatar {
            width: 40px;
            height: 40px;
            font-size: 16px;
        }
        
        .profile-header .user-name {
            font-size: 14px;
        }
        
        .profile-header .user-role {
            font-size: 12px;
        }
    }


    .user-info {
        position: relative;
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-xl);
        background: linear-gradient(135deg, rgba(123, 163, 184, 0.2), rgba(107, 163, 199, 0.2));
        border: 2px solid rgba(123, 163, 184, 0.4);
        cursor: pointer;
        transition: var(--transition-normal);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(123, 163, 184, 0.2);
        height: 50px;
        align-self: center;
        z-index: 999999;
    }

    .user-info:hover {
        background: linear-gradient(135deg, rgba(123, 163, 184, 0.3), rgba(107, 163, 199, 0.3));
        border-color: rgba(123, 163, 184, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(123, 163, 184, 0.4);
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: var(--primary-color);
        font-weight: 600;
    }

    .user-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .user-name {
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--white);
        line-height: 1.2;
    }

    .user-role {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 400;
    }

    .user-name {
        font-weight: 500;
        opacity: 0.9;
    }

    .logout-btn {
        color: var(--white);
        background: linear-gradient(135deg, rgba(196, 122, 122, 0.9) 0%, rgba(180, 100, 100, 0.9) 100%);
        border: 1px solid rgba(196, 122, 122, 0.3);
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-lg);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition-normal);
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
        height: 50px;
        align-self: center;
    }

    .logout-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: var(--transition-normal);
    }

    .logout-btn:hover::before {
        left: 100%;
    }

    .logout-btn:hover {
        background: linear-gradient(135deg, rgba(196, 122, 122, 1) 0%, rgba(180, 100, 100, 1) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(196, 122, 122, 0.5);
    }

    .logout-btn i {
        font-size: 0.9rem;
        transition: var(--transition-normal);
    }

    .logout-btn:hover i {
        transform: translateX(3px);
    }

    /* User Dropdown Styles */
    .user-info {
        position: relative;
        cursor: pointer;
        z-index: 10001;
    }



    @keyframes dropdownFadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: var(--spacing-md);
        padding: var(--spacing-lg) var(--spacing-xl);
        color: #ffffff;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: var(--radius-lg);
        margin-bottom: var(--spacing-sm);
        font-weight: 600;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item:hover {
        background: rgba(233, 69, 96, 0.3);
        color: #ffffff;
        transform: translateX(10px);
        border-color: rgba(233, 69, 96, 0.5);
        box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
    }

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

    /* Panel Header */
    .user-dropdown-menu::before {
        content: 'User Menu';
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid rgba(233, 69, 96, 0.5);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .dropdown-item i {
        width: 16px;
        text-align: center;
        font-size: 0.9rem;
    }

    .dropdown-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: var(--spacing-sm) var(--spacing-md);
    }

    .logout-item {
        color: #ff6b6b;
        background: rgba(220, 38, 38, 0.15);
        border-color: rgba(220, 38, 38, 0.3);
    }

    .logout-item:hover {
        background: rgba(220, 38, 38, 0.4);
        color: #ffffff;
        transform: translateX(10px);
        border-color: rgba(220, 38, 38, 0.6);
        box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    }

    /* Close Button */
    .close-panel {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(233, 69, 96, 0.8);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close-panel:hover {
        background: rgba(233, 69, 96, 1);
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(233, 69, 96, 0.5);
    }

    /* Hamburger Menu */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 8px;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        background: rgba(233, 69, 96, 0.1);
        border: 1px solid rgba(233, 69, 96, 0.2);
        position: relative;
        z-index: 200;
    }

    .hamburger-menu:hover {
        background: rgba(233, 69, 96, 0.2);
        border-color: rgba(233, 69, 96, 0.4);
        transform: scale(1.05);
    }

    .hamburger-line {
        width: 25px;
        height: 3px;
        background: #333333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }



    /* Side menu backdrop overlay */




















    .menu-section {
        margin-bottom: 1.5rem;
        opacity: 1;
        visibility: visible;
    }

    .menu-section h4 {
        color: #e94560;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid rgba(233, 69, 96, 0.3);
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .menu-item {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.8rem;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: var(--radius-md);
        margin-bottom: 0.4rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-item:hover {
        background: rgba(233, 69, 96, 0.2);
        transform: translateX(10px);
        border-color: rgba(233, 69, 96, 0.5);
        box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
    }

    .menu-item i {
        width: 18px;
        text-align: center;
        font-size: 1rem;
        color: #e94560;
    }



    .logout-section {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid rgba(233, 69, 96, 0.3);
    }

    .logout-item {
        background: rgba(220, 38, 38, 0.15);
        border-color: rgba(220, 38, 38, 0.3);
    }

    .logout-item:hover {
        background: rgba(220, 38, 38, 0.4);
        border-color: rgba(220, 38, 38, 0.6);
        box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
    }



    /* Dashboard Styles */
    .dashboard {
        padding: 3rem 0;
    }

    .dashboard h1 {
        text-align: center;
        margin-bottom: 3rem;
        color: #2c3e50;
        font-size: 3rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-2xl);
        margin-bottom: var(--spacing-3xl);
    }

    .stat-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.08),
            0 4px 12px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(12px);
        min-height: 200px;
        /* Premium glass-morphism effect ✨ */
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }

    .stat-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .stat-card:hover {
        transform: translateY(-12px) scale(1.03) rotateX(5deg) rotateY(5deg);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.15),
            0 10px 25px rgba(0, 0, 0, 0.1),
            0 0 30px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        border-color: var(--primary-color);
        perspective: 1000px;
    }

    .stat-card:hover::after {
        opacity: 0.03;
    }

    .stat-card i {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: var(--spacing-md);
        transition: var(--transition-normal);
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-card:hover i {
        transform: scale(1.2) rotate(10deg);
        animation: icon-bounce 0.6s ease-in-out infinite alternate;
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
    }

    .stat-card h3 {
        color: var(--gray-700);
        margin-bottom: var(--spacing-sm);
        font-size: 1.1rem;
        font-weight: 600;
        font-family: var(--font-secondary);
    }

    .stat-number {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--gray-800);
        font-family: var(--font-secondary);
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-800) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: var(--spacing-sm) 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.2;
        min-height: 2.6rem;
    }

    /* Quick Actions */
    .quick-actions {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2.5rem;
        border-radius: 20px;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.2);
        margin-bottom: 3rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .quick-actions h2 {
        margin-bottom: 2rem;
        color: var(--text-color);
        font-size: 1.8rem;
        font-weight: 700;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

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

    .action-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        position: relative;
        overflow: hidden;
    }

    .action-buttons .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .action-buttons .btn:hover::before {
        left: 100%;
    }

    .action-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .action-buttons .btn i {
        font-size: 1.1rem;
    }

    /* Phone Input Group */
    .phone-input-group {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .phone-input-group .form-input {
        flex: 1;
    }

    .phone-input-group .btn {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }

    /* Phone number validation message positioning */
    .form-group:has(.phone-input-group) .validation-message {
        margin-top: 0.5rem;
        width: 100%;
        display: block;
    }

    /* Alternative approach for phone validation message */
    #number-validation {
        margin-top: 0.5rem;
        width: 100%;
        display: block;
        clear: both;
    }

    /* Customer Search Modal */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        backdrop-filter: blur(5px);
    }

    .modal-content {
        background: white;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        width: 90%;
        max-width: 600px;
        max-height: 80vh;
        overflow: hidden;
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-header {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--gray-200);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
    }

    .modal-header h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .modal-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: background-color 0.2s;
    }

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .modal-body {
        padding: 2rem;
        max-height: 60vh;
        overflow-y: auto;
    }

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

    .search-input-group {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

    .search-input-group .form-input {
        flex: 1;
        padding: 0.875rem 1rem;
        border: 2px solid var(--gray-300);
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .search-input-group .form-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .search-input-group .btn {
        padding: 0.875rem 1.5rem;
        white-space: nowrap;
    }

    .search-results {
        max-height: 400px;
        overflow-y: auto;
    }

    .no-results {
        text-align: center;
        padding: 3rem 1rem;
        color: var(--gray-500);
    }

    .no-results i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .no-results p {
        margin: 0;
        font-size: 1.1rem;
    }

    .customer-item {
        padding: 1rem;
        border: 1px solid var(--gray-200);
        border-radius: 10px;
        margin-bottom: 0.75rem;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }

    .customer-item:hover {
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
        transform: translateY(-2px);
    }

    .customer-item.selected {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    }

    .customer-name {
        font-weight: 600;
        color: var(--text-color);
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
    }

    .customer-details {
        display: flex;
        gap: 1rem;
        color: var(--gray-600);
        font-size: 0.9rem;
    }

    .customer-details span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .customer-details i {
        width: 14px;
        text-align: center;
    }

    .loading-spinner {
        text-align: center;
        padding: 2rem;
        color: var(--primary-color);
    }

    .loading-spinner i {
        font-size: 2rem;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* Customer Lookup Status */
    .customer-lookup-status {
        margin-top: 0.5rem;
        font-size: 0.9rem;
    }

    .lookup-loading {
        color: var(--info-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .lookup-success {
        color: var(--success-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .lookup-info {
        color: var(--info-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .lookup-error {
        color: var(--error-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Validation Messages */
    .validation-message {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        border-radius: 6px;
        font-weight: 500;
    }

    .validation-message.success {
        color: var(--success-color);
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

    .validation-message.error {
        color: var(--error-color);
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    .validation-message.warning {
        color: #f59e0b;
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.2);
    }

    .validation-message.info {
        color: var(--info-color);
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
    }

    /* Button Styles */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) var(--spacing-xl);
        text-decoration: none;
        border-radius: var(--radius-lg);
        font-weight: 600;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        cursor: pointer;
        font-size: 1rem;
        font-family: var(--font-primary);
        position: relative;
        overflow: hidden;
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.1),
            0 2px 6px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover::before {
        left: 100%;
    }



    /* Button Variants */
    .btn-primary {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: var(--white);
        border-color: var(--primary-color);
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 
            0 15px 35px rgba(99, 102, 241, 0.4),
            0 8px 20px rgba(99, 102, 241, 0.3),
            0 0 30px rgba(99, 102, 241, 0.5);
        border-color: var(--primary-light);
        filter: brightness(1.1);
    }

    .btn-secondary {
        background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
        color: var(--white);
        border-color: var(--gray-600);
    }

    .btn-secondary:hover {
        background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-600) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-success {
        background: linear-gradient(135deg, var(--success-color) 0%, var(--forest-green) 100%);
        color: var(--white);
        border-color: var(--success-color);
    }

    .btn-success:hover {
        background: linear-gradient(135deg, var(--forest-green) 0%, var(--success-color) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-info {
        background: linear-gradient(135deg, var(--info-color) 0%, var(--sky-blue) 100%);
        color: var(--white);
        border-color: var(--info-color);
    }

    .btn-info:hover {
        background: linear-gradient(135deg, var(--sky-blue) 0%, var(--info-color) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-warning {
        background: linear-gradient(135deg, var(--warning-color) 0%, var(--sunset-orange) 100%);
        color: var(--white);
        border-color: var(--warning-color);
    }

    .btn-warning:hover {
        background: linear-gradient(135deg, var(--sunset-orange) 0%, var(--warning-color) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-danger {
        background: linear-gradient(135deg, var(--danger-color) 0%, #b91c1c 100%);
        color: var(--white);
        border-color: var(--danger-color);
    }

    .btn-danger:hover {
        background: linear-gradient(135deg, #b91c1c 0%, var(--danger-color) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-outline {
        background: transparent;
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-outline:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .btn:hover::before {
        left: 100%;
    }

    .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

    .btn-success {
        background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
        color: white;
    }

    .btn-success:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(86, 171, 47, 0.4);
    }

    .btn-info {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        color: white;
    }

    .btn-info:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
    }

    .btn-warning {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
    }

    .btn-warning:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(240, 147, 251, 0.4);
    }

    .btn-sm {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Table Styles - COMPACT PROFESSIONAL VERSION */
    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        padding: 1.25rem 1.5rem;
        border-radius: 8px;
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.08),
            0 2px 4px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.5);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        transition: all 0.2s ease;
        /* Professional compact header */
    }

    .page-header:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.2),
            0 12px 25px rgba(0, 0, 0, 0.1),
            0 0 40px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.95);
        filter: brightness(1.02) contrast(1.05);
    }

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    }

    .page-header h1 {
        color: var(--gray-800);
        font-family: var(--font-secondary);
        font-size: 1.4rem;
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
        background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-600) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        transition: all 0.2s ease;
    }

    .page-header:hover h1 {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .page-header h1 i {
        color: var(--primary-color);
        font-size: 1.4rem;
    }

    /* Override for date range span in page header */
    .page-header h1 span {
        background: #ffff00 !important;
        color: #000000 !important;
        font-weight: 700 !important;
        padding: 6px 12px !important;
        border-radius: 6px !important;
        margin-left: 12px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
        text-shadow: none !important;
        border: 2px solid #000000 !important;
        display: inline-block !important;
        position: relative !important;
        z-index: 1000 !important;
    }

    .search-bar {
        display: flex;
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .search-input {
        flex: 1;
        padding: var(--spacing-md) var(--spacing-lg);
        border: 2px solid var(--gray-300);
        border-radius: var(--radius-2xl);
        font-size: 1rem;
        font-family: var(--font-primary);
        transition: var(--transition-normal);
        background: var(--white);
        box-shadow: var(--shadow-sm);
    }

    .search-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(139, 126, 216, 0.1);
        transform: translateY(-1px);
    }

    .search-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .search-btn {
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }

    .table-container {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(139, 126, 216, 0.08);
        border: 1px solid rgba(139, 126, 216, 0.1);
        position: relative;
    }

    .table-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-color), var(--warning-color));
        border-radius: 16px 16px 0 0;
    }

    .data-table {
        width: 100%;
        border-collapse: collapse;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 0 0 16px 16px;
        overflow: hidden;
        position: relative;
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td {
        padding: 1rem 1.2rem;
        text-align: left;
        border-bottom: 1px solid rgba(139, 126, 216, 0.1);
        vertical-align: middle;
    }

    /* Column-specific alignment */
    .data-table th:nth-child(1),
    .data-table td:nth-child(1) {
        text-align: center;
        width: 60px;
    }

    .data-table th:nth-child(2),
    .data-table td:nth-child(2) {
        text-align: left;
        min-width: 120px;
    }

    .data-table th:nth-child(3),
    .data-table td:nth-child(3) {
        text-align: left;
        min-width: 100px;
    }

    .data-table th:nth-child(4),
    .data-table td:nth-child(4) {
        text-align: center;
        min-width: 120px;
    }

    .data-table th:nth-child(5),
    .data-table td:nth-child(5) {
        text-align: center;
        min-width: 100px;
    }

    .data-table th:nth-child(6),
    .data-table td:nth-child(6) {
        text-align: center;
        min-width: 120px;
    }

    .data-table th:nth-child(7),
    .data-table td:nth-child(7) {
        text-align: right;
        min-width: 120px;
    }

    .data-table th:nth-child(8),
    .data-table td:nth-child(8) {
        text-align: center;
        min-width: 100px;
    }

    .data-table th:nth-child(9),
    .data-table td:nth-child(9) {
        text-align: center;
        min-width: 100px;
    }

    .data-table th:nth-child(10),
    .data-table td:nth-child(10) {
        text-align: center;
        min-width: 120px;
    }

    .data-table th {
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.12) 0%, rgba(196, 155, 90, 0.12) 100%);
        font-weight: 600;
        color: var(--gray-700);
        font-size: 0.85rem;
        font-family: var(--font-secondary);
        padding: 1rem 1.2rem;
        border-bottom: 2px solid rgba(212, 165, 116, 0.2);
        backdrop-filter: blur(5px);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        position: relative;
    }

    .data-table th::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .data-table th:hover::after {
        opacity: 1;
    }

    .data-table tr {
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border-left: 3px solid transparent;
    }

    .data-table tr:hover {
        background: linear-gradient(135deg, rgba(139, 126, 216, 0.06) 0%, rgba(127, 176, 105, 0.06) 100%);
        transform: translateY(-2px);
        box-shadow: 
            0 4px 15px rgba(139, 126, 216, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.05);
        border-left: 3px solid var(--primary-color);
        border-radius: 0 8px 8px 0;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .data-table tr:hover td {
        color: var(--gray-800);
        font-weight: 500;
        transform: translateX(2px);
    }

    .data-table td {
        color: var(--gray-600);
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .data-table td:first-child {
        font-weight: 500;
        color: var(--gray-700);
    }

    .actions {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        min-height: 40px;
    }

    .actions .btn {
        min-width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        border-radius: 6px;
        font-size: 0.875rem;
        transition: all 0.2s ease;
    }

    .actions .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .actions .btn i {
        font-size: 0.875rem;
    }

    /* Total People Display */
    .total-people-display {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .person-count {
        font-size: 0.8rem;
        font-weight: 500;
    }

    .person-count.adults {
        color: var(--primary-color);
    }

    .person-count.children {
        color: var(--success-color);
    }

    .person-count.infants {
        color: var(--warning-color);
    }

    .total-count {
        font-size: 0.75rem;
        color: var(--gray-600);
        border-top: 1px solid var(--gray-200);
        padding-top: 0.25rem;
        margin-top: 0.25rem;
    }

    /* Service Badge */
    .service-badge {
        display: inline-block;
        padding: 0.25rem 0.5rem;
        background: var(--primary-color);
        color: white;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 500;
        text-align: center;
    }

    /* Mobile Input Group */
    .mobile-input-group {
        display: flex;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .mobile-input-group input {
        flex: 1;
    }

    .mobile-input-group .btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .mobile-status {
        margin-top: 0.5rem;
        width: 100%;
        clear: both;
    }

    .mobile-status .status-success,
    .mobile-status .status-error,
    .mobile-status .status-loading {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .mobile-status .status-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .mobile-status .status-error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .mobile-status .status-loading {
        background: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }

    /* Phone Input Group (for enquiries) */
    .phone-input-group {
        display: flex;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .phone-input-group input {
        flex: 1;
    }

    .phone-input-group .btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Search Input Group */
    .search-input-group {
        display: flex;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .search-input-group input {
        flex: 1;
    }

    .search-input-group .btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Enhanced Status Badges */
    .status-badge {
        display: inline-flex;
        align-items: center;
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }

    .status-badge.active,
    .status-badge.completed,
    .status-badge.confirmed {
        background: linear-gradient(135deg, rgba(127, 176, 105, 0.15), rgba(107, 163, 199, 0.15));
        color: var(--success-color);
        border-color: rgba(127, 176, 105, 0.3);
    }

    .status-badge.pending,
    .status-badge.processing {
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(196, 155, 90, 0.15));
        color: var(--warning-color);
        border-color: rgba(212, 165, 116, 0.3);
    }

    .status-badge.cancelled,
    .status-badge.rejected {
        background: linear-gradient(135deg, rgba(196, 122, 122, 0.15), rgba(180, 100, 100, 0.15));
        color: var(--danger-color);
        border-color: rgba(196, 122, 122, 0.3);
    }

    .status-badge.draft,
    .status-badge.inactive {
        background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(75, 85, 99, 0.15));
        color: var(--gray-500);
        border-color: rgba(107, 114, 128, 0.3);
    }

    /* Badge hover effects */
    .data-table tr:hover .status-badge {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Enhanced Table Action Buttons */
    .data-table .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 6px;
        transition: all 0.2s ease;
        border: 1px solid transparent;
    }

    .data-table .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .data-table .btn-primary {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
    }

    .data-table .btn-success {
        background: linear-gradient(135deg, var(--success-color), var(--forest-green));
        color: white;
    }

    .data-table .btn-danger {
        background: linear-gradient(135deg, var(--danger-color), #b91c1c);
        color: white;
    }

    .data-table .btn-warning {
        background: linear-gradient(135deg, var(--warning-color), var(--sunset-orange));
        color: white;
    }

    /* Table Loading State */
    .table-loading {
        position: relative;
        opacity: 0.6;
        pointer-events: none;
    }

    .table-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid var(--primary-color);
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .status-badge {
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-2xl);
        font-size: 0.9rem;
        font-weight: 600;
        font-family: var(--font-primary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: var(--shadow-sm);
        border: 1px solid transparent;
        transition: var(--transition-fast);
    }

    .status-badge:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.15),
            0 0 15px rgba(99, 102, 241, 0.3);
        filter: brightness(1.1);
        animation: badge-pulse 1s ease-in-out infinite;
    }

    .status-active {
        background-color: #d4edda;
        color: #155724;
    }

    .status-inactive {
        background-color: #f8d7da;
        color: #721c24;
    }

    .status-vip {
        background-color: #fff3cd;
        color: #856404;
    }

    /* Enquiry status badges */
    .status-new {
        background-color: #d1ecf1;
        color: #0c5460;
    }

    .status-contacted {
        background-color: #fff3cd;
        color: #856404;
    }

    .status-quoted {
        background-color: #d4edda;
        color: #155724;
    }

    .status-confirmed {
        background-color: #d1ecf1;
        color: #0c5460;
    }

    .status-cancelled {
        background-color: #f8d7da;
        color: #721c24;
    }

    /* Footer */
    .main-footer {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: white;
        padding: 3rem 0;
        margin-top: 4rem;
        text-align: center;
    }

    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .footer-content p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

    /* Animations and Transitions */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }

    .fade-in-up {
        animation: fadeInUp 0.6s ease-out;
    }

    .slide-in-left {
        animation: slideInLeft 0.6s ease-out;
    }

    .pulse {
        animation: pulse 2s infinite;
    }

    /* Hover Effects */
    .hover-lift {
        transition: var(--transition-normal);
    }

    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

    /* Navigation Notifications */
    .nav-notifications {
        display: flex;
        align-items: center;
        margin-left: var(--spacing-sm);
    }

    .nav-notifications .notification-bell {
        background: linear-gradient(135deg, #c47a7a, #d4a574);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-notifications .notification-bell:hover {
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
    }

    .nav-notifications .notification-bell i {
        color: white;
        font-size: 1rem;
    }

    .nav-notifications .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #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;
        transition: all 0.3s ease;
    }

    .nav-notifications .notification-badge.pulse {
        animation: pulse 1s infinite;
    }

    .nav-notifications .notification-badge.loading {
        opacity: 0.7;
        animation: loadingPulse 1.5s infinite;
    }

    @keyframes loadingPulse {
        0% { opacity: 0.7; }
        50% { opacity: 1; }
        100% { opacity: 0.7; }
    }

    /* Sound Toggle Button */
    .nav-sound {
        margin-right: var(--spacing-md);
        display: flex;
        align-items: center;
        height: 100%;
        align-self: center;
    }

    .sound-toggle {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition-normal);
        position: relative;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        align-self: center;
        font-size: 16px;
        color: white;
        outline: none;
    }

    .sound-toggle:hover {
        background: linear-gradient(135deg, #764ba2, #667eea);
        transform: scale(1.15) rotate(5deg);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    }

    .sound-toggle:active {
        transform: scale(0.95);
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }

    /* Header Notifications */
    .header-notifications {
        position: relative;
        margin-right: var(--spacing-md);
        display: flex;
        align-items: center;
        height: 100%;
        align-self: center;
    }

    .notification-bell {
        background: linear-gradient(135deg, #c47a7a, #d4a574);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition-normal);
        position: relative;
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
        align-self: center;
    }

    .notification-bell:hover {
        background: linear-gradient(135deg, #ff6b6b, #e94560);
        transform: scale(1.15) rotate(10deg);
        box-shadow: 0 8px 25px rgba(233, 69, 96, 0.6);
    }

    .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--danger-color);
        color: var(--white);
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        animation: pulse 2s infinite;
    }

    /* Notification Panel */
    .notification-panel {
        position: fixed;
        top: 70px;
        right: 20px;
        width: 350px;
        max-height: 500px;
        background: var(--white);
        border-radius: var(--radius-xl);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 2px solid var(--gray-200);
        z-index: 500;
        transform: translateX(400px);
        transition: var(--transition-normal);
        overflow: hidden;
        backdrop-filter: blur(10px);
    }

    .notification-panel.show {
        transform: translateX(0);
    }

    .notification-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: var(--white);
        padding: var(--spacing-lg);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    .notification-header h3 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .notification-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notification-header-actions .btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 4px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.2s ease;
    }

    .notification-header-actions .btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
    }

    .close-btn {
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.2rem;
        cursor: pointer;
        padding: var(--spacing-xs);
        border-radius: var(--radius-sm);
        transition: var(--transition-fast);
    }

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .notification-list {
        max-height: 400px;
        overflow-y: auto;
        padding: var(--spacing-md);
    }

    .notification-item {
        display: flex;
        align-items: flex-start;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        border-radius: var(--radius-lg);
        margin-bottom: var(--spacing-sm);
        transition: var(--transition-fast);
        border: 1px solid transparent;
    }

    .notification-item:hover {
        background: var(--gray-50);
        border-color: var(--gray-200);
    }

    .notification-item i {
        font-size: 1.2rem;
        margin-top: 2px;
    }

    .notification-content p {
        margin: 0 0 var(--spacing-xs) 0;
        font-weight: 500;
        color: var(--gray-800);
    }

    .notification-content small {
        color: var(--gray-500);
        font-size: 0.8rem;
    }

    /* Notification Sections */
    .notification-section {
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 0.5rem;
    }

    .notification-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .notification-section h4 {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--gray-600);
        margin-bottom: 0.5rem;
        padding: 0.25rem 0.5rem;
        background: var(--gray-100);
        border-radius: 4px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .notification-item.urgent {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 167, 38, 0.1));
        border-left: 3px solid #ff6b6b;
    }

    /* Smart Notification Animations */
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .smart-notification {
        animation: slideInRight 0.3s ease-out;
    }

    /* Event Modal Styles */
    .event-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        animation: fadeIn 0.3s ease-out;
    }

    .event-modal-content {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        animation: slideInUp 0.3s ease-out;
    }

    .event-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid var(--border-color);
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border-radius: 12px 12px 0 0;
    }

    .event-modal-header h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .event-modal-header .close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .event-modal-header .close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    #event-form {
        padding: 25px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-color);
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid rgba(139, 69, 19, 0.2);
        border-radius: 10px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: var(--text-color);
        box-sizing: border-box;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.15), 0 4px 12px rgba(139, 69, 19, 0.1);
        transform: translateY(-1px);
    }

    .form-group textarea {
        resize: vertical;
        min-height: 80px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .form-actions {
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .btn {
        padding: 12px 24px;
        border: none;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .btn-primary {
        background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(160, 82, 45, 0.9));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, rgba(139, 69, 19, 1), rgba(160, 82, 45, 1));
        box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(139, 69, 19, 0.2);
        color: var(--text-color);
    }

    .btn-secondary:hover {
        background: rgba(139, 69, 19, 0.1);
        border-color: rgba(139, 69, 19, 0.3);
        color: var(--primary-color);
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
    }

    /* Notification Styles */
    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 20px;
        border-radius: 8px;
        color: white;
        font-weight: 500;
        z-index: 1001;
        display: flex;
        align-items: center;
        gap: 10px;
        animation: slideInRight 0.3s ease-out;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .notification-success {
        background: linear-gradient(135deg, #4CAF50, #45a049);
    }

    .notification-error {
        background: linear-gradient(135deg, #f44336, #d32f2f);
    }

    .notification-info {
        background: linear-gradient(135deg, #2196F3, #1976D2);
    }

    @keyframes fadeIn {
        from { 
            opacity: 0;
            backdrop-filter: blur(0px);
        }
        to { 
            opacity: 1;
            backdrop-filter: blur(8px);
        }
    }

    @keyframes slideInUp {
        from {
            transform: translateY(30px) scale(0.95);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }

    /* Responsive Modal */
    @media (max-width: 768px) {
        .event-modal-content {
            width: 95%;
            margin: 10px;
            max-height: 95vh;
        }
        
        .form-row {
            grid-template-columns: 1fr;
            gap: 0;
        }
        
        .date-fields .form-row {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        /* EXCEPTION: Keep date fields side by side even on mobile */
        #flightsDates .form-row,
        #packagesDates .form-row {
            grid-template-columns: 1fr 1fr !important;
            gap: 1rem !important;
            display: grid !important;
        }
        
        .form-actions {
            flex-direction: column;
        }
        
        .btn {
            width: 100%;
            justify-content: center;
        }
    }

    .text-success { color: var(--success-color); }
    .text-info { color: var(--info-color); }
    .text-warning { color: var(--warning-color); }
    .text-danger { color: var(--danger-color); }

    /* Responsive Design */
    @media (max-width: 1200px) {
        .header-content {
            gap: var(--spacing-sm);
        }
        
        .main-nav ul {
            gap: var(--spacing-sm);
        }
        
        .nav-link {
            min-width: 100px;
            width: 100px;
            height: 45px;
            padding: var(--spacing-xs) var(--spacing-sm);
        }
        
        .user-menu {
            gap: var(--spacing-sm);
        }
    }

    @media (max-width: 768px) {
        .header-content {
            flex-direction: column;
            gap: var(--spacing-lg);
            padding: var(--spacing-md);
        }
        
        .main-nav {
            flex-direction: column;
            gap: var(--spacing-lg);
            width: 100%;
        }
        
        .main-nav ul {
            flex-wrap: wrap;
            justify-content: center;
            gap: var(--spacing-md);
            width: 100%;
        }
        
        .nav-link {
            min-width: 120px;
            width: 120px;
            height: 50px;
            padding: var(--spacing-md);
        }
        
        .user-menu {
            flex-direction: column;
            gap: var(--spacing-md);
            align-items: center;
        }
        
        .stats-grid {
            grid-template-columns: 1fr;
        }
        
        .action-buttons {
            grid-template-columns: 1fr;
        }
        
        .page-header {
            flex-direction: column;
            gap: var(--spacing-md);
            text-align: center;
        }
        
        .dashboard h1 {
            font-size: 2rem;
        }
    }

    /* Loading Animation */
    .btn-loading {
        position: relative;
        color: transparent !important;
    }

    .btn-loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border: 2px solid transparent;
        border-top: 2px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Logs Page Styles */
    .header-left {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-subtitle {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1rem;
        margin: 0;
    }

    .logs-table {
        margin-top: 2rem;
    }

    /* Compact Stats Bar - Space-saving alternative to info cards */
    .compact-stats-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border: 1px solid var(--gray-200);
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        gap: 1rem;
    }

    .compact-stats-bar .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        min-width: 0;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
    }

    .compact-stats-bar .stat-item:hover {
        background: rgba(255, 255, 255, 0.7);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .compact-stats-bar .stat-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        opacity: 0.8;
    }

    .compact-stats-bar .stat-label {
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--gray-600);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
    }

    .compact-stats-bar .stat-value {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--gray-800);
        line-height: 1;
    }

    /* Responsive design for compact stats */
    @media (max-width: 768px) {
        .compact-stats-bar {
            flex-wrap: wrap;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
        }
        
        .compact-stats-bar .stat-item {
            flex: 1 1 calc(50% - 0.5rem);
            min-width: calc(50% - 0.5rem);
        }
        
        .compact-stats-bar .stat-item i {
            font-size: 1.25rem;
        }
        
        .compact-stats-bar .stat-label {
            font-size: 0.7rem;
        }
        
        .compact-stats-bar .stat-value {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 480px) {
        .compact-stats-bar .stat-item {
            flex: 1 1 100%;
            min-width: 100%;
            margin-bottom: 0.5rem;
        }
    }

    .info-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin: 1.5rem 0;
        position: relative;
        z-index: 10;
    }

    .info-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.06),
            0 1px 3px rgba(0, 0, 0, 0.04);
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        border-left: 2px solid var(--primary-color);
        transition: all 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(8px);
        position: relative;
        overflow: hidden;
    }

    .info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .info-card:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.1),
            0 2px 6px rgba(0, 0, 0, 0.06);
        border-color: var(--primary-color);
        border-left-width: 3px;
        filter: brightness(1.02);
    }

    .info-card:hover::before {
        opacity: 0.05;
    }

    .info-card i {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-top: 0.25rem;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .info-content h3 {
        margin: 0 0 0.5rem 0;
        color: var(--gray-800);
        font-family: var(--font-secondary);
        font-size: 1rem;
        font-weight: 600;
    }

    .info-content p {
        margin: 0;
        color: var(--gray-600);
        line-height: 1.4;
        font-size: 0.85rem;
    }

    .info-content .level-info,
    .info-content .level-warning,
    .info-content .level-error {
        padding: 0.2rem 0.5rem;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .log-level {
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .level-info {
        background-color: #d1ecf1;
        color: #0c5460;
    }

    .level-warning {
        background-color: #fff3cd;
        color: #856404;
    }

    .level-error {
        background-color: #f8d7da;
        color: #721c24;
    }

    .level-debug {
        background-color: #e2e3e5;
        color: #383d41;
    }

    .timestamp {
        text-align: center;
    }

    .timestamp .date {
        font-weight: 600;
        color: #495057;
    }

    .timestamp .time {
        font-size: 0.8rem;
        color: #6c757d;
        margin-top: 0.2rem;
    }

    .user-info, .action-info, .ip-address {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .log-details {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Customer and Enquiry row improvements */
    .customer-row, .enquiry-row {
        transition: background-color 0.2s ease;
    }

    .customer-id, .enquiry-id {
        text-align: center;
    }

    .id-number {
        background: #f8f9fa;
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #6c757d;
    }

    .customer-name, .enquiry-customer,
    .customer-email, .enquiry-destination,
    .customer-phone, .enquiry-date,
    .customer-city, .enquiry-duration,
    .enquiry-adults, .enquiry-children,
    .enquiry-budget {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .customer-name i, .enquiry-customer i,
    .customer-email i, .enquiry-destination i,
    .customer-phone i, .enquiry-date i,
    .customer-city i, .enquiry-duration i,
    .enquiry-adults i, .enquiry-children i,
    .enquiry-budget i {
        color: #667eea;
        width: 16px;
        text-align: center;
    }

    .name-text, .customer-name,
    .email-text, .destination-text,
    .phone-text, .date-text,
    .city-text, .duration-text,
    .adults-text, .children-text,
    .budget-text {
        font-weight: 500;
    }

    .filters-section {
        background: white;
        padding: 1.5rem;
        border-radius: 10px;
        margin: 2rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

    .filters-header h3 {
        margin: 0;
        color: #495057;
        font-size: 1.1rem;
    }

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

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-group label {
        font-weight: 600;
        color: #495057;
        font-size: 0.9rem;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.5rem;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        font-size: 0.9rem;
        min-width: 150px;
    }

    .header-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Date Range Picker */
    .date-range-picker {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: white;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        border: 1px solid #e0e0e0;
    }

    .date-range-picker label {
        font-weight: 500;
        color: #333;
        margin: 0;
        white-space: nowrap;
    }

    .date-range-picker select {
        padding: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: white;
        font-size: 0.9rem;
        min-width: 150px;
    }

    .custom-date-range {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: 0.5rem;
        padding: 0.5rem;
        background: #f8f9fa;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
    }

    .custom-date-range input[type="date"] {
        padding: 0.4rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.9rem;
    }

    .custom-date-range button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Date range badge styling */
    .date-range-badge {
        background: #ff4444;
        color: #ffffff;
        font-weight: 700;
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        border: 2px solid #ffffff;
        white-space: nowrap;
        font-family: Arial, sans-serif;
        height: 40px;
        display: flex;
        align-items: center;
        margin-left: 10px;
    }

    .table-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .table-header h3 {
        margin: 0;
        color: #495057;
        font-size: 1.1rem;
    }

    .table-stats {
        display: flex;
        gap: 1rem;
    }

    .stat-badge {
        background: #f8f9fa;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        color: #6c757d;
        border: 1px solid #dee2e6;
    }

    .stat-badge i {
        margin-right: 0.5rem;
        color: #667eea;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    }

    .modal-content {
        background-color: white;
        margin: 3% auto;
        padding: 0;
        border-radius: 8px;
        width: 85%;
        max-width: 700px;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    .modal-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 1.25rem 1.5rem;
        border-radius: 8px 8px 0 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-header h2 {
        margin: 0;
    }

    .close {
        font-size: 2rem;
        cursor: pointer;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .close:hover {
        opacity: 1;
    }

    .modal-body {
        padding: 1rem;
    }

    .log-detail-view {
        padding: 1rem 0;
    }

    .log-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #eee;
    }

    .log-header .log-level {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .log-header .log-id {
        background: #f8f9fa;
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.9rem;
        color: #6c757d;
        font-weight: 600;
    }

    .log-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .detail-row {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem;
        background: #f8f9fa;
        border-radius: 8px;
        border-left: 3px solid #667eea;
    }

    .detail-row i {
        color: #667eea;
        width: 20px;
        text-align: center;
    }

    .detail-row strong {
        color: #495057;
        min-width: 80px;
    }

    .empty-state {
        text-align: center;
        padding: 3rem;
        color: #6c757d;
    }

    .empty-state i {
        font-size: 4rem;
        margin-bottom: 1rem;
        color: #28a745;
        opacity: 0.7;
    }

    .empty-state h3 {
        margin: 0 0 1rem 0;
        color: #495057;
        font-size: 1.5rem;
    }

    .empty-state p {
        margin: 0 0 1rem 0;
        font-size: 1.1rem;
    }

    .empty-state small {
        display: block;
        opacity: 0.7;
        margin-bottom: 1.5rem;
    }

    .empty-state .btn {
        margin-top: 1rem;
    }

    /* Pagination styles */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin: 2rem auto;
        flex-wrap: wrap;
        width: 100%;
        text-align: center;
    }

    .page-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        color: #495057;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .page-link:hover {
        background: #667eea;
        color: white;
        border-color: #667eea;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .page-link.active {
        background: #667eea;
        color: white;
        border-color: #667eea;
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
    }

    /* Ensure pagination is always centered */
    .container .pagination {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 2rem auto !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Booking Search Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
    }

    .modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 0;
        border-radius: 12px;
        width: 90%;
        max-width: 1000px;
        max-height: 80vh;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 1.5rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 12px 12px 0 0;
    }

    .modal-header h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }

    .close-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .modal-body {
        padding: 2rem;
        max-height: 60vh;
        overflow-y: auto;
    }

    .search-controls {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
        align-items: center;
    }

    .search-controls .search-box {
        flex: 1;
        position: relative;
    }

    .search-controls .search-box input {
        width: 100%;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

    .search-controls .search-box input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .search-controls .search-box i {
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
    }

    .search-controls select {
        padding: 0.75rem 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 1rem;
        background: white;
        min-width: 150px;
    }

    .table-container {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 1.5rem;
    }

    .modal-table {
        width: 100%;
        border-collapse: collapse;
        margin: 0;
    }

    .modal-table thead {
        background: #f8fafc;
        border-bottom: 2px solid #e2e8f0;
    }

    .modal-table th {
        padding: 1rem;
        text-align: left;
        font-weight: 600;
        color: #374151;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .modal-table td {
        padding: 1rem;
        border-bottom: 1px solid #f1f5f9;
        vertical-align: middle;
    }

    .modal-table tbody tr {
        transition: background-color 0.2s ease;
        cursor: pointer;
    }

    .modal-table tbody tr:hover {
        background-color: #f8fafc;
    }

    .modal-table tbody tr.selected {
        background-color: #e0f2fe;
        border-left: 4px solid #667eea;
    }

    .modal-table .status-badge {
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .modal-table .status-active {
        background-color: #dcfce7;
        color: #166534;
    }

    .modal-table .status-completed {
        background-color: #dbeafe;
        color: #1e40af;
    }

    .modal-table .status-pending {
        background-color: #fef3c7;
        color: #92400e;
    }

    .modal-table .status-cancelled {
        background-color: #fee2e2;
        color: #991b1b;
    }

    .modal-table .select-btn {
        background: #667eea;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.875rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .modal-table .select-btn:hover {
        background: #5a67d8;
    }

    .modal-table .select-btn:disabled {
        background: #cbd5e0;
        cursor: not-allowed;
    }

    .loading-row td {
        text-align: center;
        color: #6b7280;
        font-style: italic;
    }

    .no-results-row td {
        text-align: center;
        color: #6b7280;
        font-style: italic;
        padding: 2rem;
    }

    .modal-footer {
        background: #f8fafc;
        padding: 1.5rem 2rem;
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
        border-radius: 0 0 12px 12px;
        border-top: 1px solid #e2e8f0;
    }

    /* Inline Suggestions Styles */
    .autocomplete-container {
        position: relative;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .inline-suggestions {
        margin-top: 0.5rem;
        display: none;
    }

    .inline-suggestions.show {
        display: block;
    }

    .suggestion-item {
        display: inline-block;
        margin: 0.25rem 0.5rem 0.25rem 0;
        padding: 0.5rem 1rem;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.9rem;
    }

    .suggestion-item:hover {
        background: #667eea;
        color: white;
        border-color: #667eea;
        transform: translateY(-1px);
    }

    .suggestion-item.selected {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

    .autocomplete-main {
        flex: 1;
    }

    .autocomplete-booking-id {
        font-weight: 700;
        color: #1f2937;
        font-size: 0.95rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .autocomplete-customer {
        color: #6b7280;
        font-size: 0.85rem;
        margin-top: 0.125rem;
        font-weight: 400;
    }

    .autocomplete-services {
        color: #6b7280;
        font-size: 0.85rem;
        margin-top: 0.125rem;
        font-weight: 400;
    }

    .autocomplete-status {
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 500;
        text-transform: uppercase;
    }

    .autocomplete-status.active {
        background-color: #dcfce7;
        color: #166534;
    }

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

    .autocomplete-status.pending {
        background-color: #fef3c7;
        color: #92400e;
    }

    .autocomplete-status.cancelled {
        background-color: #fee2e2;
        color: #991b1b;
    }

    .autocomplete-no-results {
        padding: 1rem;
        text-align: center;
        color: #6b7280;
        font-style: italic;
    }

    .autocomplete-loading {
        padding: 1rem;
        text-align: center;
        color: #6b7280;
    }

    .autocomplete-loading i {
        margin-right: 0.5rem;
    }

    /* Responsive Modal */
    @media (max-width: 768px) {
        .modal-content {
            width: 95%;
            margin: 10% auto;
            max-height: 85vh;
        }
        
        .modal-header {
            padding: 1rem 1.5rem;
        }
        
        .modal-body {
            padding: 1.5rem;
        }
        
        .search-controls {
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .search-controls select {
            width: 100%;
        }
        
        .modal-table {
            font-size: 0.875rem;
        }
        
        .modal-table th,
        .modal-table td {
            padding: 0.75rem 0.5rem;
        }
    }

    .no-data {
        text-align: center;
        padding: 3rem;
        color: #6c757d;
        font-style: italic;
    }

    .no-data i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    /* Button outline style */
    .btn-outline {
        background: transparent;
        border: 2px solid #6c757d;
        color: #6c757d;
        transition: all 0.3s ease;
    }

    .btn-outline:hover {
        background: #6c757d;
        color: white;
    }

    /* Responsive adjustments for logs */
    @media (max-width: 768px) {
        .filters-section {
            flex-direction: column;
            align-items: stretch;
        }
        
        .filters-grid {
            grid-template-columns: 1fr;
        }
        
        .filter-group {
            width: 100%;
        }
        
        .header-actions {
            flex-direction: column;
            width: 100%;
        }
        
        .table-header {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        .table-stats {
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .logs-table {
            font-size: 0.8rem;
        }
        
        .timestamp .date,
        .timestamp .time {
            font-size: 0.7rem;
        }
        
        .info-section {
            grid-template-columns: 1fr;
        }
    }

    /* Enhanced Animations and Effects */
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    /* Removed float-particles animation for better performance */

    @keyframes icon-bounce {
        0% { transform: scale(1.2) rotate(10deg) translateY(0px); }
        100% { transform: scale(1.2) rotate(10deg) translateY(-8px); }
    }

    @keyframes badge-pulse {
        0%, 100% { transform: translateY(-2px) scale(1.05); }
        50% { transform: translateY(-2px) scale(1.08); }
    }

    @keyframes logo-pulse {
        0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); }
        50% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)); }
    }

    @keyframes travel-bounce {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-20px) scale(1.2); }
    }

    @keyframes progress-fill {
        0% { width: 0%; }
        50% { width: 100%; }
        100% { width: 0%; }
    }

    @keyframes pulse-glow {
        0%, 100% { 
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
        }
        50% { 
            box-shadow: 0 0 30px rgba(99, 102, 241, 0.8), 0 0 40px rgba(99, 102, 241, 0.4);
        }
    }

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

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Enhanced hover effects for interactive elements */
    .stat-card:hover i {
        animation: float 2s ease-in-out infinite;
    }

    .info-card:hover i {
        animation: pulse-glow 2s ease-in-out infinite;
    }

    .page-header:hover::before {
        animation: pulse-glow 2s ease-in-out infinite;
    }

    /* Smooth entrance animations */
    .page-header,
    .info-section,
    .stats-grid {
        animation: slideInUp 0.6s ease-out;
    }

    .info-card,
    .stat-card {
        animation: fadeInScale 0.6s ease-out;
    }

    /* Enhanced focus states */
    .btn:focus,
    .search-input:focus {
        outline: none;
        box-shadow: 
            0 0 0 3px rgba(99, 102, 241, 0.3),
            0 8px 25px rgba(99, 102, 241, 0.2);
        transform: translateY(-2px);
    }

    /* Glass morphism enhancement */
    .glass-effect {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    /* Enhanced table styling */
    .data-table th {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
        backdrop-filter: blur(10px);
        border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    }

    /* 🚀 AMAZING FLOATING ACTION BUTTON (FAB) 🚀 */
    .fab-container {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 1000;
    }

    .fab-button {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 
            0 8px 25px rgba(233, 69, 96, 0.4),
            0 0 20px rgba(233, 69, 96, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .fab-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .fab-button:hover::before {
        left: 100%;
    }

    .fab-button:hover {
        transform: scale(1.1) rotate(180deg);
        box-shadow: 
            0 15px 35px rgba(233, 69, 96, 0.6),
            0 0 30px rgba(233, 69, 96, 0.5);
    }

    .fab-button i {
        color: white;
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .fab-button:hover i {
        transform: scale(1.2);
    }

    .fab-menu {
        position: absolute;
        bottom: 70px;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 1rem;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.15),
            0 0 30px rgba(233, 69, 96, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 200px;
    }

    .fab-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .fab-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        cursor: pointer;
        border-radius: 15px;
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
        position: relative;
        overflow: hidden;
    }

    .fab-item:last-child {
        margin-bottom: 0;
    }

    .fab-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .fab-item:hover::before {
        left: 100%;
    }

    .fab-item:hover {
        background: rgba(233, 69, 96, 0.1);
        transform: translateX(10px);
    }

    .fab-item i {
        font-size: 1.2rem;
        color: #e94560;
        width: 20px;
        text-align: center;
    }

    .fab-item span {
        color: #333;
        font-weight: 500;
        font-size: 0.9rem;
    }





    /* Removed cursor effects for better performance */





    .loading-screen.fade-out {
        opacity: 0;
        visibility: hidden;
    }

    .loading-content {
        text-align: center;
        color: white;
    }

    .loading-logo {
        margin-bottom: 2rem;
    }

    .loading-logo-img {
        width: 120px;
        height: auto;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
        animation: logo-pulse 2s ease-in-out infinite;
    }

    .loading-text h2 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, #ffffff 0%, #e94560 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
    }

    .loading-text p {
        font-size: 1.2rem;
        color: #cbd5e1;
        margin-bottom: 3rem;
    }

    .loading-animation {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .travel-icon {
        font-size: 2.5rem;
        animation: travel-bounce 1.5s ease-in-out infinite;
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    }

    .travel-icon.plane { animation-delay: 0s; }
    .travel-icon.hotel { animation-delay: 0.2s; }
    .travel-icon.car { animation-delay: 0.4s; }
    .travel-icon.ship { animation-delay: 0.6s; }
    .travel-icon.train { animation-delay: 0.8s; }

    .loading-progress {
        width: 300px;
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
        margin: 0 auto;
    }

    .progress-bar {
        height: 100%;
        background: linear-gradient(90deg, #e94560, #ff6b6b, #4ecdc4, #45b7d1);
        border-radius: 3px;
        animation: progress-fill 3s ease-in-out infinite;
        box-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
    }

    .data-table tr:hover {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
        transform: scale(1.01);
        transition: all 0.3s ease;
    }

    /* Loading shimmer effect */
    @keyframes shimmer {
        0% { background-position: -200px 0; }
        100% { background-position: calc(200px + 100%) 0; }
    }

    .loading-shimmer {
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 0) 0%, 
            rgba(255, 255, 255, 0.4) 50%, 
            rgba(255, 255, 255, 0) 100%);
        background-size: 200px 100%;
        animation: shimmer 1.5s infinite;
    }

    /* Enhanced focus states with glow */
    .btn:focus,
    .search-input:focus {
        outline: none;
        box-shadow: 
            0 0 0 3px rgba(99, 102, 241, 0.3),
            0 8px 25px rgba(99, 102, 241, 0.2),
            0 0 20px rgba(99, 102, 241, 0.4);
        transform: translateY(-2px);
    }

    /* Magnetic hover effect for cards */
    .stat-card,
    .info-card {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .stat-card:hover,
    .info-card:hover {
        transform: translateY(-8px) scale(1.02);
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    }

    /* 📅 TEAM CALENDAR & EVENTS 📅 */
    .calendar-section {
        background: var(--white);
        padding: var(--spacing-xl);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        margin-bottom: var(--spacing-xl);
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--spacing-lg);
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .calendar-header h2 {
        color: var(--gray-800);
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
    }

    .calendar-controls {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
    }

    .current-month {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--gray-700);
        min-width: 120px;
        text-align: center;
    }

    .calendar-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: var(--spacing-xl);
        align-items: start;
    }

    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
        background: var(--gray-100);
        border-radius: var(--radius-md);
        padding: 2px;
        border: 1px solid var(--gray-200);
    }

    .calendar-day-header {
        background: var(--gray-200);
        padding: var(--spacing-sm);
        text-align: center;
        font-weight: 600;
        color: var(--gray-700);
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
    }

    .calendar-day {
        background: var(--white);
        padding: var(--spacing-sm);
        min-height: 80px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--gray-100);
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .calendar-day:hover {
        background: var(--gray-50);
        border-color: var(--gray-300);
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

    .calendar-day.other-month {
        background: var(--gray-50);
        color: var(--gray-400);
    }

    .calendar-day.today {
        background: rgba(37, 99, 235, 0.1);
        border-color: #2563eb;
        color: #2563eb;
        font-weight: 600;
    }

    .calendar-day.has-events {
        background: rgba(37, 99, 235, 0.05);
        border-color: rgba(37, 99, 235, 0.3);
    }

    .calendar-day-number {
        font-weight: 600;
        margin-bottom: var(--spacing-xs);
        color: var(--gray-800);
    }

    .calendar-events {
        font-size: 0.7rem;
        color: var(--gray-600);
    }

    .event-dot {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin-right: 2px;
        margin-bottom: 2px;
    }

    .event-dot.departure { background: #dc2626; }
    .event-dot.arrival { background: #059669; }
    .event-dot.meeting { background: #d97706; }
    .event-dot.reminder { background: #7c3aed; }

    .upcoming-events {
        background: var(--gray-50);
        padding: var(--spacing-lg);
        border-radius: var(--radius-md);
        border: 1px solid var(--gray-200);
    }

    .upcoming-events h3 {
        color: var(--gray-800);
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: var(--spacing-md);
    }

    .events-list {
        margin-bottom: var(--spacing-lg);
        max-height: 300px;
        overflow-y: auto;
    }

    .event-item {
        background: var(--white);
        padding: var(--spacing-sm);
        border-radius: var(--radius-sm);
        margin-bottom: var(--spacing-sm);
        border-left: 4px solid var(--gray-300);
        transition: all 0.3s ease;
    }

    .event-item:hover {
        transform: translateX(5px);
        box-shadow: var(--shadow-sm);
    }

    .event-item.departure { border-left-color: #dc2626; }
    .event-item.arrival { border-left-color: #059669; }
    .event-item.meeting { border-left-color: #d97706; }
    .event-item.reminder { border-left-color: #7c3aed; }

    .event-title {
        font-weight: 600;
        color: var(--gray-800);
        margin-bottom: 2px;
        font-size: 0.9rem;
    }

    .event-time {
        font-size: 0.8rem;
        color: var(--gray-600);
        margin-bottom: 2px;
    }

    .event-description {
        font-size: 0.8rem;
        color: var(--gray-500);
    }



    .event-filters {
        display: flex;
        gap: var(--spacing-xs);
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 6px 12px;
        border: 1px solid var(--gray-300);
        background: var(--white);
        color: var(--gray-700);
        border-radius: var(--radius-sm);
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-btn:hover {
        background: var(--gray-100);
        border-color: var(--gray-400);
    }

    .filter-btn.active {
        background: #2563eb;
        color: var(--white);
        border-color: #2563eb;
    }

    /* Responsive Calendar */
    @media (max-width: 768px) {
        .calendar-container {
            grid-template-columns: 1fr;
            gap: var(--spacing-lg);
        }
        
        .calendar-header {
            flex-direction: column;
            align-items: stretch;
        }
        
        .calendar-controls {
            justify-content: center;
        }
    }

    /* 📋 ENQUIRY FORM STYLES 📋 */
    .form-container {
        background: var(--white);
        padding: var(--spacing-xl);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        margin-bottom: var(--spacing-xl);
        width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .enquiry-form {
        max-width: 100%;
        overflow: visible;
    }

    .form-container {
        position: relative;
        z-index: 1;
        isolation: isolate;
        contain: layout style paint;
    }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
        margin-bottom: var(--spacing-xl);
        align-items: start;
        position: relative;
        z-index: 1;
        isolation: isolate;
        width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        margin-bottom: var(--spacing-lg);
        min-height: 90px;
        position: relative;
        z-index: 1;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
        margin-bottom: var(--spacing-lg);
        min-height: auto;
    }

    .form-group label {
        font-weight: 600;
        color: var(--gray-700);
        margin-bottom: var(--spacing-sm);
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
        position: relative;
        z-index: 2;
    }

    .form-group label i {
        color: var(--primary-color);
        font-size: 0.9rem;
    }

    .form-input {
        padding: 0.6rem 0.75rem;
        border: 1px solid var(--gray-200);
        border-radius: 6px;
        font-size: 0.9rem;
        transition: all 0.2s ease;
        background: var(--white);
        color: var(--gray-800);
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.08);
        transform: none;
    }

    .form-input::placeholder {
        color: var(--gray-400);
    }

    .form-input:invalid:not(:placeholder-shown) {
        border-color: var(--danger-color);
    }

    .form-input:valid:not(:placeholder-shown) {
        border-color: var(--success-color);
    }

    /* Textarea specific styles - COMPACT VERSION */
    .form-input[rows] {
        resize: vertical;
        min-height: 80px;
        font-family: inherit;
        line-height: 1.5;
    }

    /* Select specific styles */
    .form-input[type="date"],
    .form-input[type="number"] {
        font-family: inherit;
    }

    /* Input with icon (for budget) */
    .input-with-icon {
        position: relative;
        display: flex;
        align-items: center;
    }

    .currency-symbol {
        position: absolute;
        left: var(--spacing-md);
        color: var(--gray-500);
        font-weight: 600;
        font-size: 1rem;
        z-index: 1;
    }

    .input-with-icon .form-input {
        padding-left: calc(var(--spacing-md) + 20px);
    }

    /* Conditional Date Fields */
    .date-fields {
        margin-bottom: 1.5rem;
        width: 100%;
        overflow: visible;
    }

    .date-fields .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
        width: 100%;
        margin-bottom: 0;
    }

    .date-fields .form-row .form-group {
        margin-bottom: 0;
        width: 100%;
        min-width: 0; /* Prevents grid items from overflowing */
    }

    .date-fields .form-group input {
        width: 100%;
        min-width: 0; /* Prevents input from overflowing */
    }

    /* Ensure date fields container doesn't get cut off */
    #dateFieldsContainer {
        width: 100%;
        overflow: visible;
        margin-bottom: 1rem;
    }

    #dateFieldsContainer .date-fields {
        width: 100%;
        overflow: visible;
    }

    /* Specific fix for flights and packages date fields */
    #flightsDates,
    #packagesDates {
        width: 100%;
        overflow: visible;
    }

    /* NEW APPROACH: Use date-row class for side by side layout */
    .date-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 1.2rem !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        align-items: start !important;
    }

    .date-row .form-group {
        flex: 1 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .date-row .form-group input {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Phone input group in form-row */
    .form-row .phone-input-group {
        display: flex;
        gap: 0.5rem;
        align-items: stretch;
    }

    .form-row .phone-input-group .form-input {
        flex: 1;
        min-width: 0;
    }

    .form-row .phone-input-group .btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Smaller sector field */
    #sector {
        max-width: 150px !important;
        width: 150px !important;
    }


    /* Compact search button */
    #searchCustomerBtn {
        padding: 0.375rem 0.5rem !important;
        min-width: auto !important;
        width: auto !important;
    }

    #searchCustomerBtn i {
        font-size: 0.875rem !important;
    }


    .info-box {
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
        border-radius: 6px;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .info-box p {
        margin: 0;
        color: var(--gray-600);
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Date field animations */
    .date-fields {
        transition: all 0.3s ease;
        opacity: 1;
        transform: translateY(0);
    }

    .date-fields[style*="display: none"] {
        opacity: 0;
        transform: translateY(-10px);
    }

    /* Form actions - COMPACT VERSION */
    .form-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }

    /* Trip Confirmation Popup Styles */
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        padding: 1rem;
    }

    .popup-content {
        background: white;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        max-width: 800px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        animation: popupSlideIn 0.3s ease;
    }

    @keyframes popupSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--gray-200);
        background: linear-gradient(135deg, var(--primary-color), #4f46e5);
        color: white;
        border-radius: 16px 16px 0 0;
    }

    .popup-header h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .popup-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .popup-body {
        padding: 2rem;
    }

    .enquiry-summary {
        background: var(--gray-50);
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 2rem;
        border: 1px solid var(--gray-200);
    }

    .enquiry-summary h4 {
        margin: 0 0 1rem 0;
        color: var(--gray-800);
        font-size: 1.25rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Payment Popup Specific Styles */
    .payment-summary {
        background: var(--gray-50);
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 2rem;
        border: 1px solid var(--gray-200);
    }

    .payment-summary h4 {
        margin: 0 0 1rem 0;
        color: var(--gray-800);
        font-size: 1.25rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .payment-form {
        margin-top: 1.5rem;
    }

    .payment-form .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .payment-form .form-group.full-width {
        grid-column: 1 / -1;
    }

    .payment-form .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid var(--gray-200);
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

    .payment-form .form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    }

    .payment-form .form-input:invalid {
        border-color: var(--danger-color);
    }

    .payment-form label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--gray-700);
        font-size: 0.9rem;
    }

    .payment-form .popup-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        padding-top: var(--spacing-lg);
        border-top: 1px solid var(--gray-200);
    }

    /* Search Container Styles */
    .search-container {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .search-container .form-input {
        flex: 1;
    }

    .search-container .btn {
        white-space: nowrap;
    }

    /* Payment Form Styles */
    .payment-form {
        margin-top: 1.5rem;
    }

    /* Table Visibility and Styling - COMPACT PROFESSIONAL VERSION */
    .table-container {
        overflow-x: auto;
        margin: 0.75rem 0;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }

    .data-table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border-radius: 6px;
        overflow: hidden;
        min-width: 1200px; /* Increased minimum width for better column visibility */
    }

    .data-table thead {
        background: linear-gradient(135deg, var(--accent-color), var(--warning-color));
        color: white;
    }

    .data-table th {
        padding: 0.75rem 0.5rem;
        text-align: left;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        border: none;
    }

    .data-table td {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--gray-200);
        vertical-align: middle;
    }

    .data-table tbody tr:hover {
        background-color: var(--gray-50);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }

    .data-table tbody tr:last-child td {
        border-bottom: none;
    }

    /* Status badges - COMPACT VERSION */
    .status-badge {
        padding: 0.2rem 0.5rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.2px;
    }

    .status-completed {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success-color);
        border: 1px solid var(--success-color);
    }

    .status-pending {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning-color);
        border: 1px solid var(--warning-color);
    }

    .status-failed {
        background: rgba(220, 38, 38, 0.1);
        color: var(--danger-color);
        border: 1px solid var(--danger-color);
    }

    .status-refunded {
        background: rgba(99, 102, 241, 0.1);
        color: var(--info-color);
        border: 1px solid var(--info-color);
    }

    /* Action buttons in tables - COMPACT VERSION */
    .action-buttons {
        display: flex;
        gap: 0.25rem;
        align-items: center;
    }

    .btn-sm {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 4px;
    }

    /* No data styling */
    .no-data {
        text-align: center;
        padding: 3rem 1rem;
        color: var(--gray-500);
    }

    .no-data i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .no-data p {
        font-size: 1.1rem;
        margin: 0.5rem 0;
        font-weight: 500;
    }

    .no-data small {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    /* Enhanced Responsive Table Styling */
    @media (max-width: 768px) {
        .table-container {
            margin: 0.5rem 0;
            border-radius: 12px;
        }
        
        .data-table {
            min-width: 500px;
            font-size: 0.8rem;
        }
        
        .data-table th,
        .data-table td {
            padding: 0.75rem 0.5rem;
            font-size: 0.8rem;
        }
        
        .data-table th {
            font-size: 0.7rem;
            padding: 0.6rem 0.5rem;
        }
        
        /* Mobile column adjustments */
        .data-table th:nth-child(1),
        .data-table td:nth-child(1) {
            width: 40px;
            min-width: 40px;
        }
        
        .data-table th:nth-child(2),
        .data-table td:nth-child(2) {
            min-width: 80px;
        }
        
        .data-table th:nth-child(3),
        .data-table td:nth-child(3) {
            min-width: 70px;
        }
        
        .data-table th:nth-child(4),
        .data-table td:nth-child(4) {
            min-width: 80px;
        }
        
        .data-table th:nth-child(5),
        .data-table td:nth-child(5) {
            min-width: 70px;
        }
        
        .data-table th:nth-child(6),
        .data-table td:nth-child(6) {
            min-width: 80px;
        }
        
        .data-table th:nth-child(7),
        .data-table td:nth-child(7) {
            min-width: 80px;
        }
        
        .data-table th:nth-child(8),
        .data-table td:nth-child(8) {
            min-width: 70px;
        }
        
        .data-table th:nth-child(9),
        .data-table td:nth-child(9) {
            min-width: 70px;
        }
        
        .data-table th:nth-child(10),
        .data-table td:nth-child(10) {
            min-width: 80px;
        }
        
        .actions {
            gap: 0.25rem;
        }
        
        .actions .btn {
            min-width: 28px;
            height: 28px;
            font-size: 0.7rem;
        }
        
        .status-badge {
            padding: 0.3rem 0.6rem;
            font-size: 0.65rem;
        }
        
        .action-buttons {
            flex-direction: column;
            gap: 0.2rem;
        }
        
        .btn-sm {
            padding: 0.35rem 0.5rem;
            font-size: 0.7rem;
        }
        
        .page-header {
            padding: 1rem;
        }
        
        .page-header h1 {
            font-size: 1.25rem;
        }
        
        .info-cards {
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }
        
        .info-card {
            padding: 0.75rem;
        }
    }

    /* Trip Details Modal - Simplified */
    .trip-details-container {
        padding: 0.5rem 0;
    }

    /* Trip Overview */
    .trip-overview {
        background: var(--gray-50);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid var(--gray-200);
    }

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

    .overview-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .overview-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--gray-600);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .overview-value {
        font-size: 1rem;
        color: var(--gray-800);
        font-weight: 500;
    }

    .overview-value.booking-id {
        font-family: 'Orbitron', monospace;
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    /* Financial Summary */
    .financial-summary {
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid var(--gray-200);
    }

    .summary-header h3 {
        margin: 0 0 1rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .summary-header h3 i {
        color: var(--primary-color);
    }

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

    .summary-item {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .summary-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--gray-600);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .summary-value {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--gray-800);
    }

    .summary-value.total {
        color: var(--gray-800);
        font-weight: 700;
    }

    .summary-value.received {
        color: var(--success-color);
    }

    .summary-value.pending {
        color: var(--danger-color);
        font-weight: 700;
    }

    /* Trip Costs */
    .trip-costs {
        background: white;
        border-radius: 8px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid var(--gray-200);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .costs-header h3 {
        margin: 0 0 1rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .costs-header h3 i {
        color: var(--warning-color);
    }

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

    .cost-item {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .cost-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--gray-600);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .cost-value {
        font-size: 1rem;
        font-weight: 500;
        color: var(--gray-800);
    }

    .cost-value.qtc {
        color: var(--success-color);
        font-weight: 600;
    }

    .cost-value.net-to-us {
        color: var(--primary-color);
        font-weight: 600;
    }

    .cost-value.service-fee {
        color: var(--warning-color);
        font-weight: 600;
    }

    /* Payment History */
    .payment-history {
        background: white;
        border-radius: 8px;
        padding: 1.5rem;
        border: 1px solid var(--gray-200);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .history-header h3 {
        margin: 0 0 1rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .history-header h3 i {
        color: var(--info-color);
    }

    .history-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .history-item {
        background: var(--gray-50);
        border-radius: 6px;
        padding: 1rem;
        border: 1px solid var(--gray-200);
    }

    .history-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .history-date {
        font-size: 0.9rem;
        color: var(--gray-600);
        font-weight: 500;
    }

    .history-amount {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--success-color);
    }

    .history-details {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .history-method {
        color: var(--primary-color);
        font-weight: 600;
        font-size: 0.85rem;
    }

    .history-reference {
        color: var(--gray-600);
        font-family: monospace;
        background: var(--gray-100);
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        font-size: 0.8rem;
    }

    /* No Payments State */
    .no-payments {
        text-align: center;
        padding: 2rem;
        color: var(--gray-500);
        background: var(--gray-50);
        border: 1px dashed var(--gray-300);
        border-radius: 8px;
    }

    .no-payments-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        color: var(--gray-400);
    }

    .no-payments-text {
        margin: 0;
        font-size: 0.95rem;
    }

    .trip-section {
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: var(--gray-50);
        border-radius: 4px;
        border-left: 2px solid var(--primary-color);
    }

    .trip-section h3 {
        margin: 0 0 0.5rem 0;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .trip-section h3 i {
        color: var(--primary-color);
        font-size: 1rem;
    }

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

    .trip-field {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    .trip-field label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--gray-600);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .trip-field span {
        font-size: 0.85rem;
        color: var(--gray-800);
        font-weight: 500;
    }

    .booking-id-display {
        font-family: 'Orbitron', monospace;
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .amount {
        font-weight: 600;
        font-size: 1rem;
    }

    .amount.qtc {
        color: var(--success-color);
    }

    .amount.net-to-us {
        color: var(--primary-color);
    }

    .amount.service-fee {
        color: var(--warning-color);
    }

    .amount.total {
        color: var(--gray-800);
        font-weight: 700;
    }

    .amount.received {
        color: var(--success-color);
    }

    .amount.pending {
        color: var(--danger-color);
        font-weight: 700;
    }

    /* Loading State */
    .loading-state {
        text-align: center;
        padding: 2rem 1.5rem;
        color: var(--gray-600);
    }

    .loading-state i {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 0.75rem;
    }

    .loading-state p {
        font-size: 1.1rem;
        margin: 0;
        font-weight: 500;
    }







    /* Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
    }

    .modal-content {
        background-color: white;
        margin: 2% auto;
        padding: 0;
        border-radius: 12px;
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--gray-200);
        background: linear-gradient(135deg, var(--primary-color), #4f46e5);
        color: white;
        border-radius: 12px 12px 0 0;
    }

    .modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .modal-header .close {
        color: white;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
        line-height: 1;
        transition: all 0.2s ease;
    }

    .modal-header .close:hover {
        color: var(--gray-200);
        transform: scale(1.1);
    }

    .modal-body {
        padding: 2rem;
    }

    /* Responsive Modal */
    @media (max-width: 768px) {
        .modal-content {
            width: 95%;
            margin: 5% auto;
        }
        
        .modal-header {
            padding: 1rem 1.5rem;
        }
        
        .modal-header h2 {
            font-size: 1.25rem;
        }
        
        .modal-body {
            padding: 1.5rem;
        }
        
        .trip-section {
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .trip-grid {
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }
        
        .trip-actions {
            flex-direction: column;
            gap: 0.75rem;
        }
        

    }

    /* Ensure content cards are properly spaced - COMPACT VERSION */
    .content-card {
        margin-bottom: 1.5rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .content-card:last-child {
        margin-bottom: 0;
    }

    /* Card header styling - COMPACT VERSION */
    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        background: var(--gray-50);
    }

    .card-header h2 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--gray-800);
    }

    .card-actions {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    /* Search box styling - COMPACT VERSION */
    .search-box {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-box input {
        padding: 0.5rem 0.75rem;
        padding-right: 2.5rem;
        border: 1px solid var(--gray-200);
        border-radius: 6px;
        font-size: 0.9rem;
        min-width: 200px;
    }

    .search-box i {
        position: absolute;
        right: 0.75rem;
        color: var(--gray-400);
        pointer-events: none;
    }

    .payment-form .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .payment-form .form-group.full-width {
        grid-column: 1 / -1;
    }

    .payment-form .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid var(--gray-200);
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

    .payment-form .form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    }

    .payment-form .form-input:invalid {
        border-color: var(--danger-color);
    }

    .payment-form .form-input:disabled {
        background-color: var(--gray-100);
        cursor: not-allowed;
    }

    .payment-form label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--gray-700);
        font-size: 0.9rem;
    }

    .payment-form .form-help {
        display: block;
        margin-top: 0.25rem;
        font-size: 0.8rem;
        color: var(--gray-600);
    }

    .payment-form .form-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        padding-top: var(--spacing-lg);
        border-top: 1px solid var(--gray-200);
        margin-top: 2rem;
    }

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

    .summary-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .summary-item label {
        font-weight: 600;
        color: var(--gray-600);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .summary-item span {
        color: var(--gray-800);
        font-size: 1rem;
        padding: 0.5rem;
        background: white;
        border-radius: 6px;
        border-left: 3px solid var(--primary-color);
    }

    .trip-form {
        margin-top: 1rem;
    }

    .popup-actions {
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
        padding-top: 2rem;
        border-top: 1px solid var(--gray-200);
        margin-top: 2rem;
    }

    /* Alert messages */
    .alert {
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
        margin-bottom: var(--spacing-lg);
        display: flex;
        align-items: flex-start;
        gap: var(--spacing-sm);
        font-weight: 500;
    }

    .alert-success {
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid var(--success-color);
        color: var(--success-color);
    }

    .alert-error {
        background: rgba(220, 38, 38, 0.1);
        border: 1px solid var(--danger-color);
        color: var(--danger-color);
    }

    .alert ul {
        margin: var(--spacing-xs) 0 0 0;
        padding-left: var(--spacing-lg);
    }

    .alert li {
        margin-bottom: var(--spacing-xs);
    }

    /* Form validation styles */
    .form-input:required:invalid {
        border-color: var(--danger-color);
    }

    .form-input:required:valid {
        border-color: var(--success-color);
    }

    /* Required field asterisk */
    .required {
        color: #e74c3c;
        font-weight: bold;
        margin-left: 3px;
    }

    /* Responsive form */
    @media (max-width: 768px) {
        .form-grid {
            grid-template-columns: 1fr;
            gap: var(--spacing-md);
        }
        
        .form-actions {
            flex-direction: column;
            align-items: stretch;
        }
        
        .form-actions .btn {
            width: 100%;
            text-align: center;
        }
    }

    /* Enhanced focus states */
    .form-input:focus {
        transform: translateY(-2px);
        box-shadow: 
            0 0 0 3px rgba(99, 102, 241, 0.1),
            0 8px 25px rgba(99, 102, 241, 0.15);
    }

    /* Hover effects */
    .form-input:hover:not(:focus) {
        border-color: var(--gray-300);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Status dropdown styling */
    .form-input[name="status"] {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
        appearance: none;
    }

    /* Loading state for form submission */
    .form-submitting {
        opacity: 0.7;
        pointer-events: none;
    }

    .form-submitting .btn[type="submit"] {
        position: relative;
    }

    .form-submitting .btn[type="submit"]::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin-left: -8px;
        margin-top: -8px;
        border: 2px solid transparent;
        border-top: 2px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Person fields styling */
    .form-group[for*="adults"],
    .form-group[for*="children"],
    .form-group[for*="infants"] {
        position: relative;
    }

    .form-group[for*="adults"]::before,
    .form-group[for*="children"]::before,
    .form-group[for*="infants"]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.02));
        border-radius: var(--radius-md);
        pointer-events: none;
        z-index: -1;
    }

    .form-group[for*="adults"] .form-input {
        border-color: rgba(99, 102, 241, 0.3);
        background: rgba(255, 255, 255, 0.9);
    }

    .form-group[for*="children"] .form-input {
        border-color: rgba(16, 185, 129, 0.3);
        background: rgba(255, 255, 255, 0.9);
    }

    .form-group[for*="infants"] .form-input {
        border-color: rgba(245, 158, 11, 0.3);
        background: rgba(255, 255, 255, 0.9);
    }

    .form-group[for*="adults"] .form-input:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

    .form-group[for*="children"] .form-input:focus {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    .form-group[for*="infants"] .form-input:focus {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }

    /* Person field icons */
    .form-group[for*="adults"] label i {
        color: #6366f1;
    }

    .form-group[for*="children"] label i {
        color: #10b981;
    }

    .form-group[for*="infants"] label i {
        color: #f59e0b;
    }

    /* Person field hover effects */
    .form-group[for*="adults"] .form-input:hover {
        border-color: rgba(99, 102, 241, 0.5);
        transform: translateY(-1px);
    }

    .form-group[for*="children"] .form-input:hover {
        border-color: rgba(16, 185, 129, 0.5);
        transform: translateY(-1px);
    }

    .form-group[for*="infants"] .form-input:hover {
        border-color: rgba(245, 158, 11, 0.5);
        transform: translateY(-1px);
    }

    /* Validation message styles */
    .validation-message {
        font-size: 0.85rem;
        margin-top: var(--spacing-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
        border-radius: var(--radius-sm);
        font-weight: 500;
        animation: slideInUp 0.3s ease;
    }

    .validation-success {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success-color);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .validation-error {
        background: rgba(220, 38, 38, 0.1);
        color: var(--danger-color);
        border: 1px solid rgba(220, 38, 38, 0.3);
    }

    /* Enhanced input validation states */
    .form-input.valid {
        border-color: var(--success-color) !important;
        background: rgba(16, 185, 129, 0.05);
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    .form-input.invalid {
        border-color: var(--danger-color) !important;
        background: rgba(220, 38, 38, 0.05);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    /* Phone number specific validation */
    .form-input[name="number"].valid {
        border-color: #10b981 !important;
        background: rgba(16, 185, 129, 0.05);
    }

    .form-input[name="number"].invalid {
        border-color: #dc2626 !important;
        background: rgba(220, 38, 38, 0.05);
    }

    /* Travel date specific validation */
    .form-input[name="travelDate"].valid {
        border-color: #10b981 !important;
        background: rgba(16, 185, 129, 0.05);
    }

    .form-input[name="travelDate"].invalid {
        border-color: #dc2626 !important;
        background: rgba(220, 38, 38, 0.05);
    }

    /* Validation animation */
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Enhanced focus states for validation */
    .form-input.valid:focus {
        border-color: var(--success-color) !important;
        box-shadow: 
            0 0 0 3px rgba(16, 185, 129, 0.1),
            0 8px 25px rgba(16, 185, 129, 0.15);
    }

    .form-input.invalid:focus {
        border-color: var(--danger-color) !important;
        box-shadow: 
            0 0 0 3px rgba(220, 38, 38, 0.1),
            0 8px 25px rgba(220, 38, 38, 0.15);
    }

    /* Phone number field enhancement */
    .form-group label[for="number"]::after {
        content: ' (10 digits, starts with 6-9)';
        font-size: 0.8rem;
        color: var(--gray-500);
        font-weight: 400;
    }

    /* Travel date field enhancement */
    .form-group label[for="travelDate"]::after {
        content: ' (future date, max 2 years)';
        font-size: 0.8rem;
        color: var(--gray-500);
        font-weight: 400;
    }

    /* Person count styling */
    .person-count {
        display: inline-block;
        padding: 4px 8px;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.85rem;
        text-align: center;
        min-width: 24px;
    }

    .person-count.adults {
        background: rgba(99, 102, 241, 0.1);
        color: #6366f1;
        border: 1px solid rgba(99, 102, 241, 0.3);
    }

    .person-count.children {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
        border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .person-count.infants {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
        border: 1px solid rgba(245, 158, 11, 0.3);
    }

    /* Enhanced status badges */
    .status-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        min-width: 80px;
    }

    .status-new {
        background: rgba(99, 102, 241, 0.1);
        color: #6366f1;
        border: 1px solid rgba(99, 102, 241, 0.3);
    }

    .status-contacted {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
        border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .status-quoted {
        background: rgba(168, 85, 247, 0.1);
        color: #a855f7;
        border: 1px solid rgba(168, 85, 247, 0.3);
    }

    .status-confirmed {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
        border: 1px solid rgba(16, 185, 129, 0.3);
    }

    /* Text muted styling */
    .text-muted {
        color: var(--gray-500);
        font-style: italic;
        font-size: 0.85rem;
    }

    /* Enhanced table styling */
    .data-table tbody tr:hover {
        background: rgba(99, 102, 241, 0.02);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .data-table tbody tr:hover .person-count {
        transform: scale(1.1);
        transition: transform 0.2s ease;
    }

    .data-table tbody tr:hover .status-badge {
        transform: scale(1.05);
        transition: transform 0.2s ease;
    }

    /* Total people display styling */
    .total-people-display {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
        background: rgba(99, 102, 241, 0.05);
        border-radius: var(--radius-md);
        border: 1px solid rgba(99, 102, 241, 0.1);
    }

    .total-people-display .person-count {
        margin: 0 2px;
        font-size: 0.8rem;
        padding: 3px 6px;
        min-width: 20px;
    }

    .total-people-display .person-count.adults {
        background: rgba(99, 102, 241, 0.15);
        color: #6366f1;
        border: 1px solid rgba(99, 102, 241, 0.4);
    }

    .total-people-display .person-count.children {
        background: rgba(16, 185, 129, 0.15);
        color: #10b981;
        border: 1px solid rgba(16, 185, 129, 0.4);
    }

    .total-people-display .person-count.infants {
        background: rgba(245, 158, 11, 0.15);
        color: #f59e0b;
        border: 1px solid rgba(245, 158, 11, 0.4);
    }

    .total-count {
        font-size: 0.75rem;
        color: var(--gray-700);
        padding: 4px 8px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: var(--radius-sm);
        border: 1px solid var(--gray-200);
        margin-top: 2px;
    }

    .total-count strong {
        color: var(--gray-800);
    }

    /* Hover effects for total people display */
    .data-table tbody tr:hover .total-people-display {
        background: rgba(99, 102, 241, 0.08);
        border-color: rgba(99, 102, 241, 0.2);
        transform: scale(1.02);
        transition: all 0.2s ease;
    }

    .data-table tbody tr:hover .total-people-display .person-count {
        transform: scale(1.05);
        transition: transform 0.2s ease;
    }

    /* Service badge styling */
    .service-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: 0.8rem;
        text-align: center;
        min-width: 80px;
        background: rgba(99, 102, 241, 0.1);
        color: #6366f1;
        border: 1px solid rgba(99, 102, 241, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .service-badge:hover {
        transform: scale(1.05);
        transition: transform 0.2s ease;
        background: rgba(99, 102, 241, 0.15);
        border-color: rgba(99, 102, 241, 0.5);
    }



    /* Enhanced services field styling */
    .form-input[name="services"] {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
        appearance: none;
    }

    /* Customer page styling */
    .customer-name strong {
        color: var(--gray-800);
        font-weight: 600;
    }

    .customer-email {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
    }

    .customer-email:hover {
        text-decoration: underline;
        color: var(--primary-color-dark);
    }

    .customer-phone {
        color: var(--success-color);
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
    }

    .customer-phone:hover {
        color: var(--success-color-dark);
        transform: translateX(2px);
        transition: all 0.2s ease;
    }

    /* Empty state styling */
    .empty-state {
        text-align: center;
        padding: var(--spacing-xl);
        color: var(--gray-500);
    }

    .empty-state i {
        color: var(--gray-400);
        margin-bottom: var(--spacing-md);
    }

    .empty-state h3 {
        color: var(--gray-600);
        margin-bottom: var(--spacing-sm);
    }

    .empty-state p {
        margin-bottom: var(--spacing-lg);
        font-size: 1rem;
    }

    /* Customer status badges */
    .status-badge.status-active {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
        border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .status-badge.status-inactive {
        background: rgba(156, 163, 175, 0.1);
        color: #9ca3af;
        border: 1px solid rgba(156, 163, 175, 0.3);
    }

    .status-badge.status-vip {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
        border: 1px solid rgba(245, 158, 11, 0.3);
    }

    /* Text center utility */
    .text-center {
        text-align: center;
    }



    /* Serial number styling */

    /* Enquiry Details Page Styles */
    .enquiry-details {
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .detail-section {
        padding: 2rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .detail-section:last-child {
        border-bottom: none;
    }

    .detail-section h3 {
        color: var(--gray-800);
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .detail-section h3 i {
        color: var(--primary-color);
        font-size: 1.1rem;
    }

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

    .detail-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-item.full-width {
        grid-column: 1 / -1;
    }

    .detail-item label {
        font-weight: 600;
        color: var(--gray-600);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .detail-value {
        color: var(--gray-800);
        font-size: 1rem;
        padding: 0.75rem;
        background: var(--gray-50);
        border-radius: 8px;
        border-left: 4px solid var(--primary-color);
    }

    .phone-link {
        color: var(--primary-color);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

    .phone-link:hover {
        color: var(--primary-dark);
        transform: translateX(4px);
    }

    .message-content {
        background: var(--gray-50);
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid var(--primary-color);
        line-height: 1.6;
        white-space: pre-line;
    }

    /* Edit Enquiry Form Styles */
    .form-container {
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .enquiry-form {
        max-width: 100%;
    }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .form-group.full-width {
        grid-column: 1 / -1;
        margin-bottom: var(--spacing-lg);
        min-height: auto;
    }

    .form-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }

    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        font-weight: 600;
    }

    /* Delete Confirmation Styles */
    .delete-confirmation {
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .confirmation-header {
        background: linear-gradient(135deg, #fef3c7, #fde68a);
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid #f59e0b;
    }

    .confirmation-header .warning-icon {
        font-size: 3rem;
        color: #f59e0b;
        margin-bottom: 1rem;
    }

    .confirmation-header h2 {
        color: #92400e;
        margin-bottom: 1rem;
        font-size: 1.75rem;
    }

    .confirmation-header p {
        color: #92400e;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .enquiry-summary {
        padding: 2rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .enquiry-summary h3 {
        color: var(--gray-800);
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

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

    .summary-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .summary-item label {
        font-weight: 600;
        color: var(--gray-600);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .summary-item span {
        color: var(--gray-800);
        font-size: 1rem;
        padding: 0.5rem;
        background: var(--gray-50);
        border-radius: 6px;
        border-left: 3px solid var(--primary-color);
    }

    .warning-message {
        padding: 2rem;
        background: #fef2f2;
        border-left: 4px solid #ef4444;
    }

    .warning-message h4 {
        color: #dc2626;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .warning-message ul {
        color: #991b1b;
        margin-left: 1.5rem;
    }

    .warning-message li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

    .delete-actions {
        padding: 2rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
        background: var(--gray-50);
    }

    .delete-actions form {
        display: flex;
        gap: 1rem;
    }









    /* Responsive adjustments */
    @media (max-width: 768px) {
        .detail-grid {
            grid-template-columns: 1fr;
        }
        
        .form-grid {
            grid-template-columns: 1fr;
        }
        
        .form-actions {
            flex-direction: column;
        }
        
        .delete-actions form {
            flex-direction: column;
            width: 100%;
        }
        
        .summary-grid {
            grid-template-columns: 1fr;
        }
        
        /* Popup responsive adjustments */
        .popup-content {
            margin: 1rem;
            max-height: 95vh;
        }
        
        .popup-header {
            padding: 1rem 1.5rem;
        }
        
        .popup-header h3 {
            font-size: 1.25rem;
        }
        
        .popup-body {
            padding: 1.5rem;
        }
        
        .popup-actions {
            flex-direction: column;
        }
        
        .popup-actions .btn {
            width: 100%;
        }
    }

    /* ========================================
    SIMPLIFIED LOGS STYLES
    ======================================== */

    .logs-container {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .logs-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 1.5rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logs-header h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .logs-stats {
        display: flex;
        gap: 1.5rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .empty-logs {
        text-align: center;
        padding: 4rem 2rem;
        color: #666;
    }

    .empty-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .empty-logs h3 {
        margin: 0 0 0.5rem 0;
        color: #333;
        font-size: 1.5rem;
    }

    .empty-logs p {
        margin: 0;
        font-size: 1rem;
    }

    .logs-list {
        max-height: 70vh;
        overflow-y: auto;
    }

    .log-item {
        display: flex;
        align-items: center;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
        position: relative;
    }

    .log-item:hover {
        background: #f8f9ff;
        transform: translateX(4px);
    }

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

    .log-main {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        flex: 1;
    }

    .log-time {
        text-align: center;
        min-width: 80px;
        padding: 0.5rem;
        background: #f8f9fa;
        border-radius: 8px;
        border-left: 4px solid #667eea;
    }

    .log-date {
        font-weight: 600;
        color: #333;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .log-time-text {
        color: #666;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .log-content {
        flex: 1;
        min-width: 0;
    }

    .log-action {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .action-text {
        font-weight: 600;
        color: #333;
        font-size: 1rem;
    }

    .log-details {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }

    .log-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 0.8rem;
    }

    .log-user {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #666;
    }

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

    .log-level.info {
        background: #e3f2fd;
        color: #1976d2;
    }

    .log-level.warning {
        background: #fff3e0;
        color: #f57c00;
    }

    .log-level.error {
        background: #ffebee;
        color: #d32f2f;
    }

    .log-level.debug {
        background: #f3e5f5;
        color: #7b1fa2;
    }

    .log-actions {
        display: flex;
        gap: 0.5rem;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .log-item:hover .log-actions {
        opacity: 1;
    }

    .action-btn {
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.9rem;
    }

    .view-btn {
        background: #e3f2fd;
        color: #1976d2;
    }

    .view-btn:hover {
        background: #1976d2;
        color: white;
        transform: scale(1.1);
    }

    .copy-btn {
        background: #f3e5f5;
        color: #7b1fa2;
    }

    .copy-btn:hover {
        background: #7b1fa2;
        color: white;
        transform: scale(1.1);
    }

    .delete-btn {
        background: #ffebee;
        color: #d32f2f;
    }

    .delete-btn:hover {
        background: #d32f2f;
        color: white;
        transform: scale(1.1);
    }

    /* Log level specific styling */
    .log-item.log-info {
        border-left: 4px solid #1976d2;
    }

    .log-item.log-warning {
        border-left: 4px solid #f57c00;
    }

    .log-item.log-error {
        border-left: 4px solid #d32f2f;
    }

    .log-item.log-debug {
        border-left: 4px solid #7b1fa2;
    }

    /* Responsive design for logs */
    @media (max-width: 768px) {
        .logs-header {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        .logs-stats {
            justify-content: center;
        }
        
        .log-item {
            flex-direction: column;
            align-items: stretch;
            gap: 1rem;
        }
        
        .log-main {
            flex-direction: column;
            gap: 1rem;
        }
        
        .log-time {
            align-self: flex-start;
            min-width: auto;
        }
        
        .log-actions {
            opacity: 1;
            justify-content: center;
        }
        
        .action-btn {
            flex: 1;
            max-width: 100px;
        }
    }

    /* Filter improvements for logs */
    .filters-section {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        border: 1px solid #e9ecef;
    }

    .filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .filters-header h3 {
        margin: 0;
        color: #333;
        font-size: 1.2rem;
    }

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

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-group label {
        font-weight: 500;
        color: #555;
        font-size: 0.9rem;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 0.9rem;
        transition: border-color 0.2s ease;
    }

    .filter-group select:focus,
    .filter-group input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    /* Enhanced Modern Table Styling - Override existing styles */
    .table-container {
        overflow-x: auto;
        margin: 1.5rem 0;
        border-radius: 12px;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.08),
            0 1px 3px rgba(0, 0, 0, 0.1);
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
    }

    .table-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        border-radius: 12px 12px 0 0;
    }

    .data-table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        min-width: 1200px;
        font-size: 0.9rem;
        position: relative;
    }

    .data-table thead {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .data-table th {
        padding: 1rem 1.2rem;
        text-align: left;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #374151;
        border-bottom: 2px solid #e5e7eb;
        position: relative;
    }

    .data-table th::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .data-table th:hover::after {
        transform: scaleX(1);
    }

    .data-table td {
        padding: 1rem 1.2rem;
        border-bottom: 1px solid #f3f4f6;
        vertical-align: middle;
        color: #4b5563;
        transition: all 0.2s ease;
    }

    .data-table tbody tr {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .data-table tbody tr:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
        transform: translateY(-2px);
        box-shadow: 
            0 8px 25px rgba(102, 126, 234, 0.15),
            0 4px 12px rgba(0, 0, 0, 0.1);
        border-left: 4px solid #667eea;
    }

    .data-table tbody tr:hover td {
        color: #1f2937;
        font-weight: 500;
    }

    .data-table tbody tr:nth-child(even) {
        background: rgba(248, 250, 252, 0.5);
    }

    .data-table tbody tr:nth-child(even):hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    }

    /* Enhanced Action Buttons */
    .data-table .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .data-table .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .data-table .btn-primary {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
    }

    .data-table .btn-danger {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
    }

    .data-table .btn-info {
        background: linear-gradient(135deg, #06b6d4, #0891b2);
        color: white;
    }

    .data-table .btn-success {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
    }

    /* Enhanced Status Badges */
    .data-table .status-badge {
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .data-table .status-badge::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

    /* Responsive Table Improvements */
    @media (max-width: 768px) {
        .data-table th,
        .data-table td {
            padding: 0.75rem 0.5rem;
            font-size: 0.8rem;
        }
        
        .data-table .btn {
            padding: 0.4rem 0.8rem;
            font-size: 0.7rem;
        }
    }
}

/* ========================================
   📱 MOBILE RESPONSIVENESS IMPROVEMENTS
   ======================================== */

/* Mobile Navigation Grid Fixes */
@media (max-width: 768px) {
    .nav-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
        max-width: 100%;
    }
    
    .nav-item {
        min-height: 80px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .nav-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }
    
    .nav-item span {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--gray-700);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* Dashboard specific mobile fixes */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stat-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
        margin: 0.5rem 0;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Mobile Header Improvements */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-left {
        text-align: center;
    }
    
    .header-right {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-notifications {
        position: relative;
        top: auto;
        right: auto;
    }
    
    .notification-bell {
        width: 44px;
        height: 44px;
    }
    
    .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
}

/* Mobile Container and Content */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 0;
        max-width: 100%;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
    }
}

/* Mobile Cards and Content Areas */
@media (max-width: 768px) {
    .card {
        margin: 1rem 0;
        border-radius: 12px;
        padding: 1.5rem;
    }
    
    .card-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .welcome-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .welcome-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .welcome-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Mobile Tables */
@media (max-width: 768px) {
    .data-table {
        font-size: 0.8rem;
        overflow-x: auto;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    .data-table .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    /* Hide less important columns on mobile */
    .data-table .mobile-hide {
        display: none;
    }
}

/* Mobile Forms */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        min-height: 44px; /* Touch-friendly */
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Modals */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
}

/* Mobile Pagination */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .page-link {
        padding: 0.75rem 1rem;
        min-width: 44px;
        text-align: center;
    }
}

/* Mobile Filters */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-group {
        margin-bottom: 1rem;
    }
    
    .filter-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .filter-group select,
    .filter-group input {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }
}

/* Mobile Stats Grid */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
        text-align: center;
    }
    
    .stat-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin: 0.25rem 0;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Mobile Quick Actions */
@media (max-width: 768px) {
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .action-buttons .btn {
        padding: 1rem;
        font-size: 0.9rem;
        min-height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .action-buttons .btn i {
        font-size: 1.2rem;
    }
}

/* Mobile Calendar */
@media (max-width: 768px) {
    .calendar-section {
        margin: 1rem 0;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .calendar-controls {
        justify-content: center;
        gap: 1rem;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 0.25rem;
    }
    
    .calendar-day {
        min-height: 40px;
        font-size: 0.8rem;
    }
    
    .upcoming-events {
        margin-top: 1rem;
    }
}

/* Mobile Notifications */
@media (max-width: 768px) {
    .notification-panel {
        top: 60px;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }
    
    .notification-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .notification-content p {
        font-size: 0.9rem;
    }
    
    .notification-content small {
        font-size: 0.8rem;
    }
}

/* Mobile FAB (Floating Action Button) */
@media (max-width: 768px) {
    .fab-container {
        bottom: 2rem;
        right: 2rem;
    }
    
    .fab-button {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .fab-menu {
        bottom: 70px;
        right: 0;
        gap: 1rem;
    }
    
    .fab-item {
        padding: 1rem;
        min-width: 120px;
    }
    
    .fab-item i {
        font-size: 1.2rem;
    }
    
    .fab-item span {
        font-size: 0.9rem;
    }
}

/* Mobile Profile Menu */
@media (max-width: 768px) {
    .profile-menu {
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }
    
    .profile-menu-item {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Mobile Logs */
@media (max-width: 768px) {
    .log-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .log-time {
        min-width: auto;
        text-align: left;
    }
    
    .log-content {
        flex: 1;
    }
    
    .log-actions {
        justify-content: flex-end;
        gap: 0.5rem;
    }
    
    .action-btn {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Mobile Events */
@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .event-info {
        flex: 1;
    }
    
    .event-actions {
        justify-content: flex-end;
    }
}

/* Mobile Utilities */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .visible-mobile {
        display: block;
    }
    
    .full-width-mobile {
        width: 100%;
    }
    
    .stack-mobile {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Very Small Screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .nav-item {
        min-height: 70px;
        padding: 0.75rem;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    .nav-item span {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 1rem;
        font-size: 1rem;
    }
}