/* 
   rutagdl.mx - Hoja de Estilos Premium 
   Colores: Esmeralda y Cian sobre fondo de carbón y pizarra
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #0b0f19;
    --bg-card: rgba(22, 28, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-active: rgba(6, 182, 212, 0.4);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --color-emerald: #10b981;
    --color-cyan: #06b6d4;
    --color-primary: #0ea5e9;
    
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-accent-hover: linear-gradient(135deg, #059669 0%, #0891b2 100%);
    --gradient-dark: linear-gradient(180deg, #161c2a 0%, #0b0f19 100%);
    
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.15);
    --shadow-glow-emerald: 0 0 25px rgba(16, 115, 129, 0.25);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --status-pending: #f59e0b;
    --status-approved: #10b981;
    --status-rejected: #ef4444;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-emerald);
}

/* Contenedor General */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fondo decorativo premium con círculos de luz */
.bg-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    left: -100px;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(0,0,0,0) 70%);
    bottom: 100px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

/* Cabecera / Navbar */
header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-glass);
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 576px) {
    .logo {
        font-size: 28px;
    }
}

.logo i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav-logout:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 20px;
    }
    .hero p {
        font-size: 20px;
        margin-bottom: 40px;
        line-height: 1.6;
    }
}

.hero-gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Formularios de Login y Registro (Landing) */
.auth-section {
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 24px;
    box-shadow: var(--shadow-premium), var(--shadow-glow);
    transition: transform 0.3s ease;
}

@media (min-width: 576px) {
    .auth-card {
        padding: 40px;
    }
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Campos de Formulario */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

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

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.input-wrapper .password-toggle-icon {
    left: auto;
    right: 16px;
    cursor: pointer;
    pointer-events: auto;
    color: var(--text-muted);
}

.input-wrapper .password-toggle-icon:hover {
    color: var(--color-cyan);
}

.form-control[type="password"] {
    padding-right: 46px;
}

.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 16px 14px 46px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.form-control:focus + i {
    color: var(--color-cyan);
}

/* Botones */
.btn-primary {
    width: 100%;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--gradient-accent-hover);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

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

/* Código Único - Éxito */
.code-alert-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.code-alert-box h4 {
    color: var(--color-emerald);
    font-size: 18px;
    margin-bottom: 8px;
}

.unique-code-display {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 12px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: inline-block;
    border: 1px dashed rgba(16, 185, 129, 0.5);
}

/* Estilos Dashboard Pasajero */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 80px;
}

@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 400px 1fr;
    }
}

.panel-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
}

.panel-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-card h3 i {
    color: var(--color-cyan);
}

.user-welcome-card {
    background: var(--gradient-accent);
    border-radius: 20px;
    padding: 24px;
    margin-top: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow-emerald);
}

.user-welcome-card::after {
    content: '\f1ba';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 150px;
    color: rgba(255, 255, 255, 0.06);
    right: -20px;
    bottom: -40px;
}

.welcome-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.welcome-code {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    backdrop-filter: blur(4px);
}

/* Cotizador */
.quote-display {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.quote-display-title {
    font-size: 12px;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulseRed 2.5s infinite ease-in-out;
}

@keyframes pulseRed {
    0%, 100% {
        color: #f87171;
        text-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
    }
    50% {
        color: #fca5a5;
        text-shadow: 0 0 12px rgba(239, 68, 68, 0.9), 0 0 20px rgba(239, 68, 68, 0.5);
    }
}

.quote-amount {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-cyan);
    margin: 5px 0;
}

.quote-amount-approx {
    font-size: 11px;
    color: var(--text-muted);
}

/* Agenda / Calendario */
.calendar-widget {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
}

/* Lista de Viajes Estilo Agenda */
.trip-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar estilizada */
.trip-list::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.trip-list::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.trip-list::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}

.trip-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

