/* ============================================
   Bike Taxi Tracker - Main Stylesheet
   Modern Glassmorphism + Neon Design
   ============================================ */

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B85FF;
    --secondary: #FF6584;
    --accent: #00D9A6;
    --warning: #FFC107;
    --dark: #0a0a1a;
    --dark2: #12122a;
    --dark3: #1a1a3e;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #1a1a2e;
    --neon-glow: 0 0 20px rgba(108, 99, 255, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 217, 166, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 101, 132, 0.05) 0%, transparent 50%);
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ========== Glassmorphism Card ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.glass-card-static {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

/* ========== Neon Text ========== */
.neon-text {
    color: #fff;
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.5), 0 0 20px rgba(108, 99, 255, 0.3);
}

/* ========== Gradient Text ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Buttons ========== */
.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.4);
    color: #fff;
}

.btn-glow:active {
    transform: translateY(0);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-glow:hover::after {
    opacity: 1;
}

.btn-secondary-glow {
    background: var(--glass-bg);
    color: var(--text);
    border: 1px solid var(--glass-border);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary-glow:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
}

.btn-success-glow {
    background: linear-gradient(135deg, var(--accent), #00b894);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success-glow:hover {
    box-shadow: 0 0 30px rgba(0, 217, 166, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.btn-danger-glow {
    background: linear-gradient(135deg, var(--secondary), #e74c6f);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger-glow:hover {
    box-shadow: 0 0 30px rgba(255, 101, 132, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ========== Input Fields ========== */
.glass-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-size: 16px;
    width: 100%;
    outline: none;
    transition: var(--transition);
}

.glass-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.15);
}

.glass-input::placeholder {
    color: var(--text-muted);
}

.glass-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-size: 16px;
    width: 100%;
    outline: none;
    transition: var(--transition);
    appearance: none;
    cursor: pointer;
}

.glass-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.15);
}

.glass-select option {
    background: var(--dark2);
    color: var(--text);
}

.glass-textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-size: 16px;
    width: 100%;
    outline: none;
    transition: var(--transition);
    resize: vertical;
    min-height: 80px;
}

.glass-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.15);
}

/* ========== Form Labels ========== */
.form-label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Home Page ========== */
.home-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px 100px;
    min-height: 100vh;
}

.home-header {
    text-align: center;
    padding: 30px 0 20px;
}

.home-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(108, 99, 255, 0.3); }
    50% { box-shadow: 0 0 60px rgba(108, 99, 255, 0.5); }
}

.home-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.home-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.menu-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(108, 99, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.15);
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    transition: var(--transition);
}

.menu-card:hover .menu-icon {
    transform: scale(1.1) rotate(-5deg);
}

