/* ===== Modern Magazine Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 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);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    text-transform: capitalize;
}

/* ===== Animated Background ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-2%, -2%) scale(1.05); }
}

/* ===== Navbar - Magazine Style ===== */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -1px;
    position: relative;
    transition: var(--transition);
}

.nav-logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s ease;
}

.nav-logo:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(99, 102, 241, 0.15);
}

.btn-logout {
    background: linear-gradient(135deg, var(--danger), #dc2626) !important;
    color: var(--white) !important;
    border-radius: var(--radius);
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* ===== Hero Section - Magazine Cover ===== */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray-light);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-block {
    width: 100%;
}

/* ===== Container ===== */
main.container {
    flex: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== Page Header - Magazine Style ===== */
.page-header {
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.page-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

/* ===== Cards - Magazine Style ===== */
.card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    overflow-x: auto;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card h2, .card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Timeline Pengajuan Voucher */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--gray-light));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--gray-light);
}

.status-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-chip.status-pending,
.status-chip.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.status-chip.status-disetujui_admin1,
.status-chip.status-disetujui_admin2,
.status-chip.status-disetujui {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-chip.status-ditolak {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.status-chip.status-selesai {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.timeline-body strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ===== Alert ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInDown 0.4s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== Form ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-size: 1rem;
    background: rgba(15, 23, 42, 0.5);
    color: var(--white);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-text {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.4rem;
}

.required {
    color: var(--danger);
}

.form-vertical {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== Table - Magazine Style ===== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table th {
    background: rgba(99, 102, 241, 0.1);
    font-weight: 700;
    color: var(--primary-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
}

.table td {
    color: var(--light);
    font-size: 0.9rem;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: scale(1.005);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ===== Status Badges ===== */
.status-pending, .status-disetujui, .status-ditolak,
.status-active, .status-inactive, .status-locked, .status-unlocked {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-pending { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-disetujui { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-ditolak { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.status-active { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-inactive { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.status-locked { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.status-unlocked { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

.badge-admin, .badge-user {
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-admin { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); }
.badge-user { background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: var(--white); }

/* ===== Vehicle Item ===== */
.vehicle-item {
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vehicle-item:hover {
    background: rgba(15, 23, 42, 0.6);
    transform: translateX(5px);
    border-left-color: var(--secondary);
}

.vehicle-info {
    flex: 1;
    min-width: 200px;
}

.vehicle-info strong {
    color: var(--primary-light);
    font-size: 1.1rem;
}

.vehicle-summary {
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-summary h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-light);
}

/* ===== Step Menu - Magazine Style ===== */
.step-menu {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
}

.step-menu h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.steps {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.3);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.step.completed {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.step.disabled {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.2);
    opacity: 0.5;
    pointer-events: none;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.step.completed .step-number {
    color: var(--success);
}

.step-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-desc {
    font-size: 0.8rem;
    color: var(--gray-light);
}

/* ===== Stats Grid - Magazine Style ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--gray-light);
    margin-top: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== Feature Grid - Magazine Style ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-item h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Modal - Magazine Style ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-light);
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Footer ===== */
.footer {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* ===== Login Container - Magazine Style ===== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

.login-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.login-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 900;
}

.login-card .form-group label {
    color: var(--gray-light);
}

.login-card .register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.login-card .register-link a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.login-card .register-link a:hover {
    color: var(--secondary);
}

/* ===== Animations ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary));
}

/* ===== Password Toggle ===== */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 3rem;
    flex: 1;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--gray-light);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
    transition: var(--transition-fast);
    z-index: 2;
    line-height: 1;
}

.password-toggle:hover {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.5);
    transition: var(--transition);
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #f87171;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
}

input:checked + .slider:before {
    transform: translateX(24px);
    background: #34d399;
}

.switch-label {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-light);
    vertical-align: middle;
}
/* ===== Vehicle Infographic ===== */
.vehicle-infographic {
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.vehicle-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vehicle-item-anim {
    background: rgba(30, 41, 59, 0.6);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out both;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vehicle-item-anim:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.vehicle-icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.vehicle-item-anim:nth-child(1) .vehicle-icon { animation-delay: 0s; }
.vehicle-item-anim:nth-child(2) .vehicle-icon { animation-delay: 0.5s; }
.vehicle-item-anim:nth-child(3) .vehicle-icon { animation-delay: 1s; }
.vehicle-item-anim:nth-child(4) .vehicle-icon { animation-delay: 1.5s; }

.vehicle-label {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
}

.fuel-animation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.fuel-drop {
    width: 12px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    animation: drop 2s ease-in-out infinite;
}

.fuel-drop:nth-child(2) { animation-delay: 0.4s; }
.fuel-drop:nth-child(3) { animation-delay: 0.8s; }

@keyframes drop {
    0%, 100% { transform: rotate(-45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(-45deg) translateY(-15px); opacity: 1; }
}

/* ===== 3D Vehicle Slideshow ===== */
.vehicle-3d-showcase {
    perspective: 1000px;
    width: 100%;
    height: 220px;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.vehicle-3d-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.vehicle-3d-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%) rotateY(30deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.vehicle-3d-slide.active {
    opacity: 1;
    transform: translateX(0) rotateY(0) scale(1);
    z-index: 2;
}

.vehicle-3d-slide.prev {
    opacity: 0;
    transform: translateX(-100%) rotateY(-30deg) scale(0.8);
    z-index: 1;
}

.vehicle-3d-icon {
    font-size: 9rem;
    margin-bottom: 0.5rem;
    animation: vehicleMove 3s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

@keyframes vehicleMove {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    50% { transform: translateY(0) rotate(-2deg); }
    75% { transform: translateY(-5px) rotate(1deg); }
}

.vehicle-3d-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vehicle-3d-shadow {
    width: 140px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
    margin-top: 0.5rem;
    animation: shadowMove 3s ease-in-out infinite;
}

@keyframes shadowMove {
    0%, 100% { transform: scaleX(1); opacity: 0.6; }
    50% { transform: scaleX(0.8); opacity: 0.4; }
}

.vehicle-3d-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vehicle-3d-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.vehicle-3d-dots .dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ===== Road Animation ===== */
.road-animation {
    width: 100%;
    padding: 1rem 0;
}

.road {
    width: 100%;
    height: 220px;
    background: linear-gradient(180deg, #1e293b 0%, #334155 30%, #475569 50%, #334155 70%, #1e293b 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 4px 8px rgba(0,0,0,0.3), inset 0 -4px 8px rgba(0,0,0,0.3);
}

.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 4px;
    background: repeating-linear-gradient(90deg, #fbbf24 0px, #fbbf24 40px, transparent 40px, transparent 80px);
    transform: translateY(-50%);
    animation: roadMove 2s linear infinite;
}

@keyframes roadMove {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-50%) translateX(-80px); }
}

.vehicle-on-road {
    position: absolute;
    font-size: 8.1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.vehicle-on-road.car {
    animation: drive1 20s linear infinite;
    font-size: 8.1rem;
}
.vehicle-on-road.motor {
    animation: drive2 20s linear infinite;
    font-size: 6.48rem;
}

.vehicle-on-road.truck {
    animation: drive3 20s linear infinite;
    font-size: 9.72rem;
}

.vehicle-on-road.firetruck {
    animation: drive4 20s linear infinite;
    font-size: 9.072rem;
}

@keyframes drive1 {
    0% { right: -80px; opacity: 0; }
    2% { opacity: 1; }
    23% { opacity: 1; right: 100%; }
    25% { opacity: 0; right: -80px; }
    100% { opacity: 0; right: -80px; }
}
@keyframes drive2 {
    0%, 25% { opacity: 0; right: -80px; }
    27% { opacity: 1; right: -80px; }
    48% { opacity: 1; right: 100%; }
    50% { opacity: 0; right: -80px; }
    100% { opacity: 0; right: -80px; }
}
@keyframes drive3 {
    0%, 50% { opacity: 0; right: -80px; }
    52% { opacity: 1; right: -80px; }
    73% { opacity: 1; right: 100%; }
    75% { opacity: 0; right: -80px; }
    100% { opacity: 0; right: -80px; }
}
@keyframes drive4 {
    0%, 75% { opacity: 0; right: -80px; }
    77% { opacity: 1; right: -80px; }
    98% { opacity: 1; right: 100%; }
    100% { opacity: 0; right: -80px; }
}
    100% { right: 100%; }
}

.road-labels {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--gray-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        min-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .table {
        font-size: 0.8rem;
    }
    
    .table th, .table td {
        padding: 0.6rem;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .login-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Print ===== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar, .footer, .btn {
        display: none;
    }
}
   
 . m o d a l  
 d i s p l a y : n o n e ; p o s i t i o n : f i x e d ; z - i n d e x : 1 0 0 0 0 ; l e f t : 0 ; t o p : 0 ; w i d t h : 1 0 0 % ; h e i g h t : 1 0 0 % ; o v e r f l o w : a u t o ; b a c k g r o u n d - c o l o r : r g b a ( 0 , 0 , 0  
 , 0 . 7 5 )  
 