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

        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --primary-light: #eef2ff;
            --secondary: #7209b7;
            --success: #2ec4b6;
            --warning: #ff9f1c;
            --danger: #e71d36;
            --info: #17a2b8;
            --exchange: #8b5cf6;
            --booking: #10b981;
            --car-color: #4361ee;
            --bike-color: #ff9f1c;
            --tractor-color: #2ec4b6;
            --threewheeler-color: #8b5cf6;
            --exchange-color: #9333ea;
            --booking-color: #059669;
            --white: #ffffff;
            --light: #f8fafc;
            --light-gray: #e2e8f0;
            --gray: #94a3b8;
            --dark-gray: #64748b;
            --dark: #1e293b;
            --black: #0f172a;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-card: #ffffff;
            --bg-hover: #f1f5f9;
            --border-light: #e2e8f0;
            --border: #cbd5e1;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-light: #94a3b8;
            --font-primary: 'Inter', sans-serif;
            --font-heading: 'Poppins', sans-serif;
            --radius-sm: 0.375rem;
            --radius: 0.5rem;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.5rem;
            --radius-full: 9999px;
            --transition-fast: 150ms ease;
            --transition: 250ms ease;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            --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);
        }

        body {
            font-family: var(--font-primary);
            font-size: 14px;
            line-height: 1.5;
            color: var(--text-primary);
            background: var(--bg-primary);
            transition: background-color var(--transition), color var(--transition);
            overflow-x: hidden;
        }

        /* ==========================================================================
           Screen Management
           ========================================================================== */
        .screen {
            display: none;
            min-height: 100vh;
        }

        .screen.active {
            display: block;
        }

        /* ==========================================================================
           App Header Styles
           ========================================================================== */
        .app-header {
            background: var(--bg-card);
            border-bottom: 1px solid var(--border-light);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

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

        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--primary);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
        }

        .logo-text h1 {
            font-size: 1.25rem;
            margin: 0;
        }

        .logo-subtitle {
            font-size: 0.75rem;
            color: var(--text-light);
        }

        .main-nav {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .nav-btn {
            padding: 0.75rem 1rem;
            background: none;
            border: none;
            border-radius: var(--radius);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all var(--transition);
            position: relative;
            font-size: 0.875rem;
        }

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

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

        .nav-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: var(--danger);
            color: white;
            font-size: 0.625rem;
            padding: 0.125rem 0.375rem;
            border-radius: var(--radius-full);
            min-width: 18px;
            text-align: center;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .user-dropdown {
            position: relative;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem;
            background: none;
            border: none;
            border-radius: var(--radius);
            cursor: pointer;
            transition: all var(--transition);
        }

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

        .user-avatar {
            width: 36px;
            height: 36px;
            background: var(--primary-light);
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
        }

        .user-info {
            text-align: left;
        }

        .user-name {
            font-weight: 600;
            color: var(--text-primary);
            display: block;
        }

        .user-role {
            font-size: 0.75rem;
            color: var(--text-light);
        }

        .dropdown-menu {
            position: absolute;
            top: calc(100% + 0.5rem);
            left: 0;
            right: 0;
            width: 100%;
            min-width: 180px;
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            display: none;
            z-index: 1000;
        }

        .user-dropdown:hover .dropdown-menu {
            display: block;
        }

        .user-dropdown.open .dropdown-menu {
            display: block;
        }

        .dropdown-item {
            width: 100%;
            padding: 0.75rem 1rem;
            background: none;
            border: none;
            text-align: left;
            cursor: pointer;
            transition: all var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

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

        /* ==========================================================================
           App Content
           ========================================================================== */
        .app-content {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .section {
            display: none;
        }

        .section.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

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

        .date-picker {
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            border-radius: var(--radius);
            color: var(--text-secondary);
        }

        /* ==========================================================================
           Stats Grid
           ========================================================================== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }

        .stat-label {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }

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

        /* ==========================================================================
           Dashboard Grid
           ========================================================================== */
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-top: 2rem;
        }

        .dashboard-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .card-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border-light);
        }

        .card-header h3 {
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .card-body {
            padding: 1.5rem;
        }

        /* ==========================================================================
           Tables
           ========================================================================== */
        .table-container {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            overflow-x: auto;
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
        }

        .data-table th {
            padding: 1rem;
            text-align: left;
            background: var(--bg-secondary);
            font-weight: 600;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border-light);
        }

        .data-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--border-light);
        }

        .data-table tbody tr {
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .data-table tbody tr:hover {
            background: var(--bg-hover);
        }

        /* ==========================================================================
           Status Badges
           ========================================================================== */
        .status-badge {
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
        }

        .status-new {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
        }

        .status-followup {
            background: rgba(255, 159, 28, 0.1);
            color: var(--warning);
        }

        .status-hot {
            background: rgba(231, 29, 54, 0.1);
            color: var(--danger);
        }

        .status-booking {
            background: rgba(16, 185, 129, 0.1);
            color: var(--booking);
        }

        .status-closed {
            background: rgba(46, 196, 182, 0.1);
            color: var(--success);
        }

        .status-lost {
            background: rgba(108, 117, 125, 0.1);
            color: var(--dark-gray);
        }

        .status-overdue {
            background: rgba(220, 53, 69, 0.1);
            color: var(--danger);
            animation: pulse 2s infinite;
        }

        .status-intervention {
            background: rgba(255, 193, 7, 0.1);
            color: var(--warning);
            border-left: 3px solid var(--warning);
        }

        @keyframes pulse {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }

            100% {
                opacity: 1;
            }
        }

        /* ==========================================================================
           Vehicle Badges
           ========================================================================== */
        .vehicle-badge {
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
        }

        .vehicle-badge.car {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
        }

        .vehicle-badge.bike {
            background: rgba(255, 159, 28, 0.1);
            color: var(--warning);
        }

        .vehicle-badge.tractor {
            background: rgba(46, 196, 182, 0.1);
            color: var(--success);
        }

        .vehicle-badge.threewheeler {
            background: rgba(114, 9, 183, 0.1);
            color: var(--secondary);
        }

        .vehicle-badge.exchange {
            background: rgba(147, 51, 234, 0.1);
            color: var(--exchange-color);
        }

        /* ==========================================================================
           Forms
           ========================================================================== */
        .enquiry-form {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 2rem;
        }

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

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group.full-width {
            grid-column: span 2;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .required::after {
            content: " *";
            color: var(--danger);
        }

        .form-control {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            font-size: 0.875rem;
            transition: all var(--transition);
            font-family: var(--font-primary);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
        }

        .form-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        /* ==========================================================================
           Search and Filter Bar Styles
           ========================================================================== */
        .search-filter-bar {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            align-items: center;
            background: var(--bg-card);
            padding: 1rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
        }

        .search-box {
            flex: 2;
            min-width: 250px;
            position: relative;
        }

        .search-box i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
        }

        .search-box input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            font-size: 0.875rem;
            transition: all var(--transition);
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .filter-group {
            flex: 1;
            min-width: 150px;
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .filter-group select {
            flex: 1;
            padding: 0.75rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            font-size: 0.875rem;
            background: white;
            cursor: pointer;
        }

        .filter-group select:focus {
            outline: none;
            border-color: var(--primary);
        }

        .clear-filters {
            padding: 0.75rem 1.5rem;
            background: var(--bg-secondary);
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition);
            font-weight: 500;
        }

        .clear-filters:hover {
            background: var(--bg-hover);
            border-color: var(--gray);
        }

        .results-count {
            margin-left: auto;
            color: var(--text-light);
            font-size: 0.875rem;
        }

        /* ==========================================================================
           Buttons
           ========================================================================== */
        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-family: var(--font-primary);
        }

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

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

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

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

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

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

        .btn-ai:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            opacity: 0.95;
        }

        .btn-success:hover {
            background: #25a79c;
        }

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

        .btn-warning:hover {
            background: #e68900;
        }

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

        .btn-danger:hover {
            background: #c81e32;
        }

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

        .btn-exchange:hover {
            background: #7e22ce;
        }

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

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn-upgrade {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            animation: pulse 2s infinite;
        }

        .btn-upgrade:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* ==========================================================================
           Remarks History button
           ========================================================================== */
        .btn-secondary {
            background: #6c757d;
            color: white;
        }

        .btn-secondary:hover {
            background: #5a6268;
        }

        /* ==========================================================================
           Subscription Banner
           ========================================================================== */
        .subscription-banner {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1rem 2rem;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .subscription-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .subscription-info i {
            font-size: 2rem;
        }

        .subscription-details {
            display: flex;
            flex-direction: column;
        }

        .subscription-status {
            font-size: 1.25rem;
            font-weight: 600;
        }

        .subscription-expiry {
            font-size: 0.875rem;
            opacity: 0.9;
        }

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

        /* ==========================================================================
           Booking Section Styles - NEW
           ========================================================================== */
        .booking-section {
            background: rgba(16, 185, 129, 0.05);
            border-left: 4px solid var(--booking);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
        }

        .booking-section h4 {
            color: var(--booking);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .booking-section h4 i {
            font-size: 1.25rem;
        }

        .booking-amount-input {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .booking-amount-input .currency-symbol {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--booking);
        }

        .booking-amount-input input {
            flex: 1;
        }

        /* ==========================================================================
           Modals
           ========================================================================== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
        }

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

        .modal-header h3 {
            margin: 0;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-light);
        }

        .modal-body {
            padding: 1.5rem;
        }

        .modal-footer {
            padding: 1.5rem;
            border-top: 1px solid var(--border-light);
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }

        /* ==========================================================================
           Exchange Section Styles
           ========================================================================== */
        .exchange-section {
            background: rgba(147, 51, 234, 0.05);
            border-left: 4px solid var(--exchange-color);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
        }

        .exchange-section h4 {
            color: var(--exchange-color);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .exchange-section h4 i {
            font-size: 1.25rem;
        }

        .toggle-switch {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-bottom: 1rem;
            padding: 0.5rem 0;
        }

        .toggle-switch label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            font-size: 1rem;
        }

        .toggle-switch input[type="radio"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        /* ==========================================================================
           Intervention Items
           ========================================================================== */
        .intervention-item {
            padding: 1rem;
            border-left: 4px solid var(--warning);
            background: var(--bg-secondary);
            border-radius: var(--radius);
            margin-bottom: 1rem;
        }

        .intervention-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .intervention-customer {
            font-weight: 600;
        }

        .intervention-priority {
            padding: 0.25rem 0.5rem;
            border-radius: var(--radius-full);
            font-size: 0.625rem;
            font-weight: 600;
        }

        .priority-high {
            background: var(--danger);
            color: white;
        }

        .priority-medium {
            background: var(--warning);
            color: white;
        }

        .priority-low {
            background: var(--success);
            color: white;
        }

        .intervention-message {
            margin: 0.5rem 0;
            font-style: italic;
        }

        .intervention-meta {
            font-size: 0.75rem;
            color: var(--text-light);
            display: flex;
            gap: 1rem;
        }

        /* ==========================================================================
           Report Cards
           ========================================================================== */
        .reports-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .report-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
        }

        .report-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .report-icon {
            width: 64px;
            height: 64px;
            background: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .report-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .report-desc {
            color: var(--text-light);
            font-size: 0.875rem;
        }

        /* ==========================================================================
           Analytics Cards
           ========================================================================== */
        .analytics-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .analytics-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
        }

        .analytics-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }

        .analytics-label {
            color: var(--text-light);
            font-size: 0.875rem;
        }

        .analytics-progress {
            height: 8px;
            background: var(--bg-secondary);
            border-radius: var(--radius-full);
            overflow: hidden;
            margin: 1rem 0;
        }

        .progress-bar {
            height: 100%;
            background: var(--primary);
            border-radius: var(--radius-full);
        }

        /* ==========================================================================
           Follow-up Items
           ========================================================================== */
        .followup-item {
            padding: 1rem;
            border-bottom: 1px solid var(--border-light);
        }

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

        .stat-item {
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-light);
        }

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

        /* ==========================================================================
           Owner-only elements
           ========================================================================== */
        .owner-only {
            display: none;
        }

        body.role-owner .owner-only {
            display: block;
        }

        body.role-owner .owner-only.nav-btn {
            display: flex;
        }

        /* ==========================================================================
           Landing Page
           ========================================================================== */
        .landing-page {
            min-height: 100vh;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .landing-header {
            padding: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: white;
        }

        .landing-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .landing-logo i {
            font-size: 2rem;
        }

        .landing-logo h1 {
            font-size: 1.5rem;
            margin: 0;
            color: white;
        }

        .landing-nav {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .landing-nav button {
            color: white;
            border-color: white;
            background: transparent;
        }

        .landing-nav .btn-primary {
            background: white;
            color: var(--primary);
            border: none;
        }

        .landing-hero {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            color: white;
        }

        .hero-content h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: white;
        }

        .hero-content p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat .number {
            font-size: 2rem;
            font-weight: 700;
        }

        .hero-stat .label {
            font-size: 0.875rem;
            opacity: 0.8;
        }

        .hero-image i {
            font-size: 15rem;
            color: rgba(255, 255, 255, 0.2);
        }

        /* ==========================================================================
           Registration Container
           ========================================================================== */
        .registration-container {
            max-width: 900px;
            margin: 40px auto;
            padding: 2rem;
            background: var(--bg-card);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            border: 1px solid var(--border-light);
        }

        .registration-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo-badge {
            width: 60px;
            height: 60px;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-badge i {
            font-size: 2rem;
            color: var(--white);
        }

        /* ==========================================================================
           Progress Bar
           ========================================================================== */
        .registration-progress {
            display: flex;
            justify-content: space-between;
            margin-bottom: 3rem;
            position: relative;
        }

        .progress-step {
            flex: 1;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--bg-secondary);
            border: 2px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            font-weight: 600;
            color: var(--text-secondary);
            transition: all var(--transition);
        }

        .progress-step.active .step-number {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .progress-step.completed .step-number {
            background: var(--success);
            border-color: var(--success);
            color: white;
        }

        .step-label {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .progress-step.active .step-label {
            color: var(--primary);
            font-weight: 600;
        }

        .progress-line {
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--border);
            z-index: 1;
        }

        .progress-fill {
            position: absolute;
            top: 20px;
            left: 0;
            height: 2px;
            background: var(--success);
            transition: width 0.3s ease;
            z-index: 1;
        }

        /* ==========================================================================
           Registration Steps
           ========================================================================== */
        .registration-step {
            display: none;
        }

        .registration-step.active {
            display: block;
        }

        /* ==========================================================================
           Form Styles
           ========================================================================== */
        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-primary);
        }

        .form-control {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            font-size: 1rem;
            transition: all var(--transition);
            background: var(--bg-secondary);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--bg-primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }

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

        /* ==========================================================================
           Vehicle Grid
           ========================================================================== */
        .vehicle-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .vehicle-card {
            padding: 1.5rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius-lg);
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
            background: var(--bg-card);
        }

        .vehicle-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .vehicle-card.selected {
            border-color: var(--primary);
            background: var(--primary-light);
        }

        .vehicle-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .vehicle-card.car .vehicle-icon {
            color: var(--car-color);
        }

        .vehicle-card.bike .vehicle-icon {
            color: var(--bike-color);
        }

        .vehicle-card.tractor .vehicle-icon {
            color: var(--tractor-color);
        }

        .vehicle-card.threewheeler .vehicle-icon {
            color: var(--threewheeler-color);
        }

        .vehicle-name {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .vehicle-desc {
            color: var(--text-light);
            font-size: 0.75rem;
        }

        /* ==========================================================================
           Selected Badges
           ========================================================================== */
        .selected-badges {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin: 1rem 0;
        }

        .vehicle-badge {
            padding: 0.5rem 1rem;
            border-radius: var(--radius-full);
            font-size: 0.875rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .vehicle-badge.car {
            background: rgba(67, 97, 238, 0.1);
            color: var(--car-color);
        }

        .vehicle-badge.bike {
            background: rgba(255, 159, 28, 0.1);
            color: var(--bike-color);
        }

        .vehicle-badge.tractor {
            background: rgba(46, 196, 182, 0.1);
            color: var(--tractor-color);
        }

        .vehicle-badge.threewheeler {
            background: rgba(139, 92, 246, 0.1);
            color: var(--threewheeler-color);
        }

        /* ==========================================================================
           Brand Cards with Models
           ========================================================================== */
        .brands-section {
            margin: 1.5rem 0;
        }

        .brand-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .brand-header {
            padding: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            cursor: pointer;
            background: var(--bg-secondary);
            transition: all var(--transition-fast);
        }

        .brand-header:hover {
            background: var(--bg-hover);
        }

        .brand-card.selected .brand-header {
            background: var(--primary-light);
            border-bottom: 1px solid var(--primary);
        }

        .brand-logo {
            width: 40px;
            height: 40px;
            background: var(--white);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            color: var(--primary);
        }

        .brand-info {
            flex: 1;
        }

        .brand-info strong {
            display: block;
            margin-bottom: 0.25rem;
        }

        .brand-info small {
            color: var(--text-light);
        }

        .brand-arrow {
            transition: transform var(--transition);
        }

        .brand-card.selected .brand-arrow {
            transform: rotate(180deg);
        }

        .brand-models {
            padding: 1rem;
            display: none;
        }

        .brand-card.selected .brand-models {
            display: block;
        }

        .models-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
            max-height: 200px;
            overflow-y: auto;
            padding: 0.5rem;
        }

        .model-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            border-radius: var(--radius-full);
            border: 1px solid var(--border-light);
        }

        .model-item span {
            font-size: 0.875rem;
        }

        .model-item button {
            padding: 0.25rem;
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            transition: color var(--transition-fast);
        }

        .model-item button:hover {
            color: var(--danger);
        }

        .add-model-section {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .add-model-section .input-group {
            display: flex;
            gap: 0.5rem;
            flex: 1;
        }

        .add-model-section .form-control {
            flex: 1;
        }

        /* ==========================================================================
           Plan Card
           ========================================================================== */
        .plan-card {
            background: var(--bg-card);
            border: 2px solid var(--primary);
            border-radius: var(--radius-lg);
            padding: 2rem;
            margin: 2rem 0;
            position: relative;
        }

        .plan-badge {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 0.5rem 2rem;
            border-radius: var(--radius-full);
            font-weight: 600;
        }

        .plan-price {
            text-align: center;
            margin: 1.5rem 0;
        }

        .plan-amount {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary);
        }

        .plan-period {
            font-size: 1rem;
            color: var(--text-light);
        }

        .plan-saving {
            background: var(--success);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius-full);
            display: inline-block;
            margin-top: 0.5rem;
        }

        .plan-features {
            margin: 2rem 0;
        }

        .plan-feature {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-light);
        }

        .plan-feature i {
            color: var(--success);
        }

        /* ==========================================================================
           Payment Methods
           ========================================================================== */
        .payment-methods {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin: 2rem 0;
        }

        .payment-method {
            padding: 1rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
        }

        .payment-method:hover {
            border-color: var(--primary);
        }

        .payment-method.selected {
            border-color: var(--primary);
            background: var(--primary-light);
        }

        .payment-method i {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        /* ==========================================================================
           Buttons
           ========================================================================== */
        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

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

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

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

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

        .btn-lg {
            padding: 1rem 2rem;
            font-size: 1rem;
        }

        .btn-block {
            width: 100%;
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

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

        .btn-upgrade {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            cursor: pointer;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: var(--shadow-md);
        }

        .btn-upgrade:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-upgrade i {
            font-size: 1rem;
        }

        /* ==========================================================================
           Trial Banner
           ========================================================================== */
        .trial-banner {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
        }

        .trial-banner i {
            font-size: 2rem;
            margin-right: 1rem;
        }

        .trial-countdown {
            background: rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1rem;
            border-radius: var(--radius-full);
            font-weight: 600;
        }

        /* ==========================================================================
           Bank Details
           ========================================================================== */
        .bank-details {
            background: var(--bg-secondary);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 1.5rem 0;
        }

        /* ==========================================================================
           Loading & Toast
           ========================================================================== */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(4px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .loading-overlay.active {
            display: flex;
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 4px solid var(--border-light);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        .toast-container {
            position: fixed;
            top: 1rem;
            right: 1rem;
            z-index: 10000;
        }

        .toast {
            padding: 1rem 1.5rem;
            background: var(--bg-card);
            border-left: 4px solid var(--primary);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            animation: slideIn 0.3s ease;
        }

        .toast.success {
            border-left-color: var(--success);
        }

        .toast.error {
            border-left-color: var(--danger);
        }

        .toast.warning {
            border-left-color: var(--warning);
        }

        .toast.info {
            border-left-color: var(--info);
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* ==========================================================================
           Payment Modal
           ========================================================================== */
        #payment-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10001;
            align-items: center;
            justify-content: center;
        }

        #payment-modal.active {
            display: flex;
        }

        .payment-modal-content {
            background: white;
            border-radius: var(--radius-lg);
            padding: 2rem;
            max-width: 400px;
            width: 90%;
            text-align: center;
        }

        /* ==========================================================================
           Password Display
           ========================================================================== */
        .password-display {
            background: var(--bg-secondary);
            padding: 1rem;
            border-radius: var(--radius);
            margin: 1rem 0;
            text-align: center;
            font-family: monospace;
            font-size: 1.25rem;
            border: 2px dashed var(--primary);
        }

        .password-label {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }

        /* Password visibility toggle */
        .password-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .password-wrapper input {
            flex: 1;
            padding-right: 40px;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            font-size: 1.1rem;
        }

        .toggle-password:hover {
            color: var(--primary);
        }

        /* ==========================================================================
           Responsive
           ========================================================================== */
        @media (max-width: 1024px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

            .analytics-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-grid {
                grid-template-columns: 1fr;
            }

            .reports-grid {
                grid-template-columns: 1fr;
            }

            .analytics-stats {
                grid-template-columns: 1fr;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

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

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

            .nav-btn {
                flex: 1 1 calc(50% - 0.5rem);
            }

            .landing-hero {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-stats {
                justify-content: center;
            }

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

            .payment-methods {
                grid-template-columns: 1fr;
            }

            .registration-progress {
                flex-direction: column;
                gap: 1rem;
            }

            .progress-step {
                display: flex;
                align-items: center;
                gap: 1rem;
            }

            .step-number {
                margin: 0;
            }

            .progress-line,
            .progress-fill {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .nav-btn {
                flex: 1 1 100%;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .vehicle-grid {
                grid-template-columns: 1fr;
            }

            .reports-grid {
                grid-template-columns: 1fr;
            }

            .analytics-stats {
                grid-template-columns: 1fr;
            }
        }

        /* Force only one section to be visible */
        .section {
            display: none !important;
        }

        .section.active {
            display: block !important;
        }

        /* Ensure proper layout */
        #app .app-content {
            position: relative;
        }

        .section {
            position: relative;
            width: 100%;
        }

        /* Next 10 Days Styles */
        .date-range {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .urgent-badge {
            background: rgba(231, 29, 54, 0.1);
            color: var(--danger);
            animation: pulse 2s infinite;
        }

        .soon-badge {
            background: rgba(255, 159, 28, 0.1);
            color: var(--warning);
        }

        .normal-badge {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
        }

        .quick-edit-group {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .quick-edit-group select,
        .quick-edit-group input {
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
        }

        /* Day-wise Accordion Styles */
        .day-accordion {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .day-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            cursor: pointer;
            transition: all var(--transition-fast);
            background: var(--bg-secondary);
        }

        .day-header:hover {
            background: var(--bg-hover);
        }

        .day-header.active {
            background: var(--primary-light);
            border-bottom: 1px solid var(--border-light);
        }

        .day-title {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .day-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .day-date {
            font-size: 0.875rem;
            color: var(--text-light);
        }

        .day-stats {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .day-count {
            background: var(--primary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
        }

        .day-urgent-count {
            background: var(--danger);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
        }

        .day-arrow {
            transition: transform var(--transition-fast);
            color: var(--text-light);
        }

        .day-header.active .day-arrow {
            transform: rotate(180deg);
        }

        .day-content {
            display: none;
            padding: 1.5rem;
            border-top: 1px solid var(--border-light);
        }

        .day-content.active {
            display: block;
        }

        .day-table {
            width: 100%;
            border-collapse: collapse;
        }

        .day-table th {
            text-align: left;
            padding: 0.75rem;
            background: var(--bg-secondary);
            font-weight: 600;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .day-table td {
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-light);
            font-size: 0.875rem;
        }

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

        .day-table tr:hover {
            background: var(--bg-hover);
        }

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

        /* Trial Expiration Overlay */
        .trial-expired-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .trial-expired-overlay.active {
            display: flex;
        }

        .trial-expired-modal {
            background: var(--bg-card);
            border-radius: var(--radius-xl);
            padding: 2rem;
            max-width: 450px;
            width: 90%;
            text-align: center;
            box-shadow: var(--shadow-xl);
            animation: fadeIn 0.3s ease;
            border: 2px solid var(--danger);
            position: relative;
            z-index: 1000000;
        }

        .trial-expired-icon {
            width: 80px;
            height: 80px;
            background: rgba(231, 29, 54, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .trial-expired-icon i {
            font-size: 3rem;
            color: var(--danger);
        }

        .trial-expired-modal h2 {
            color: var(--danger);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .trial-expired-modal p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .trial-expired-modal .btn-upgrade {
            pointer-events: auto !important;
            cursor: pointer !important;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .trial-expired-modal .btn-upgrade:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .trial-expired-modal .expiry-date {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-light);
        }

        /* Disabled pointer events for main content when trial expired */
        .trial-blocked {
            pointer-events: none;
            opacity: 0.3;
            user-select: none;
        }

        .main-content-blocked {
            pointer-events: none;
            opacity: 0.3;
        }

        /* ==========================================================================
   Mobile Responsive Fixes - Add at the end of your style section
   ========================================================================== */

        /* Mobile viewport meta already exists, now fix layouts */

        @media (max-width: 768px) {

            /* Header adjustments */
            .app-header {
                padding: 0.75rem;
            }

            .header-container {
                flex-direction: column;
                gap: 0.75rem;
            }

            .logo {
                justify-content: center;
                width: 100%;
            }

            .logo-text h1 {
                font-size: 1rem;
            }

            /* Navigation - Make it scrollable horizontally */
            .main-nav {
                display: flex;
                overflow-x: auto;
                overflow-y: hidden;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
                gap: 0.25rem;
                padding: 0.5rem 0;
                width: 100%;
                flex-wrap: nowrap;
            }
            
            .main-nav::-webkit-scrollbar {
                height: 3px;
            }

            .main-nav::-webkit-scrollbar-track {
                background: var(--border-light);
                border-radius: 10px;
            }

            .main-nav::-webkit-scrollbar-thumb {
                background: var(--primary);
                border-radius: 10px;
            }

            .nav-btn {
                flex: 0 0 auto;
                padding: 0.5rem 0.75rem;
                font-size: 0.7rem;
                white-space: nowrap;
            }

            .nav-btn .nav-text {
                display: inline-block;
            }

            .nav-badge {
                position: static;
                margin-left: 0.25rem;
                font-size: 0.6rem;
                padding: 0.125rem 0.375rem;
            }

            /* Header right section */
            .header-right {
                width: 100%;
                justify-content: space-between;
            }

            .btn-upgrade {
                padding: 0.35rem 0.75rem;
                font-size: 0.7rem;
            }

            .user-profile {
                padding: 0.25rem;
            }

            .user-avatar {
                width: 28px;
                height: 28px;
                font-size: 0.75rem;
            }

            .user-info {
                display: none;
            }

            /* App content */
            .app-content {
                padding: 0.75rem;
                margin: 0.5rem auto;
            }

            /* Section headers */
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
                margin-bottom: 1rem;
            }

            .section-header h2 {
                font-size: 1.2rem;
            }

            /* Stats grid - 2 columns on tablet, 1 on mobile */
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
            }

            @media (max-width: 480px) {
                .stats-grid {
                    grid-template-columns: 1fr;
                }
            }

            .stat-card {
                padding: 0.75rem;
            }

            .stat-icon {
                width: 36px;
                height: 36px;
                font-size: 1rem;
                margin-bottom: 0.5rem;
            }

            .stat-value {
                font-size: 1.5rem;
            }

            /* Dashboard grid */
            .dashboard-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            /* Tables - Make scrollable horizontally */
            .table-container {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .data-table {
                min-width: 600px;
            }

            .data-table th,
            .data-table td {
                padding: 0.5rem;
                font-size: 0.75rem;
                white-space: nowrap;
            }

            /* Forms */
            .enquiry-form {
                padding: 1rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

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

            .form-control {
                padding: 0.6rem;
                font-size: 0.85rem;
            }

            .form-actions {
                flex-direction: column;
                gap: 0.5rem;
            }

            .form-actions .btn {
                width: 100%;
            }

            /* Buttons */
            .btn {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
            }

            .btn-sm {
                padding: 0.2rem 0.5rem;
                font-size: 0.7rem;
            }

            /* Search and filter bar */
            .search-filter-bar {
                flex-direction: column;
                align-items: stretch;
                padding: 0.75rem;
                gap: 0.75rem;
            }

            .search-box {
                width: 100%;
            }

            .filter-group {
                width: 100%;
            }

            .filter-group select {
                width: 100%;
            }

            .clear-filters {
                width: 100%;
                text-align: center;
            }

            .results-count {
                text-align: center;
                margin-left: 0;
            }

            /* Subscription banner */
            .subscription-banner {
                flex-direction: column;
                text-align: center;
                padding: 0.75rem;
                gap: 0.75rem;
            }

            .subscription-info {
                justify-content: center;
            }

            /* Cards */
            .card-header {
                padding: 0.75rem;
            }

            .card-header h3 {
                font-size: 0.95rem;
            }

            .card-body {
                padding: 0.75rem;
            }

            /* Follow-up items */
            .followup-item {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 0.5rem;
            }

            .followup-item>div:first-child {
                width: 100%;
            }

            /* Day-wise accordion for Next 10 Days */
            .day-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
                padding: 0.75rem;
            }

            .day-stats {
                width: 100%;
                justify-content: space-between;
            }

            .day-table {
                min-width: 500px;
            }

            .day-table th,
            .day-table td {
                padding: 0.5rem;
                font-size: 0.7rem;
            }

            /* Modals */
            .modal-content {
                width: 95%;
                margin: 1rem;
                max-height: 90vh;
            }

            .modal-header {
                padding: 0.75rem;
            }

            .modal-header h3 {
                font-size: 1rem;
            }

            .modal-body {
                padding: 0.75rem;
            }

            .modal-footer {
                padding: 0.75rem;
                flex-direction: column;
                gap: 0.5rem;
            }

            .modal-footer .btn {
                width: 100%;
            }

            /* Plan card */
            .plan-card {
                padding: 1rem;
                margin: 1rem 0;
            }

            .plan-amount {
                font-size: 2rem;
            }

            .plan-feature {
                font-size: 0.8rem;
                padding: 0.5rem 0;
            }

            /* Payment methods */
            .payment-methods {
                grid-template-columns: 1fr;
                gap: 0.5rem;
            }

            /* Reports grid */
            .reports-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            .report-card {
                padding: 1rem;
            }

            /* Analytics stats */
            .analytics-stats {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            /* Vehicle grid */
            .vehicle-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
            }

            @media (max-width: 480px) {
                .vehicle-grid {
                    grid-template-columns: 1fr;
                }
            }

            /* Registration progress */
            .registration-progress {
                flex-direction: column;
                gap: 0.5rem;
            }

            .progress-step {
                display: flex;
                align-items: center;
                gap: 0.75rem;
            }

            .step-number {
                margin: 0;
            }

            .progress-line,
            .progress-fill {
                display: none;
            }

            /* Form rows */
            .form-row {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            /* Toggle switch */
            .toggle-switch {
                flex-direction: column;
                gap: 0.5rem;
                align-items: flex-start;
            }

            /* Exchange section */
            .exchange-section,
            .booking-section {
                padding: 0.75rem;
            }

            /* Toast notifications */
            .toast-container {
                top: auto;
                bottom: 0.5rem;
                right: 0.5rem;
                left: 0.5rem;
            }

            .toast {
                width: calc(100% - 1rem);
                font-size: 0.8rem;
            }

            /* Dashboard cards spacing */
            .dashboard-card {
                margin-bottom: 0;
            }

            /* Today's follow-ups and interventions */
            #today-followups .followup-item,
            #pending-interventions .intervention-item {
                flex-direction: column;
                align-items: flex-start !important;
            }

            .intervention-header {
                flex-wrap: wrap;
                gap: 0.5rem;
            }

            /* Team table */
            #team-list td {
                white-space: normal;
                word-break: break-word;
            }

            /* Performance score badge */
            .performance-score {
                display: inline-block;
                margin-top: 0.25rem;
            }
        }

        /* Tablet view (768px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .dashboard-grid {
                grid-template-columns: 1fr;
            }

            .main-nav {
                flex-wrap: wrap;
                justify-content: center;
            }

            .nav-btn {
                flex: 1 0 auto;
                justify-content: center;
            }

            .app-content {
                padding: 1rem;
            }
        }

        /* Pamphlet Management Styles */
        .pamphlet-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
            max-height: 400px;
            overflow-y: auto;
            padding: 0.5rem;
        }

        .pamphlet-card {
            background: var(--bg-card);
            border: 2px solid var(--border-light);
            border-radius: var(--radius);
            cursor: pointer;
            transition: all var(--transition);
            text-align: center;
            padding: 0.75rem;
            position: relative;
        }

        .pamphlet-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .pamphlet-card.selected {
            border-color: var(--success);
            background: rgba(46, 196, 182, 0.1);
        }

        .pamphlet-card img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: var(--radius-sm);
            margin-bottom: 0.5rem;
        }

        .pamphlet-card .pamphlet-name {
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--text-primary);
        }

        .pamphlet-card .delete-pamphlet {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(231, 29, 54, 0.8);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            font-size: 0.7rem;
            cursor: pointer;
            display: none;
        }

        .pamphlet-card:hover .delete-pamphlet {
            display: block;
        }

        .pamphlet-preview {
            max-width: 100%;
            max-height: 200px;
            border-radius: var(--radius);
            margin: 1rem 0;
        }

        .whatsapp-preview-box {
            background: var(--bg-secondary);
            border-radius: var(--radius);
            padding: 1rem;
            margin: 1rem 0;
            font-size: 0.875rem;
        }

        .whatsapp-preview-box .message-preview {
            background: #dcf8c5;
            padding: 0.75rem;
            border-radius: var(--radius);
            margin-top: 0.5rem;
            max-height: 150px;
            overflow-y: auto;
        }

        .pamphlet-upload-area {
            border: 2px dashed var(--border-light);
            border-radius: var(--radius);
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
            margin-bottom: 1rem;
        }

        .pamphlet-upload-area:hover {
            border-color: var(--primary);
            background: var(--primary-light);
        }

        .pamphlet-upload-area.dragover {
            border-color: var(--success);
            background: rgba(46, 196, 182, 0.1);
        }

        .pamphlet-upload-area i {
            font-size: 3rem;
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        /* Pamphlet Management Section */
        .pamphlet-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .pamphlet-stat-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1rem;
            text-align: center;
        }

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

        .pamphlet-stat-card .stat-label {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        /* Fix for very small screens */
        @media (max-width: 360px) {
            .nav-btn {
                padding: 0.4rem 0.5rem;
                font-size: 0.65rem;
            }

            .stat-value {
                font-size: 1.2rem;
            }

            .section-header h2 {
                font-size: 1rem;
            }

            .btn-upgrade {
                padding: 0.3rem 0.6rem;
                font-size: 0.65rem;
            }
        }

        /* Landscape mode fix */
        @media (max-width: 850px) and (orientation: landscape) {
            .app-header {
                position: relative;
            }

            .main-nav {
                max-height: 60px;
                overflow-x: auto;
            }

            .modal-content {
                max-height: 85vh;
                overflow-y: auto;
            }
        }

        /* WhatsApp Button Styles */
        .btn-whatsapp {
            background: #25D366;
            color: white;
        }

        .btn-whatsapp:hover {
            background: #1da851;
            color: white;
            transform: scale(1.05);
        }

        /* Touch-friendly improvements */
        @media (max-width: 768px) {

            button,
            .nav-btn,
            .btn,
            .day-header,
            .brand-header,
            .data-table tbody tr {
                cursor: pointer;
                min-height: 44px;
                /* Better touch target */
            }

            input,
            select,
            textarea {
                font-size: 16px !important;
                /* Prevents zoom on iOS */
            }

            .data-table th,
            .data-table td {
                min-width: 80px;
            }
        }

        /* ======================================================================
           Premium left-aligned application navigation
           ====================================================================== */
        .app-header {
            background: rgba(255, 255, 255, 0.96);
            border-bottom-color: rgba(203, 213, 225, 0.85);
            box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
        }

        .header-container {
            display: grid;
            grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) auto;
            grid-template-areas: "identity navigation account";
            align-items: center;
            column-gap: 1.5rem;
        }

        .header-container > .logo {
            grid-area: identity;
            min-width: 0;
        }

        .main-nav {
            grid-area: navigation;
            justify-content: flex-start;
            align-items: center;
            min-width: 0;
            padding: 0.25rem;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            background: var(--bg-secondary);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .nav-btn {
            min-height: 42px;
            padding: 0.65rem 0.8rem;
            border: 1px solid transparent;
            border-radius: var(--radius);
            white-space: nowrap;
            font-weight: 500;
        }

        .nav-btn:hover {
            background: var(--white);
            border-color: var(--border-light);
            color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        .nav-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
        }

        .header-right {
            grid-area: account;
            justify-self: end;
        }

        @media (max-width: 1200px) {
            .header-container {
                grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
                grid-template-areas:
                    "identity account"
                    "navigation navigation";
                row-gap: 0.75rem;
            }

            .main-nav {
                overflow-x: auto;
                flex-wrap: nowrap;
                scrollbar-width: thin;
            }

            .main-nav::-webkit-scrollbar {
                height: 4px;
            }
        }

        @media (max-width: 768px) {
            .app-header {
                padding: 0.75rem;
            }

            .header-container {
                display: flex;
                align-items: stretch;
                gap: 0.65rem;
            }

            .header-container > .logo {
                order: 1;
            }

            .main-nav {
                order: 3;
                width: 100%;
                justify-content: flex-start;
                padding: 0.2rem;
            }

            .header-right {
                order: 2;
                margin-left: auto;
            }
        }

        /* ======================================================================
           Emerald visual system
           ====================================================================== */
        :root {
            --primary: #047857;
            --primary-dark: #065f46;
            --primary-light: #d1fae5;
            --secondary: #115e59;
            --success: #059669;
            --info: #0f766e;
            --exchange: #0d9488;
            --booking: #10b981;
            --car-color: #047857;
            --bike-color: #d97706;
            --tractor-color: #0f766e;
            --threewheeler-color: #0d9488;
            --exchange-color: #0f766e;
            --booking-color: #059669;
            --bg-secondary: #f0fdf4;
            --bg-hover: #ecfdf5;
            --border-light: #d1e7dc;
            --border: #a7c8b8;
            --text-primary: #16352b;
            --text-secondary: #527067;
            --text-light: #78958a;
        }

        body {
            background: #f3f8f5;
        }

        .app-header {
            background: rgba(255, 255, 255, 0.98);
            border-bottom-color: #cfe4d8;
        }

        .logo-icon,
        .nav-btn.active,
        .btn-primary {
            background: var(--primary);
        }

        .logo-icon {
            box-shadow: 0 6px 14px rgba(4, 120, 87, 0.2);
        }

        .main-nav {
            justify-content: flex-start;
            background: #f0fdf4;
            border-color: #cfe4d8;
        }

        .nav-btn:hover {
            color: var(--primary);
            background: #ffffff;
            border-color: #b7d8c6;
        }

        .nav-btn.active {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(4, 120, 87, 0.24);
        }

        .nav-badge {
            background: #dc2626;
        }

        .user-avatar,
        .report-icon,
        .vehicle-card.selected,
        .payment-method.selected {
            background: var(--primary-light);
            color: var(--primary);
        }

        .btn-upgrade,
        .subscription-banner,
        .trial-banner,
        .landing-page {
            background: linear-gradient(135deg, #047857 0%, #115e59 100%);
        }

        .btn-upgrade:hover,
        .btn-primary:hover {
            background: var(--primary-dark);
        }

        .status-new,
        .vehicle-badge.car,
        .vehicle-badge.threewheeler {
            background: rgba(4, 120, 87, 0.12);
            color: var(--primary-dark);
        }

        .status-booking,
        .vehicle-badge.tractor,
        .booking-section {
            background: rgba(5, 150, 105, 0.12);
            color: #047857;
        }

        .exchange-section {
            background: rgba(13, 148, 136, 0.1);
            border-left-color: var(--exchange-color);
        }

        .form-control:focus,
        .search-box input:focus,
        .filter-group select:focus,
        .payment-method:hover,
        .payment-method.selected,
        .vehicle-card.selected {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
        }

        .progress-fill,
        .progress-step.completed .step-number,
        .plan-saving {
            background: var(--success);
            border-color: var(--success);
        }

        .progress-step.active .step-number,
        .plan-badge,
        .plan-card {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .plan-card {
            background: var(--bg-card);
        }

        .plan-amount,
        .analytics-value,
        .step-label,
        .progress-step.active .step-label {
            color: var(--primary);
        }

        .pamphlet-card.selected,
        .pamphlet-upload-area:hover {
            border-color: var(--success);
            background: rgba(5, 150, 105, 0.1);
        }

        .day-header.active {
            background: var(--primary-light);
        }

        @media (max-width: 1200px) {
            .main-nav {
                justify-content: flex-start;
            }
        }

        /* ======================================================================
           Authenticated app shell: 20% emerald rail / 80% workspace
           ====================================================================== */
        #app.active {
            display: block;
            min-height: 100vh;
        }

        #app .app-header {
            position: fixed;
            inset: 0 auto 0 0;
            width: 20vw;
            min-width: 180px;
            max-width: 320px;
            height: 100vh;
            padding: 1.25rem 0.65rem;
            overflow-y: auto;
            overflow-x: visible;
            background: linear-gradient(180deg, #064e3b 0%, #022c22 100%);
            border: 0;
            box-shadow: 8px 0 28px rgba(2, 44, 34, 0.18);
            color: #ecfdf5;
        }

        #app .header-container {
            width: 100%;
            max-width: none;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 1.25rem;
        }

        #app .logo {
            flex-direction: column;
            justify-content: center;
            gap: 0.55rem;
            width: 100%;
            text-align: center;
        }

        #app .logo-icon {
            width: 42px;
            height: 42px;
            margin: 0 auto;
            background: #10b981;
            box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
        }

        #app .logo-text h1 {
            color: #ffffff;
            font-size: clamp(0.7rem, 1vw, 0.95rem);
            line-height: 1.15;
            overflow-wrap: anywhere;
        }

        #app .logo-subtitle {
            display: block;
            margin-top: 0.25rem;
            color: #a7f3d0;
            font-size: 0.6rem;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }

        #app .main-nav {
            display: flex;
            flex: 1;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 0.35rem;
            width: 100%;
            min-width: 0;
            padding: 0;
            overflow: visible;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

        #app .nav-btn,
        #app .nav-btn:hover,
        #app .nav-btn.active {
            width: 100%;
            min-height: 44px;
            padding: 0.6rem 0.45rem;
            justify-content: flex-start;
            border: 1px solid transparent;
            border-radius: 0.55rem;
            background: transparent;
            color: #a7f3d0;
            box-shadow: none;
            font-size: clamp(0.58rem, 0.72vw, 0.75rem);
            text-align: left;
        }

        #app .nav-btn i {
            flex: 0 0 18px;
            width: 18px;
            color: #6ee7b7;
            text-align: center;
        }

        #app .nav-btn:hover {
            background: rgba(167, 243, 208, 0.1);
            border-color: rgba(167, 243, 208, 0.16);
            color: #ffffff;
        }

        #app .nav-btn.active {
            background: #10b981;
            border-color: #34d399;
            color: #ffffff;
            box-shadow: 0 8px 18px rgba(16, 185, 129, 0.24);
        }

        #app .nav-btn.active i,
        #app .nav-btn:hover i {
            color: #ffffff;
        }

        #app .nav-text {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        #app .nav-badge {
            position: static;
            flex: 0 0 auto;
            min-width: 17px;
            margin-left: auto;
            padding: 0.1rem 0.3rem;
            background: #f97316;
            font-size: 0.58rem;
        }

        #app .header-right {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 0.75rem;
            width: 100%;
        }

        #app .header-right .btn-upgrade {
            justify-content: center;
            width: 100%;
            padding: 0.55rem 0.35rem;
            border-radius: 0.55rem;
            background: #f59e0b;
            font-size: clamp(0.52rem, 0.65vw, 0.7rem);
            text-align: center;
        }

        #app .user-profile {
            justify-content: center;
            width: 100%;
            padding: 0.35rem 0.1rem;
            color: #d1fae5;
        }

        #app .user-profile > .fa-chevron-down {
            display: none;
        }

        #app .user-avatar {
            width: 32px;
            height: 32px;
            background: rgba(167, 243, 208, 0.16);
            color: #a7f3d0;
        }

        #app .user-info {
            display: none;
        }

        #app .dropdown-menu {
            left: 0;
            right: 0;
            top: calc(100% + 0.35rem);
            bottom: auto;
            width: 100%;
            min-width: 0;
        }

        #app .app-content {
            width: 80vw;
            max-width: none;
            min-height: 100vh;
            margin: 0 0 0 20vw;
            padding: 2rem clamp(1rem, 3vw, 3rem);
        }

        @media (max-width: 900px) {
            #app .app-header {
                position: sticky;
                inset: 0 0 auto 0;
                width: 100%;
                min-width: 0;
                max-width: none;
                height: auto;
                max-height: none;
                padding: 0.7rem 0.75rem 0.55rem;
                overflow: visible;
            }

            #app .header-container {
                min-height: 0;
                gap: 0.55rem;
            }

            #app .logo {
                flex-direction: row;
                justify-content: flex-start;
                gap: 0.6rem;
                text-align: left;
            }

            #app .logo-icon {
                width: 34px;
                height: 34px;
                margin: 0;
            }

            #app .logo-text h1 {
                font-size: 0.95rem;
            }

            #app .logo-subtitle {
                display: block;
                max-width: 150px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            #app .main-nav {
                flex: 0 0 auto;
                flex-direction: row;
                align-items: center;
                gap: 0.3rem;
                width: 100%;
                max-width: 100%;
                padding: 0.15rem 0;
                overflow-x: auto;
                overflow-y: hidden;
                scrollbar-width: thin;
                -webkit-overflow-scrolling: touch;
            }

            #app .main-nav::-webkit-scrollbar {
                height: 3px;
            }

            #app .nav-btn,
            #app .nav-btn:hover,
            #app .nav-btn.active {
                flex: 0 0 auto;
                width: auto;
                min-height: 42px;
                justify-content: flex-start;
                padding: 0.55rem 0.7rem;
                font-size: 0.72rem;
            }

            #app .nav-btn i {
                flex-basis: 16px;
                width: 16px;
            }

            #app .nav-text,
            #app .nav-badge {
                display: inline-block;
            }

            #app .nav-badge {
                margin-left: 0.15rem;
            }

            #app .main-nav .nav-btn:first-child {
                margin-left: 0;
            }

            #app .main-nav .nav-btn:last-child {
                margin-right: 0.25rem;
            }

            #app .header-right {
                position: absolute;
                top: 0.7rem;
                right: 0.75rem;
                width: auto;
                flex-direction: row;
                align-items: center;
            }

            #app .header-right .btn-upgrade {
                display: none;
            }

            #app .user-profile {
                width: auto;
                padding: 0.2rem;
            }

            #app .user-info,
            #app .user-profile > .fa-chevron-down {
                display: none;
            }

            #app .app-content {
                width: 100%;
                margin-left: 0;
                padding: 1rem 0.75rem;
            }
        }

        @media (max-width: 600px) {
            #app .app-header {
                padding: 0.65rem 0.7rem 0.45rem;
            }

            #app .header-container {
                align-items: stretch;
            }

            #app .logo {
                min-height: 36px;
                padding-right: 2.75rem;
            }

            #app .main-nav {
                min-height: 48px;
                margin: 0 -0.1rem;
                padding: 0.2rem 0.1rem 0.35rem;
            }

            #app .nav-btn,
            #app .nav-btn:hover,
            #app .nav-btn.active {
                min-height: 42px;
            }

            #app .app-content {
                padding-top: 1.15rem;
            }
        }
    

            @keyframes fadeIn {
                from { opacity: 0; transform: scale(0.95); }
                to { opacity: 1; transform: scale(1); }
            }
        

                @keyframes slideDown {
                    from { transform: translateY(-100%); }
                    to { transform: translateY(0); }
                }
            

            @keyframes slideDown {
                from { transform: translateY(-100%); }
                to { transform: translateY(0); }
            }

            .nav-text{
                font-size: 1.0rem;
            }
        