.menu-icon.qr {
    background: linear-gradient(135deg, #6C63FF, #4834d4);
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

.menu-icon.trip {
    background: linear-gradient(135deg, #00D9A6, #00b894);
    box-shadow: 0 8px 24px rgba(0, 217, 166, 0.3);
}

.menu-icon.earning {
    background: linear-gradient(135deg, #FFC107, #f39c12);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
}

.menu-icon.expense {
    background: linear-gradient(135deg, #FF6584, #e74c6f);
    box-shadow: 0 8px 24px rgba(255, 101, 132, 0.3);
}

.menu-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========== Bottom Navigation ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav a {
    color: var(--text-muted);
    text-decoration: none;
    text-align: center;
    font-size: 10px;
    padding: 4px 12px;
    transition: var(--transition);
    position: relative;
}

.bottom-nav a i {
    display: block;
    font-size: 22px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.bottom-nav a.active {
    color: var(--primary);
}

.bottom-nav a.active i {
    text-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.bottom-nav a.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}

/* ========== Page Header ========== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 800;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

/* ========== QR Generator ========== */
.qr-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px 100px;
}

.profile-section {
    text-align: center;
    margin-bottom: 24px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
}

.qr-display {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-display img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
}

/* Radar animation background */
.radar-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(108, 99, 255, 0.1);
    animation: radar-pulse 3s ease-in-out infinite;
}

.radar-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(108, 99, 255, 0.15);
    animation: radar-pulse 3s ease-in-out infinite 0.5s;
}

.radar-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(108, 99, 255, 0.2);
    animation: radar-pulse 3s ease-in-out infinite 1s;
}

@keyframes radar-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Scan line animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 3;
    animation: scan 2s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.qr-banner {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}

.qr-banner img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
}

.qr-banner-text {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
}

/* ========== Stats Cards ========== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 16px;
    text-align: center;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.full-width {
    grid-column: 1 / -1;
}

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

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

table thead {
    background: rgba(108, 99, 255, 0.1);
}

table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

table td {
    padding: 12px 14px;
    border-top: 1px solid var(--glass-border);
    font-size: 14px;
}

table tr:hover td {
    background: rgba(108, 99, 255, 0.03);
}

/* ========== Status Badges ========== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(0, 217, 166, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 217, 166, 0.3);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-danger {
    background: rgba(255, 101, 132, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(255, 101, 132, 0.3);
}

.badge-info {
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

/* ========== Toast Notifications ========== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    border: 1px solid;
    animation: slideIn 0.3s ease-out;
}

.toast-success {
    background: rgba(0, 217, 166, 0.15);
    border-color: rgba(0, 217, 166, 0.3);
    color: var(--accent);
}

.toast-error {
    background: rgba(255, 101, 132, 0.15);
    border-color: rgba(255, 101, 132, 0.3);
    color: var(--secondary);
}

.toast-info {
    background: rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.3);
    color: var(--primary-light);
}

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

/* ========== Loading Spinner ========== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

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

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

/* ========== Login Page ========== */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card {
    padding: 40px 28px;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo .icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
}

/* ========== Admin Dashboard ========== */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 24px;
}

.admin-header h1 {
    font-size: 24px;
    font-weight: 800;
}

.admin-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.admin-nav a {
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(108, 99, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ========== Dashboard Widgets ========== */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.widget-card {
    padding: 20px;
}

.widget-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.widget-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.widget-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Settings Form ========== */
.settings-section {
    margin-bottom: 24px;
}

.settings-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-light);
}

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

/* ========== Flash Messages ========== */
.flash-message {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(20px);
    border: 1px solid;
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    background: rgba(0, 217, 166, 0.15);
    border-color: rgba(0, 217, 166, 0.3);
    color: var(--accent);
}

.flash-error {
    background: rgba(255, 101, 132, 0.15);
    border-color: rgba(255, 101, 132, 0.3);
    color: var(--secondary);
}

/* ========== Image Upload Preview ========== */
.image-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 2px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.image-preview:hover {
    border-color: var(--primary);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .placeholder {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

/* ========== Report Controls ========== */
.report-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: flex-end;
}

.report-controls .form-group {
    margin-bottom: 0;
    min-width: 150px;
}

.report-controls .btn-glow {
    height: fit-content;
}

/* ========== Animations ========== */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.slide-up {
    animation: slideUp 0.4s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .menu-grid {
        gap: 12px;
    }

    .menu-card {
        padding: 20px 12px;
    }

    .menu-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .stats-grid {
        gap: 10px;
    }

    .widget-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .admin-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .admin-nav a {
        white-space: nowrap;
        font-size: 13px;
        padding: 8px 14px;
    }

    .report-controls {
        flex-direction: column;
    }

    .report-controls .form-group {
        min-width: 100%;
    }

    .home-container,
    .qr-container {
        padding: 16px 14px 90px;
    }

    .qr-display {
        width: 220px;
        height: 220px;
    }

    .table-container {
        font-size: 13px;
    }

    table th,
    table td {
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .menu-grid {
        gap: 8px;
    }
    .menu-card {
        padding: 16px 10px;
    }
    .menu-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .menu-label {
        font-size: 11px;
    }
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ========== Trip Summary ========== */
.trip-summary {
    padding: 20px;
    text-align: center;
}

.trip-summary .suggested-fare {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin: 12px 0;
}

.trip-summary .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
}

/* ========== Payment History ========== */
.payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-bottom: 1px solid var(--glass-border);
}

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

.payment-info .amount {
    font-weight: 700;
    font-size: 16px;
}

.payment-info .meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== Empty State ========== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 16px;
}