@media (min-width: 576px) {
    .trip-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.trip-item:hover {
    border-color: rgba(6, 182, 212, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.trip-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trip-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-cyan);
    font-size: 20px;
}

.trip-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trip-locations {
    font-weight: 600;
    font-size: 15px;
}

.trip-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.trip-time span {
    margin-right: 10px;
}

.trip-passengers {
    font-size: 12px;
    color: var(--text-muted);
}

.trip-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

@media (min-width: 576px) {
    .trip-info-right {
        align-items: flex-end;
    }
}

.trip-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

/* Badges de Estado */
.badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.badge-pending::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-pending);
    box-shadow: 0 0 8px var(--status-pending);
    animation: pulse 1.5s infinite;
}

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

.badge-approved::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-approved);
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--status-rejected);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-rejected::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-rejected);
}

/* Vista Chofer */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-cyan);
    margin-top: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Tabla de Gestión del Chofer */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: rgba(15, 23, 42, 0.2);
}

.table-driver {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.table-driver th {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.table-driver td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-glass);
    vertical-align: middle;
}

@media (min-width: 768px) {
    .table-driver th {
        padding: 16px;
    }
    .table-driver td {
        padding: 16px;
    }
}

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

.table-driver tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-name {
    font-weight: 600;
}

.client-phone {
    font-size: 12px;
    color: var(--text-muted);
}

/* Botones de acción del chofer */
.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-approve {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-approve:hover {
    background: var(--color-emerald);
    color: #fff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.btn-reject {
    background: rgba(239, 68, 68, 0.1);
    color: var(--status-rejected);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-reject:hover {
    background: var(--status-rejected);
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

/* Calendario Estilo Full (Mock Premium o Integrado) */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.calendar-day-head {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 0;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 48px;
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .calendar-day {
        padding: 6px;
        min-height: 80px;
    }
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
}

.calendar-day.today {
    border-color: var(--color-cyan);
    background: rgba(6, 182, 212, 0.03);
}

.calendar-day:hover:not(.empty) {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255,255,255,0.15);
}

.day-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calendar-day.today .day-number {
    color: var(--color-cyan);
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.event-dot {
    height: 4px;
    border-radius: 2px;
    width: 100%;
}

.event-dot-pending {
    background-color: var(--status-pending);
    box-shadow: 0 0 4px var(--status-pending);
}

.event-dot-approved {
    background-color: var(--status-approved);
    box-shadow: 0 0 4px var(--status-approved);
}

.event-dot-rejected {
    background-color: var(--status-rejected);
}

.calendar-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
}

.calendar-month-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
}

/* Pie de Página / Footer */
footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    background-color: rgba(11, 15, 25, 0.9);
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (min-width: 576px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Apartado del chofer muy discreto */
.driver-entry-link {
    font-size: 11px;
    color: #1e293b; /* Muy oscuro, casi invisible */
    opacity: 0.25;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.driver-entry-link:hover {
    color: var(--color-cyan);
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

/* Ventanas Modales */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

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

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

/* Sin Viajes - Mensaje Vacío */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--border-glass-active);
}

.empty-state p {
    font-size: 14px;
}

/* Landing Grid & Features Section */
.landing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    align-items: center;
}

@media (min-width: 992px) {
    .landing-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 60px;
    }
}

.features-container {
    text-align: left;
}

.features-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    font-family: var(--font-heading);
}

.features-heading .accent-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.feature-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 10px 20px -10px rgba(14, 165, 233, 0.15);
    background: rgba(15, 23, 42, 0.6);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--color-cyan);
    color: #0b0f19;
    box-shadow: 0 0 12px var(--color-cyan);
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.auth-card-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* CRUD de Choferes & Tarjetas Premium */
.drivers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .drivers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.driver-card-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.driver-card-premium:hover {
    border-color: var(--border-glass-active);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.driver-photo-container {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
}

.driver-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.driver-card-premium:hover .driver-card-img {
    transform: scale(1.05);
}

.driver-card-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.driver-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.driver-id-badge {
    align-self: flex-start;
    font-size: 11px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-cyan);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.driver-info-item {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.driver-info-item i {
    color: var(--color-cyan);
    width: 14px;
    text-align: center;
}

.fallback-svg-container svg {
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3));
}
