/* assets/css/style.css - ARCHIVO FINAL */

:root {
    --ford-navy: #003478; /* Azul Ford Oficial */
    --ford-light: #2c82c9; /* Azul Claro Complementario */
    --action-green: #28a745; /* Verde para acciones */
}

/* --- Estilos Globales --- */
body { 
    font-family: 'Segoe UI', Roboto, sans-serif; 
    background-color: #f4f6f9; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

main { flex: 1; }

/* --- Navbar Global --- */
.navbar { 
    background-color: var(--ford-navy); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}
.navbar-brand { 
    font-weight: 700; 
    letter-spacing: 1px; 
}

/* --- Estilos del Frontend (Cliente) --- */

/* Hero Section (Banner Azul) */
.hero-section {
    background: linear-gradient(135deg, var(--ford-navy) 0%, #001a3d 100%);
    color: white;
    padding: 60px 0 100px;
    margin-bottom: -50px; /* Efecto solapado con el card */
}

/* Tarjeta Principal de Reserva */
.booking-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
}

/* Calendario Flatpickr (Personalizado) */
.flatpickr-calendar {
    box-shadow: none !important;
    margin: 0 auto;
}
.flatpickr-day.selected {
    background: var(--ford-navy) !important;
    border-color: var(--ford-navy) !important;
}

/* Botones de Selección de Hora */
.time-slot-btn {
    border: 1px solid #dee2e6;
    color: #495057;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.2s;
    font-weight: 500;
}
.time-slot-btn:hover {
    border-color: var(--ford-navy);
    color: var(--ford-navy);
    background-color: #f0f4f8;
}
.time-slot-btn.active {
    background-color: var(--action-green);
    color: white;
    border-color: var(--action-green);
}
.time-slot-btn.disabled {
    background-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* --- Footer --- */
footer { 
    background-color: #1a1a1a; 
    color: #aaa; 
    padding: 40px 0; 
    margin-top: 60px; 
}
footer a { color: #ddd; text-decoration: none; }
footer a:hover { color: white; }

/* --- Botón Flotante Whatsapp --- */
.whatsapp-float {
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 40px; 
    right: 40px;
    background-color: #25d366; 
    color: #FFF; 
    border-radius: 50px;
    text-align: center; 
    font-size: 30px; 
    box-shadow: 2px 2px 3px #999;
    z-index: 100; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-decoration: none; 
    transition: all 0.3s;
}
.whatsapp-float:hover { 
    background-color: #1ebe57; 
    transform: scale(1.1); 
    color: white; 
}

/* --- Estilos para Login (Admin) --- */
.login-body { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100vh; 
    background-color: #e9ecef; 
}
.login-card { 
    width: 100%; 
    max-width: 400px; 
    padding: 2rem; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    background: white; 
}

/* --- Estilos para Tarjetas de Configuración (Admin) --- */
.config-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.config-card:hover {
    transform: translateY(-2px);
}
.config-card .card-header {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

/* Checkboxes de Días (Config Admin) */
.day-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.day-option {
    position: relative;
    flex: 1;
    min-width: 80px;
}
.day-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.day-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.2s;
    height: 100%;
}
.day-option input:checked + label {
    background: #e7f1ff; /* Azul claro muy suave */
    border-color: #003478; /* Ford Navy */
    color: #003478;
}
.day-option:hover label {
    background: #fff;
    border-color: #adb5bd;
}

/* Input groups grandes (Config Admin) */
.input-group-lg-custom .input-group-text {
    background: #003478;
    color: white;
    border: none;
}
.input-group-lg-custom .form-control {
    border: 2px solid #003478;
    font-weight: bold;
    color: #333;
}
