/**
 * ctc-global.css
 * Estilos globales para el formulario y elementos del plugin "Cotizaciones CTC"
 */

/* Reset básico para evitar conflictos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Roadmap container */
.roadmap-container {
    margin-top: 20px;
}

/* VARIABLES (nuevas para la modernización) */
:root {
  --primary-color: #ff0000;
  --secondary-color: #d70000;
  --text-color: #333;
  --border-color: #ddd;
  --transition-speed: 0.3s;
}

/* MEJORAS VISUALES IMPLEMENTADAS */

/* 1. CAMBIO DE TIPOGRAFÍA - Más legible y moderna para formularios */
.ctc_wrap {
    width: 100%;
    border: 1px solid #8080804a;
    max-width: 1020px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    padding-bottom: 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin-top: -20px !important;
}

.ctc_wrap .form-control,
.ctc_wrap .selector-plugin,
.ctc_wrap input[type="text"],
.ctc_wrap input[type="email"],
.ctc_wrap input[type="tel"],
.ctc_wrap select,
.ctc_wrap textarea {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}
  
/* Títulos y subtítulos */
.ctc_wrap h1,
.ctc_wrap h4,
.ctc_wrap h5,
.ctc_wrap h6 {
    margin-bottom: 10px;
    color: #0a0a0a;
    font-weight: 600;
}
  
.ctc_wrap h1 {
    font-size: 28px;
    text-align: center;
    color: #686464;
    font-weight: 100;
}

/* 4. PRIVACY DETAILS DISCRETO - SIN FONDOS NI EFECTOS */
.privacy-details-2 {
    margin-top: 20px;
    padding: 0; /* Sin padding */
    background: none; /* Sin fondo */
    border: none; /* Sin border */
    border-radius: 0; /* Sin border-radius */
    text-align: left; /* Alineado a la izquierda */
    max-width: 600px;
    cursor: default; /* Sin cursor pointer */
    transition: none; /* Sin transiciones */
    position: relative;
    overflow: visible; /* Sin overflow hidden */
}

/* Eliminar todos los efectos hover */
.privacy-details-2:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

/* Eliminar el efecto before */
.privacy-details-2::before {
    display: none;
}

.privacy-details-2 summary {
    font-size: 13px;
    color: #6b7280; /* Color más discreto */
    font-weight: 400; /* Menos peso */
    cursor: pointer;
    list-style: none;
    display: block; /* Cambiar a block */
    text-align: left; /* Alineado a la izquierda */
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

.privacy-details-2 summary::marker {
    display: none;
}

.privacy-details-2 summary::-webkit-details-marker {
    display: none;
}

/* Flecha más discreta */
.privacy-details-2 summary::after {
    content: '▼';
    font-size: 9px;
    color: #9ca3af;
    transition: transform 0.2s ease;
    float: right;
    margin-top: 2px;
}

.privacy-details-2[open] summary::after {
    transform: rotate(180deg);
}

/* Lista discreta de 5 puntos */
.privacy-details-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.privacy-details-2 li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.privacy-details-2 li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9ca3af;
    font-size: 14px;
}

/* Si el contenido viene en un párrafo, convertirlo en lista visualmente */
.privacy-details-2 p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}
  
.ctc_wrap h4 {
    margin-top: 25px;
    color: #333;
    padding-bottom: 5px;
}
  
/* Inputs y selects */
.ctc_wrap .form-group {
    margin-bottom: 24px;
}
  
.ctc_wrap label {
    display: none;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}
  
.ctc_wrap .form-control,
.ctc_wrap .selector-plugin {
    width: 100%;
    /* padding: 10px 14px; */
    font-size: 15px;
    border: 1.8px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
    background-color: #fdfdfd;
    
    /* 2. COLOR DE TEXTO DE CAMPOS RELLENADOS - Negro */
    color: #1a1a1a !important;
}

/* 6. MEJORA DE LA FLECHA EN LOS SELECTS - ICONO ORIGINAL CON MEJOR POSICIÓN */
.ctc_wrap select,
.ctc_wrap .selector-plugin {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Restaurar el icono original triangular */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center; /* Mantener la posición mejorada */
    background-size: 10px;
    padding-right: 35px; /* Mantener el espacio mejorado */
}

.ctc_wrap select:focus,
.ctc_wrap .selector-plugin:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ff0000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* OPCIONES PRESELECCIONADAS EN MAYÚSCULAS - SIN NEGRITA */
.ctc_wrap select option:first-child,
.ctc_wrap select option[value=""],
.ctc_wrap select option[disabled] {
    text-transform: uppercase;
    font-weight: 400; /* Quitamos la negrita */
    color: #6b7280;
}

/* También aplicar a los textos de "Cargando..." y placeholders */
.ctc_wrap select.loading-select {
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 400; /* Quitamos la negrita */
}

/* IMPORTANTE: Aplicar mayúsculas a los selects cuando muestran placeholders */
.ctc_wrap select:invalid,
.ctc_wrap select[value=""],
.ctc_wrap select:not([value]),
.ctc_wrap .selector-plugin:invalid,
.ctc_wrap .selector-plugin[value=""],
.ctc_wrap .selector-plugin:not([value]) {
    color: #6b7280;
    font-weight: 400;
}

/* Texto del placeholder más suave */
.ctc_wrap .form-control::placeholder,
.ctc_wrap input::placeholder,
.ctc_wrap textarea::placeholder {
    color: #6b7280;
    opacity: 1;
}

/* 7. AJUSTES ADICIONALES PARA MEJOR EXPERIENCIA */
.ctc_wrap .form-control:focus,
.ctc_wrap .selector-plugin:focus,
.ctc_wrap input:focus,
.ctc_wrap select:focus,
.ctc_wrap textarea:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
    outline: none;
}
  
/* Para el "Cargando..." */
.ctc_wrap select.loading-select {
    color: #999;
}
  
/* Estados "selected" en un select */
.ctc_wrap .form-group select.selected {
    border-color: #ff0000;
}

/* 3. ALINEACIÓN DE CHECKBOXES CON TEXTO - MEJOR ALINEACIÓN */
.ctc_wrap .form-check,
.ctc_wrap .checkbox-wrapper {
    display: flex;
    align-items: center; /* Cambiar de flex-start a center */
    gap: 12px; /* Aumentar el gap */
    margin-bottom: 15px;
}

.ctc_wrap .form-check input[type="checkbox"],
.ctc_wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0; /* Eliminar el margin-top */
    margin-right: 0;
    margin-left: 0;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    top: 4px; /* Ajuste fino de posición */
}

.ctc_wrap .form-check-label,
.ctc_wrap .checkbox-label {
    font-size: 14px;
    line-height: 1.4; /* Reducir line-height para mejor alineación */
    color: #374151;
    cursor: pointer;
    margin-bottom: 0;
    flex: 1;
}

/* 5. BOTONES ESTILO CTA-BUTTON - TAMAÑO REDUCIDO PARA IGUALAR ALTURA DE SELECTS */
.ctc_wrap #continue-vehicle,
.ctc_wrap #submit-btn,
.ctc_wrap button[type="submit"],
.ctc_wrap .btn-primary {
    /* Reset de estilos anteriores */
    all: unset;
    
    /* Estilos del cta-button adaptados con altura reducida */
    display: inline-block;
    background: #FF4444;
    color: white !important;
    padding: 4px 25px; /* Reducido aún más */
    font-size: 0.85rem; /* Reducido de 0.95rem */
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px; /* Reducido de 25px */
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255,68,68,0.2); /* Reducido */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
    width: auto;
    min-width: 160px; /* Reducido de 180px */
    margin: 8px 0; /* Reducido de 10px */
    height: 40px; /* Altura específica similar a los selects */
}

/* Efectos del cta-button adaptados */
.ctc_wrap #continue-vehicle::before,
.ctc_wrap #submit-btn::before,
.ctc_wrap button[type="submit"]::before,
.ctc_wrap .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.ctc_wrap #continue-vehicle:hover::before,
.ctc_wrap #submit-btn:hover::before,
.ctc_wrap button[type="submit"]:hover::before,
.ctc_wrap .btn-primary:hover::before {
    width: 150px; /* Reducido de 200px */
    height: 150px;
}

.ctc_wrap #continue-vehicle::after,
.ctc_wrap #submit-btn::after,
.ctc_wrap button[type="submit"]::after,
.ctc_wrap .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    animation: autoShine 3s infinite;
    z-index: 2;
}

@keyframes autoShine {
    0%, 70% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* Texto siempre visible */
.ctc_wrap #continue-vehicle span,
.ctc_wrap #submit-btn span,
.ctc_wrap button[type="submit"] span,
.ctc_wrap .btn-primary span {
    position: relative;
    z-index: 3;
}

/* Hover effects */
.ctc_wrap #continue-vehicle:hover,
.ctc_wrap #submit-btn:hover,
.ctc_wrap button[type="submit"]:hover,
.ctc_wrap .btn-primary:hover {
    transform: translateY(-1px); /* Reducido de -2px */
    box-shadow: 0 8px 20px rgba(255,68,68,0.3); /* Reducido */
}

/* === BOTONES GENERALES (que no son los principales) ================ */
/* Botones generales dentro de .ctc_wrap, excluyendo calendarios y hora-boton */
.ctc_wrap button
        :not(#continue-vehicle):not(#submit-btn):not(#notificame)
        :not(.calendario-dia):not(.calendario-nav):not(.hora-boton):not(.boton-reserva),
.ctc_wrap .btn
        :not(#continue-vehicle):not(#submit-btn):not(#notificame)
        :not(.calendario-nav):not(.hora-boton):not(.boton-reserva),
.ctc_wrap input[type="submit"]
        :not(#continue-vehicle):not(#submit-btn):not(#notificame)
        :not(.hora-boton):not(.boton-reserva) {
    all: unset;
    display: inline-block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-right: 2px;
}

/* Hover sólo para esos mismos botones generales */
.ctc_wrap button:not(.calendario-dia):not(.calendario-nav):not(.hora-boton):not(.boton-reserva):hover,
.ctc_wrap .btn:not(.calendario-nav):not(.hora-boton):not(.boton-reserva):hover,
.ctc_wrap input[type="submit"]:not(.hora-boton):not(.boton-reserva):hover {
    background-color: #d70000;
}

/* ===== SPINNER MODERNO INTEGRADO EN BOTÓN ===== */

/* Ocultamos el spinner externo antiguo */
.wpforms-submit-spinner {
    display: none !important;
}

/* Estados del botón submit durante carga */
.ctc_wrap #submit-btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
    background: linear-gradient(135deg, #e03e3e 0%, #c73232 100%) !important;
    cursor: wait;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(224, 62, 62, 0.4) !important;
}

.ctc_wrap #submit-btn.loading::before {
    display: none !important; /* Ocultar efectos de hover durante carga */
}

/* Spinner moderno con diseño 2025 */
.ctc_wrap #submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-right-color: #ffffff;
    border-radius: 50%;
    animation: spin-modern 0.6s ease-in-out infinite;
    z-index: 10;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Animación suave y moderna */
@keyframes spin-modern {
    0% {
        transform: rotate(0deg);
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.8;
    }
}

/* Efecto de pulsación sutil del botón durante carga */
.ctc_wrap #submit-btn.loading {
    animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(224, 62, 62, 0.4) !important;
        transform: scale(1) !important;
    }
    50% {
        box-shadow: 0 6px 20px rgba(224, 62, 62, 0.6) !important;
        transform: scale(1.02) !important;
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .ctc_wrap #submit-btn.loading::after {
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border-width: 2px;
    }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .ctc_wrap #submit-btn.loading::after {
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
        border-width: 2px;
    }
}

/* ===== SPINNER MODERNO PARA BOTÓN DE RESERVAR CITA ===== */

/* Estados del botón reservar cita durante carga */
.ctc_wrap .boton-reserva.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
    background: linear-gradient(135deg, #e03e3e 0%, #c73232 100%) !important;
    cursor: wait;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(224, 62, 62, 0.4) !important;
}

.ctc_wrap .boton-reserva.loading::before {
    display: none !important; /* Ocultar efectos de hover durante carga */
}

/* Spinner moderno para botón reservar cita */
.ctc_wrap .boton-reserva.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-right-color: #ffffff;
    border-radius: 50%;
    animation: spin-modern 0.6s ease-in-out infinite;
    z-index: 10;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Efecto de pulsación para botón reservar cita */
.ctc_wrap .boton-reserva.loading {
    animation: button-pulse 2s ease-in-out infinite;
}

/* Responsive para móvil - botón reservar */
@media (max-width: 768px) {
    .ctc_wrap .boton-reserva.loading::after {
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border-width: 2px;
    }
}

/* Responsive para pantallas muy pequeñas - botón reservar */
@media (max-width: 480px) {
    .ctc_wrap .boton-reserva.loading::after {
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
        border-width: 2px;
    }
}
  
/* Inputs radio-button */
.radio-button {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-button input[type="radio"] {
    display: none;
}

.radio-button label {
    cursor: pointer;
    background: #f8f8f8;
    color: #444;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 8px 18px;
    transition: 0.2s ease;
    font-size: 14px;
}

/* Mejorar el aspecto de los radio buttons */
.ctc_wrap .radio-button label {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ctc_wrap .radio-button label:hover {
    background: #f8fafc;
    border-color: #ff0000;
    transform: translateY(-1px);
}

.radio-button input[type="radio"]:checked + label {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #fff;
}
  
/* Para el contenedor de error, alertas y mensajes */
.form-text.text-danger {
    font-size: 14px;
    color: #ff0000;
    margin-top: 5px;
}
  
#error_message,
#success_sub,
#form_error,
#form_error_two {
    margin-top: 20px;
}

/* 9. ESTADOS DE VALIDACIÓN MEJORADOS */
.ctc_wrap .form-control.is-invalid,
.ctc_wrap .selector-plugin.is-invalid,
.ctc_wrap input.is-invalid,
.ctc_wrap select.is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.ctc_wrap .form-control.is-valid,
.ctc_wrap .selector-plugin.is-valid,
.ctc_wrap input.is-valid,
.ctc_wrap select.is-valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}

/* 10. MEJORAS DE ACCESIBILIDAD */
.ctc_wrap button:focus,
.ctc_wrap input:focus,
.ctc_wrap select:focus,
.ctc_wrap textarea:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

/* Para elementos que ya tienen estilos de foco personalizados */
.ctc_wrap #continue-vehicle:focus,
.ctc_wrap #submit-btn:focus,
.ctc_wrap button[type="submit"]:focus,
.ctc_wrap .btn-primary:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
    box-shadow: 0 12px 28px rgba(255,68,68,0.35), 0 0 0 3px rgba(255, 0, 0, 0.1);
}
  
/* Cards/Boxes para sucursales (sección de centros) */
.sucursal-box {
    min-height: 120px;
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sucursal-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-color: #000000;
}

.sucursal-radio {
    display: none;
}

.sucursal-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 7px;
}

.sucursal-info {
    display: flex;
    flex-direction: column;
}

.sucursal-name {
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.sucursal-address {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 200;
}

.sucursal-distance {
    text-align: right; /* Alinea el texto a la derecha */
    padding: 0px; /* Agrega un padding de 5px (puedes ajustar este valor) */
    align-self: flex-end; /* Alinea el elemento al final del contenedor flex */
    margin-bottom: -7px !important;
    font-weight: 100;
  }

  .sucursal-box {
    padding: 10px; /* O el padding que prefieras */
    transition: border 0.3s ease; /* Transición suave al cambiar */
  }
  
  .sucursal-box:has(input:checked) {
    border: 1.5px solid black; /* Borde cuando el radio está seleccionado */
  }
  
/* Bloque para mensaje si no hay sucursales */
#muy_pronto {
    margin-top: 30px;
    text-align: center;
}
  
/* Modal para coche eléctrico - Rediseñado como el modal de ubicación */
#modal-electrico-overlay {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease-in-out;
    display: none;
    justify-content: center;
    align-items: center;
}

#modal-electrico {
    background: white;
    border-radius: 24px;
    padding: 60px 50px;
    width: 100%;
    max-width: 520px;
    margin: 0 20px;
    box-shadow: 0 20px 60px rgba(255,68,68,.15);
    text-align: center;
    position: relative;
    border: 1px solid rgba(128,128,128,.15);
    transition: 0.4s cubic-bezier(.175,.885,.32,1.275);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transform: scale(0.9);
    animation: modalAppear 0.3s ease-out forwards;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#modal-electrico:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(255,68,68,.2);
    border-color: #FF4444;
}

/* Icono del modal eléctrico */
#modal-electrico .icon {
    width: 88px;
    height: 88px;
    background: rgba(255,68,68,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 36px;
    position: relative;
    transition: 0.3s;
}

#modal-electrico .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255,68,68,.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

#modal-electrico .icon i {
    font-size: 40px;
    color: #FF4444;
}

/* Título del modal eléctrico */
#modal-electrico .modal-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Texto del modal eléctrico */
#modal-electrico .modal-text {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Botón del modal eléctrico */
#modal-electrico .modal-button {
    background: #FF4444;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    text-transform: none;
}

#modal-electrico .modal-button:hover {
    background: #E53E3E;
    transform: translateY(-2px);
}

/* Botón de cerrar del modal eléctrico */
#modal-electrico .close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    font-size: 16px;
    color: #6B7280;
}

#modal-electrico .close-icon:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #FF4444;
    transform: scale(1.1);
}

/* Responsive para el modal eléctrico */
@media (max-width: 768px) {
    #modal-electrico {
        padding: 40px 30px;
        margin: 0 15px;
    }
    
    #modal-electrico .modal-title {
        font-size: 24px;
    }
    
    #modal-electrico .modal-text {
        font-size: 16px;
    }
    
    #modal-electrico .icon {
        width: 72px;
        height: 72px;
        margin-bottom: 24px;
    }
    
    #modal-electrico .icon i {
        font-size: 32px;
    }
}

@media (max-width: 1053px) {
    .ctc_wrap {
      padding: 20px 15px;
    }
}
  
/* Responsividad general */
@media (max-width: 768px) {
    .ctc_wrap .form-group {
      margin-bottom: 15px;
    }
  
    .radio-button label {
      padding: 6px 14px;
    }
    
    /* Responsividad para la sección de centros */
    .sucursal-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .sucursal-distance {
        margin-top: 10px;
    }
    
    /* 8. RESPONSIVE ADJUSTMENTS */
    .ctc_wrap #continue-vehicle,
    .ctc_wrap #submit-btn,
    .ctc_wrap button[type="submit"],
    .ctc_wrap .btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    .privacy-details-2 {
        padding: 16px;
        margin-top: 20px;
    }
    
    .privacy-details-2 summary {
        font-size: 12px;
    }
    
    .privacy-details-2 p {
        font-size: 11px;
    }
    
    /* Ajustes responsive para botones más pequeños */
    .ctc_wrap #continue-vehicle,
    .ctc_wrap #submit-btn,
    .ctc_wrap button[type="submit"],
    .ctc_wrap .btn-primary {
        padding: 2px 20px; /* Aún más pequeño en móvil */
        font-size: 0.8rem;
        min-width: 140px;
        height: 36px;
    }
}

/* Sección de centros */
.centers-container {
    margin: 20px auto;
    max-width: 100%;
    padding: 0 15px;
}

.centers-title {
    font-size: 32px;
    color: black;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

/* NUEVOS ESTILOS PARA EL FORMULARIO DE RESERVA (ctc_frm_two) */
#ctc_frm_two {
    margin: 10px 20px 20px 20px auto;
    padding: 20px 0;
    background-color: #fff;
}

#ctc_frm_two .form-section {
    margin-bottom: 20px;
}

#ctc_frm_two .form-section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    margin-top: 40px;
    font-size: 24px;
}

#ctc_frm_two .form-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-content: center;
    min-width: 150px;
}

#ctc_frm_two .form-col {
    flex: 0 0 48%;
    max-width: 48%;
    width: 100%;
}

@media (max-width: 576px) {
    #ctc_frm_two .form-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#ctc_frm_two .privacy-details {
    margin-top: 10px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    text-align: center;
}

#ctc_frm_two .privacy-details summary {
    font-size: 14px;
    color: var(--primary-color);
    outline: none;
    list-style: none;
    cursor: pointer;
}

#ctc_frm_two .privacy-details p {
    font-size: 13px;
    color: #555;
    margin-top: 5px;
}

#ctc_frm_two .form-submit {
    text-align: center;
}
  
.iti {
    width: 100%;
}
  
.radio-button label {
    margin-bottom: auto !important;
}
.form-elements {
    margin-top: 20px;
}

/* Contenedor principal */
.notification-container {
    background-color: #ffffff;
    padding: 2rem;
    text-align: center;
    max-width: none !important;
    margin: 2rem auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  /* Ícono (usando Font Awesome) */
  .notification-container .icon {
    font-size: 4rem !important;
    color: #ff0000;
    margin-bottom: 1rem;
  }
  
  /* Título y textos */
  .notification-container .notification-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .notification-container .notification-description,
  .notification-container .notification-subtext {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
  }
  
  /* Estilos para el formulario */
.notification-container form {
    margin-top: 1rem;
  }
  
  /* Botón */
  .btn-notify {
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-notify:hover {
    background-color: #f96060;
  }

  .spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .spinner-rojo {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: red;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
    display: block;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* =====================================================================
   =  Estilos para bloque calculation-intermediate
   ===================================================================== */

.calculation-intermediate {
  background: white;
  border-radius: 24px;
  padding: 60px 50px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  text-align: center;
  position: relative;
  border: 1px solid rgba(128,128,128,.15);
  transition: .4s cubic-bezier(.175,.885,.32,1.275);
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
}

.calculation-intermediate .calculation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calculation-intermediate .icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
  position: relative;
  transition: .3s;
}

.calculation-intermediate .icon i {
  font-size: 35px;
  color: #ff0000;
}

.calculation-intermediate .calculation-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
}

.calculation-intermediate .calculation-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.calculation-intermediate .calculation-subtext {
  font-size: 16px;
  color: #999;
  margin-top: 24px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .calculation-intermediate {
    padding: 40px 30px;
  }
  
  .calculation-intermediate .calculation-title {
    font-size: 24px;
  }
  
  .calculation-intermediate .icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
  }
  
  .calculation-intermediate .icon i {
    font-size: 32px;
  }
}

/* ==========================
   MODO MÓVIL: flujo rápido (matrícula + km)
   ========================== */
@media (max-width: 600px) {
  /* Sólo en Paso 1 (sin clases de otros pasos) */
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) .ctc_wrap {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important; /* Anula padding responsive 768px */
    margin-top: -50px !important;
  }

  /* Quitar padding interno del bloque de vehículo (sólo en Paso 1) */
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) #vehicle_section { padding: 0 !important; }

  /* Ocultar el título "Vehículo" */
  #vehicle_title { display: none !important; }
  /* Ocultar bloque antiguo de autocompletado y la mayoría de campos */
  #vehicle_section .license-plate-section { display: none !important; }
  #vehicle_section .form-elements { display: none; }
  /* Mostrar únicamente Matrícula y Kilómetros */
  #vehicle_section .form-elements:has(#auto_registration) { display: block; }
  #vehicle_section .form-elements:has(#auto_mileage) { display: block; }
  /* Mostrar barra de acciones móviles */
  #mobile-quick-actions { display: block !important; width: 100%; }
  /* Ocultar el botón CONTINUAR clásico hasta expandir */
  #continue-vehicle { display: none !important; }

  /* Contenedor y botones centrados */
  #mobile-quick-actions { padding: 0 8px; margin-top: 10px; }
  #mobile-quick-actions #mobile-quick-continue,
  #mobile-quick-actions #mobile-select-manual {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    height: 52px;
    border-radius: 12px !important;
    font-weight: 700;
    letter-spacing: .6px;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  /* Estilo CTA rojo */
  #mobile-quick-actions #mobile-quick-continue {
    background: #FF4444 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(255,68,68,.25);
    margin-bottom: 12px !important;
  }
  #mobile-quick-actions #mobile-quick-continue i { color: #fff !important; font-size: 14px; }

  /* Estilo secundario blanco */
  #mobile-quick-actions #mobile-select-manual {
    background: #ffffff !important;
    color: #333 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
    margin-top: 0 !important;
    font-weight: 400;
  }

  /* Campos más altos y tipografía mayor en el formulario móvil */
  #vehicle_section .form-control,
  #vehicle_section input[type="text"],
  #vehicle_section input[type="email"],
  #vehicle_section input[type="tel"],
  #vehicle_section select,
  #vehicle_section textarea {
    height: 56px !important;
    min-height: 56px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }
  #vehicle_section .form-control::placeholder,
  #vehicle_section input::placeholder,
  #vehicle_section textarea::placeholder {
    font-size: 16px !important;
  }
  #vehicle_section select {
    padding-right: 44px !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
  }
  #vehicle_section .form-elements { margin-top: 16px; }
  /* Mostrar siempre las matrículas en mayúsculas a nivel de UI */
  #vehicle_section #auto_registration,
  #vehicle_section #license_plate_input { text-transform: uppercase; }
}

/* Ajustes móviles generales hasta tablet (<=768px) sólo Paso 1 */
@media (max-width: 768px) {
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) .ctc_wrap {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: -30px !important;
  }
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) #vehicle_section { padding: 0 !important; }
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) .ctc_wrap #continue-vehicle { width: 100% !important; box-sizing: border-box !important; max-width: 100% !important; }
}

/* Cuando se expande el acordeón (mostramos todo) */
@media (max-width: 600px) {
  body.mobile-show-full #vehicle_section .form-elements { display: block; }
  /* Al expandir, mostrar CTA con layout flex */
  body.mobile-show-full #continue-vehicle { display: flex !important; }
  body.mobile-show-full #mobile-quick-actions { display: none !important; }
  body.mobile-show-full #mobile-inline-status { display: none !important; }
  /* Al expandir en móvil, ocultar el campo de matrícula del listado */
  /* Al expandir en móvil, queremos que la matrícula también se vea */
  body.mobile-show-full #vehicle_section .form-elements:has(#auto_registration) { display: block !important; }
  /* Pero si el flujo fue autocompletado automático, ocultamos la matrícula */
  body.mobile-show-full.autoflow-hide-plate #vehicle_section .form-elements:has(#auto_registration) { display: none !important; }
}

/* Tarjeta de estado inline (móvil) */
#mobile-inline-status { display:none; margin: 10px 0 4px 0; }
#mobile-quick-actions { display:none; }

/* Mensajes de validación sutiles */
#form_error, #form_error_two, #error_message, #first_step_error {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin: 8px 0 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  position: relative !important;
  display: none !important; /* Oculto por defecto */
  width: fit-content !important; /* Ancho ajustado al contenido en desktop */
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-right: auto !important;
  animation: slideInFromTop 0.3s ease-out !important;
}

/* Cuando se muestra el error */
#form_error.show, #form_error_two.show, #error_message.show, #first_step_error.show {
  display: block !important;
}

/* Mensajes de éxito sutiles */
#success_sub {
  background: #f0f9f4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin: 8px 0 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  position: relative !important;
  display: none !important; /* Oculto por defecto */
  width: calc(100% - 16px) !important; /* Mismo ancho que los botones móviles */
  max-width: calc(100% - 16px) !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  animation: slideInFromTop 0.3s ease-out !important;
}

/* Cuando se muestra el éxito */
#success_sub.show {
  display: block !important;
}

/* Animación de entrada */
@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para móvil */
@media (max-width: 600px) {
  #form_error, #form_error_two, #error_message, #first_step_error, #success_sub {
    margin: 8px 0 !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    width: calc(100% - 16px) !important; /* Mismo ancho que los botones móviles */
    max-width: calc(100% - 16px) !important;
  }
}
.mobile-status-card {
  background: #fff; border:1px solid #e5e7eb; border-radius: 12px; padding: 22px; text-align:center;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* Slider de páginas (vehículo -> cliente) y slider interno de cliente en móvil, en el mismo espacio */
@media (max-width: 600px) {
  /* Contenedor para deslizar entre secciones del formulario */
  #mobile-page-viewport { 
    position: relative; 
    width: 100%; 
    overflow: hidden; 
    height: auto; 
    min-height: 0; 
  }
  #mobile-page-track { 
    display: flex; 
    transition: transform .35s ease; 
    align-items: flex-start; 
  }
  .page-slide { 
    flex: 0 0 100%; 
    width: 100%; 
    overflow: visible; 
    position: relative; 
    min-height: auto; 
  }
  /* Garantiza que la página de cliente tape cualquier sombra del slide anterior */
  #page-customer { background: #fff; }
  #mobile-page-viewport { background: #fff; }

  /* Navegación única (Atrás / Enviar) dentro de Cliente */
  #customer-single-nav { display: flex; gap: 12px; margin-top: 16px; align-items: stretch; }
  #customer_back, #customer_submit {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; border-radius: 12px; font-weight: 700; letter-spacing: .6px;
    flex: 1 1 0; width: 50%; box-sizing: border-box;
  }
  #customer_back { background: #ffffff; color: #333; border: 1px solid #e5e7eb; box-shadow: 0 6px 16px rgba(0,0,0,.05); }
  #customer_submit { background: #FF4444; color: #fff; border: none; box-shadow: 0 10px 25px rgba(255,68,68,.25); }
  /* Ocultar submit original en móvil cuando hay nav propio */
  #customer_section.mobile-single-nav #submit-btn,
  #customer_section.mobile-single-nav #loading-indicator { display: none !important; }
}

/* Campos del propietario grandes SOLO en móvil */
@media (max-width: 600px) {
  #customer_section .form-control,
  #customer_section input[type="text"],
  #customer_section input[type="email"],
  #customer_section input[type="tel"],
  #customer_section select,
  #customer_section textarea {
    height: 56px !important;
    min-height: 56px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }
  /* Ajuste del input de teléfono con intl-tel-input: dejar espacio para la bandera */
  .iti input#user_phone,
  #customer_section .iti input[type="tel"] {
    padding-left: 56px !important;
  }
  .iti__flag-container { left: 14px !important; }
}

/* Ajustes adicionales de cliente en móvil */
@media (max-width: 600px) {
  /* Quitar padding inline de #customer_section en móvil */
  #customer_section { padding: 0 !important; }
  /* Ocultar el título "Propietario" */
  #customer_section .field_user_info .col-md-12 > span { display: none !important; }
  /* Reducir padding lateral de 15px a 10px en el contenedor col-md-12 del bloque de usuario */
  #customer_section .field_user_info .col-md-12 { padding-left: 10px !important; padding-right: 10px !important; }
  /* Extender el row para compensar paddings laterales */
  #customer_section .row.field_user_info.form-group { margin-left: -10px !important; margin-right: -10px !important; }
  /* Separación superior del bloque de privacidad */
  #customer_section .col-md-12.field_private_poli { margin-top: 20px !important; }
  /* CTA obtener tasación ancho completo y más grande */
  #customer_section #submit-btn {
    width: 100% !important;
    height: 56px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .6px !important;
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Evitar brillos/pseudo-elementos que pudieran desbordar */
  #customer_section #submit-btn::before,
  #customer_section #submit-btn::after { display: none !important; content: none !important; }
  /* Botón Atrás inline (insertado por JS) */
  #customer_back_inline { display: block; width: calc(100% - 20px); margin: 8px 10px 12px 10px; height: 48px; border-radius: 12px; background: #fff; color: #333; border: 1px solid #e5e7eb; box-shadow: 0 6px 16px rgba(0,0,0,.05); font-weight: 700; letter-spacing: .6px; }
}

/* Ocultar botón Atrás inline en escritorio */
@media (min-width: 601px) { #customer_back_inline { display: none !important; } }

/* Ocultar cabecera "Vehículo" en todos los tamaños */
#vehicle_title { display: none !important; }

/* Botón CONTINUAR (vehículo) a 100% y estilo simple como el CTA de matrícula en móvil (sólo Paso 1) */
@media (max-width: 600px) {
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) .ctc_wrap #continue-vehicle {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important; margin-right: 0 !important;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; border-radius: 12px !important;
    background: #FF4444 !important; color: #fff !important; border: none !important;
    font-weight: 700; letter-spacing: .6px;
    box-shadow: 0 10px 25px rgba(255,68,68,.25);
  }
  /* Desactivar efectos de pseudo-elementos del estilo CTA original */
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) .ctc_wrap #continue-vehicle::before,
  body:not(.form-step-2):not(.form-step-4):not(.form-step-intermediate) .ctc_wrap #continue-vehicle::after { display: none !important; }
}
.mobile-status-card .icon { width:64px; height:64px; margin:0 auto 10px; border-radius:50%; background:rgba(255,68,68,.08); display:flex; align-items:center; justify-content:center; }
.mobile-status-card .icon i { color:#FF4444; font-size:26px; }
.mobile-status-card .title { font-size:18px; font-weight:800; color:#111827; margin-bottom:6px; }
.mobile-status-card .desc { font-size:14px; color:#6b7280; }

/* Marcas visuales de autocompletado */
.autouncle-completed {
  background-color: #fffbeb !important;
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.08) !important;
}
.autouncle-pending {
  background-color: #f3f4f6 !important;
  border: 2px solid #d1d5db !important;
  color: #6b7280 !important;
}

/* Estado de cálculo: ocupar todo el bloque del formulario en móvil */
@media (max-width: 600px) {
  body.mobile-busy #vehicle_section { padding: 0 !important; }
  body.mobile-busy #vehicle_section > :not(#mobile-inline-status) { display: none !important; }
  body.mobile-busy #mobile-inline-status {
    display: flex !important;
    align-items: center; justify-content: center;
    width: 100%;
    min-height: calc(100vh - 220px); /* ocupa gran parte del viewport dentro del card */
    margin: 0 !important; padding: 24px !important;
  }
  body.mobile-busy #mobile-inline-status .mobile-status-card {
    width: 100%; max-width: 560px; border: none; box-shadow: none;
  }
}

/* Quitar padding a section-form-ctc en pasos específicos */
.form-step-2 #section-form-ctc,
.form-step-4 #section-form-ctc {
  padding: 0 !important;
}
  
  .loading-message {
    font-size: 16px;
    color: #333;
  }

/* =====================================================================
   =  Reservation Panel (Página 2) – Estilos "moderno" julio‑2025
   ===================================================================== */

/* Variables extra para el panel de reserva */
:root {
  --success-color: #10b981;
  --success-dark: #059669;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-light: #666666;
  --bg-white: #ffffff;
  --bg-gray: #f9f9f9;
  --bg-gray-light: #f5f5f5;
  --border-light: #e5e7eb;
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px rgba(255,68,68,0.15);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
}

/* --- CONTENEDOR PRINCIPAL DEL PANEL --- */
.tasacion-container {
  max-width: 1020px;
  margin: 20px auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease-out;
}

/* HEADER con gradiente verde‑éxito */
.tasacion-header {
  background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  border-radius: 12px;
}
.tasacion-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.10) 0%, rgba(5,150,105,0.10) 100%);
}
.tasacion-header * { position: relative; z-index: 1; }

.precio-titulo   { font-size: 16px;  font-weight: 500; margin-bottom: 8px; opacity: 0.95; letter-spacing:0.5px; }
.precio-valor    { font-size: 28px;  font-weight: 700; line-height:1.2; margin-bottom:4px; }

/* Más protagonismo en desktop */
@media (min-width: 768px) {
  .precio-valor { font-size: 36px; }
}
.precio-rango .desde,
.precio-rango .hasta   { font-size: 16px; font-weight: 400; opacity: 0.9; }
.precio-rango .valor   { font-size: 28px; font-weight: 700; margin: 0 4px; }
.precio-subtitulo      { font-size: 14px; opacity: 0.8; margin-top: 8px; }

/* --- SECCIÓN CONTENIDO (centros) --- */
.tasacion-content { padding: 24px 0; }
.centros-titulo   { font-size: 24px; font-weight:700; color:var(--text-primary); margin-bottom:20px; text-align:center; }
.centros-titulo::before { content: "Elige la sucursal que prefieras"; }
.centros-titulo { text-indent: -9999px; position: relative; }
.centros-titulo::before { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-indent: 0; }

/* Cards de sucursales */
.sucursales-lista         { margin:0; padding:0; width: 100%; display: grid; gap: 16px; }

/* En desktop, mostrar 2 sucursales por fila */
@media (min-width: 768px) {
  .sucursales-lista {
    grid-template-columns: 1fr 1fr;
  }
}
.sucursal-card            {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: left;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.4s ease-out both;
  width: 100%;
}
.sucursal-card:hover      { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }
.sucursal-card.selected   {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(255,0,0,0.02) 0%, rgba(255,0,0,0.01) 100%);
  box-shadow: var(--shadow-md);
}
.sucursal-card   input[type="radio"] { display:none; }

.sucursal-info            { display:flex; justify-content:space-between; align-items:flex-start; }
.sucursal-detalles        { flex:1; }
.sucursal-nombre          { font-size: 18px; font-weight:600; color:var(--text-primary); margin-bottom:6px; }
.sucursal-direccion       { font-size: 14px; color:var(--text-secondary); line-height:1.4; margin-bottom:4px; }
.sucursal-distancia       {
  display:inline-flex; align-items:center;
  background: var(--bg-gray-light); color:var(--text-secondary);
  font-size:16px; font-weight:500; padding:4px 8px;
  border-radius: var(--radius-sm); margin-top:8px;
}

/* checkmark círculo */
.sucursal-card::after {
  content:''; position:absolute; top:16px; right:16px;
  width:30px; height:30px; border:2px solid var(--border-color);
  border-radius:50%; transition:all 0.3s ease;
}
.sucursal-card.selected::after {
  background: var(--success-color); border-color: var(--success-color);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-size:16px; background-position:center; background-repeat:no-repeat;
}

/* --- CALENDARIO REFACTORIZADO COMPLETO --- */
/* Contenedor principal que será flex en desktop */
#abz-calendar-box {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

/* Título general para fecha y hora - COPIADO EXACTO DE .centros-titulo */
.calendario-titulo-general {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}

/* DESKTOP: Layout flex para calendario + horas lado a lado */
@media (min-width: 768px) {
  #abz-calendar-box {
    display: block !important; /* Cambiar a block para que el título esté arriba */
  }
  
  /* Contenedor flex para calendario + horas lado a lado */
  #abz-calendar-box .calendario-inline,
  #abz-calendar-box .horas-seccion {
    display: inline-block;
    vertical-align: top;
  }
  
  /* Calendario: 2/3 del ancho */
  #abz-calendar-box .calendario-inline {
    width: 65%; /* Un poco menos de 2/3 para dejar espacio */
    padding: 30px;
    margin-bottom: 0;
  }
  
  /* Horarios: 1/3 del ancho */
  #abz-calendar-box .horas-seccion {
    width: 33%;
    margin-top: 0 !important;
    padding-left: 20px;
  }
  
  /* Hacer el calendario más grande */
  .calendario-grid {
    gap: 6px;
  }
  
  .calendario-dia {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* Estilos base del calendario */
.calendario-titulo {
  display: none; /* Ocultar título individual */
}

/* Ocultar título individual de horas */
.horas-titulo {
  display: none; /* Ocultar título individual */
}

.calendario-inline {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
}
.calendario-header  { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.calendario-mes     { font-size:16px; font-weight:600; color:var(--text-primary); }
.calendario-nav     {
  background:none; border:none; width:32px; height:32px; border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all 0.2s ease; color:var(--text-secondary); font-size:18px;
}
.calendario-nav:hover { background: var(--bg-white); color:var(--text-primary); }

.calendario-grid            { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.calendario-dia-semana       { font-size:12px; font-weight:500; color:var(--text-light); text-align:center; padding:8px 4px; text-transform:uppercase; }
.calendario-dia,
.calendario-nav {
    /* vuelven a sus valores del diseño moderno */
    color: var(--text-secondary) !important;
    font-size: 14px;
    padding: 0;                  /* o 12px 8px si prefieres */
    text-transform: none;
}
.calendario-dia {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    margin: 2px auto;
}
.calendario-dia:focus {
    outline: 5px auto var(--primary-color);
}
.calendario-dia:hover:not(.deshabilitado) { background:var(--bg-white); color:var(--text-primary); }
.calendario-dia.seleccionado { border: 2px solid var(--primary-color); background: #fff; color: var(--text-primary); }
.calendario-dia.hoy          { border: 2px solid var(--success-color); background: #fff; color: var(--text-primary); }
.calendario-dia.deshabilitado{ opacity:.3; cursor:not-allowed; pointer-events:none; }
.calendario-dia.otro-mes     { color:var(--text-light); }

/* --- HORAS - TITULOS OCULTOS --- */
.horas-seccion  { margin-top:20px; }


.horas-grid     { display:grid; grid-template-columns:repeat(auto-fit,minmax(80px,1fr)); gap:8px; }

.hora-boton {
  background:var(--bg-white); border:2px solid var(--border-light);
  border-radius:var(--radius-md); padding:12px 8px; font-size:14px; font-weight:500;
  color:var(--text-secondary); cursor:pointer; transition:all 0.2s ease; text-align:center;
}
.hora-boton:focus {
  outline: 5px auto var(--primary-color);
}
.hora-boton:hover:not(.deshabilitado) { border-color:var(--primary-color); color:var(--primary-color); }
.hora-boton.seleccionado              { background:var(--primary-color); border-color:var(--primary-color); color:#fff; }
.hora-boton.seleccionado:hover        { background:var(--primary-color); border-color:var(--primary-color); color:#fff; }
.hora-boton.deshabilitado             { opacity:.5; cursor:not-allowed; pointer-events:none; }

/* --- BOTÓN RESERVA --- */
.boton-reserva {
  /* Reset de estilos anteriores */
  all: unset;
  
  /* Aplicar los mismos estilos que los botones principales */
  display: inline-block;
  background: #FF4444;
  color: white !important;
  padding: 4px 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255,68,68,0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: center;
  min-width: 160px;
  margin: 8px 0;
  height: 40px;
  line-height: 1.2;
  margin-top: 24px;
  display: none;
}

/* Efectos del botón reserva */
.boton-reserva::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 1;
}

.boton-reserva:hover::before {
  width: 150px;
  height: 150px;
}

.boton-reserva::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: autoShine 3s infinite;
  z-index: 2;
}

/* Hover effects */
.boton-reserva:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,68,68,0.3);
}

.boton-reserva:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* En mobile, mantener width 100% y evitar que se salga */
@media (max-width: 767px) {
  .boton-reserva {
    width: calc(100% - 40px) !important;
    max-width: calc(100vw - 80px) !important;
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
  }
}

/* --- FOOTER --- */
.tasacion-footer { padding: 20px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-gray);
    margin-top: 30px;
    border-radius: 12px 12px 12px 12px; }
.privacidad-texto { font-size:12px; color:var(--text-light); text-align:center; line-height:1.5; }
.privacidad-link  { color:var(--primary-color); text-decoration:none; }
.privacidad-link:hover { text-decoration:underline; }

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0);   }
}

/* --- RESPONSIVE ESPECÍFICO PARA .centros-titulo --- */
@media (max-width: 768px) {
  .centros-titulo {
    font-size: 20px !important;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    margin-bottom: 16px;
    padding: 0 15px; /* Añadir padding lateral para evitar que toque los bordes */
  }
  
  /* IMPORTANTE: También aplicar al ::before que contiene el texto real */
  .centros-titulo::before {
    font-size: 20px !important;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    width: calc(100% - 30px); /* Respetar el padding */
    text-align: center;
  }
}

@media (max-width: 480px) {
  .centros-titulo {
    font-size: 18px !important;
    padding: 0 20px; /* Más padding en móviles muy pequeños */
    white-space: nowrap; /* Evitar salto de línea si cabe en una línea */
    overflow: hidden;
    text-overflow: ellipsis; /* Si es demasiado largo, mostrar ... */
  }
  
  /* IMPORTANTE: También aplicar al ::before que contiene el texto real */
  .centros-titulo::before {
    font-size: 18px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 40px); /* Respetar el padding */
    max-width: 280px; /* Límite máximo para evitar desbordamiento */
  }
}

/* Para pantallas muy pequeñas (< 380px), permitir wrap pero controlado */
@media (max-width: 380px) {
  .centros-titulo {
    white-space: normal; /* Permitir wrap en pantallas muy pequeñas */
    font-size: 16px !important;
  }
  
  /* IMPORTANTE: También aplicar al ::before que contiene el texto real */
  .centros-titulo::before {
    font-size: 16px !important;
    white-space: normal;
    width: calc(100% - 40px);
    max-width: 240px;
  }
}

/* =====================================================================
   =  Responsive Design para Input de Matrícula y Botón de Búsqueda
   ===================================================================== */

/* 450px y más: Botón con texto "Buscar" */
@media (min-width: 450px) {
  .license-plate-input-group div[style*="display: flex"] {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
  }
  
  .license-complete-btn #license-btn-text {
    display: inline !important;
  }
  
  .license-complete-btn #license-btn-icon {
    margin-right: 5px !important;
  }
}

/* Menos de 450px: Solo icono */
@media (max-width: 449px) {
  .license-plate-input-group div[style*="display: flex"] {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
  }
  
  .license-plate-input-container {
    flex: 1 !important;
    min-width: 0 !important;
  }
  
  /* Resetear estilos problemáticos del botón en móviles */
  .ctc_wrap .license-plate-input-group button.license-complete-btn.btn,
  .ctc_wrap button#license_complete_btn.license-complete-btn {
    all: revert !important;
    display: inline-block !important;
    background: #FF4444 !important;
    color: white !important;
    border: none !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    min-width: unset !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    transition: all 0.2s ease !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    position: relative !important;
    overflow: visible !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
  }
  
  /* Resetear pseudoelementos problemáticos */
  .ctc_wrap .license-plate-input-group button.license-complete-btn.btn::before,
  .ctc_wrap .license-plate-input-group button.license-complete-btn.btn::after,
  .ctc_wrap button#license_complete_btn.license-complete-btn::before,
  .ctc_wrap button#license_complete_btn.license-complete-btn::after {
    display: none !important;
  }
  
  .license-complete-btn #license-btn-text {
    display: none !important;
  }
  
  .license-complete-btn #license-btn-icon {
    margin-right: 0 !important;
    font-size: 14px !important;
    color: white !important;
  }
  
  /* Hover simple */
  .ctc_wrap .license-plate-input-group button.license-complete-btn.btn:hover,
  .ctc_wrap button#license_complete_btn.license-complete-btn:hover {
    background: #e03e3e !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* --- RESPONSIVE (<640px) --- */
@media (max-width:640px){
  .tasacion-container{ margin:0 16px; border-radius:var(--radius-xl); }
  .tasacion-header   { padding:24px 20px; }
  .precio-valor,
  .precio-rango .valor { font-size:24px; }
  .sucursal-card     { padding:16px; margin-bottom: 0px; border: 1px solid #c3c3c3; }
  .calendario-inline { padding:16px; }
  .calendario-dia    { width:32px; height:32px; font-size:12px; }
  .horas-grid        { grid-template-columns:repeat(auto-fit,minmax(70px,1fr)); }
  .hora-boton        { padding:10px 6px; font-size:12px; }
}

/* =====================================================================
   =  Estilos para el resumen de tasación y iconos FontAwesome
   ===================================================================== */

/* Asegurar que el texto del resumen sea siempre negro */
.ctc_wrap details div,
.ctc_wrap details div *,
.ctc_wrap [style*="background:#f8f9fa"] div,
.ctc_wrap [style*="background:#f8f9fa"] div * {
    color: #333333 !important;
}

/* Asegurar que los iconos FontAwesome se muestren correctamente */
.fas, .fa, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-weight: 400 !important;
    font-family: "Font Awesome 6 Brands" !important;
}

/* Evitar que otros estilos interfieran con los iconos */
.ctc_wrap .fas::before,
.ctc_wrap .fa::before,
.ctc_wrap .far::before,
.ctc_wrap .fab::before {
    font-family: inherit !important;
}

/* Estilos específicos para el summary desplegable */
details[style*="margin-top:10px"] {
    margin-top: 10px !important;
}

details[style*="margin-top:10px"] summary {
    cursor: pointer !important;
    font-weight: 500 !important;
    color: #0066cc !important;
}

details[style*="margin-top:10px"] div[style*="background:#f8f9fa"] {
    background: #f8f9fa !important;
    padding: 12px !important;
    border-radius: 6px !important;
    margin-top: 8px !important;
    border: 1px solid #e2e8f0 !important;
}

details[style*="margin-top:10px"] div[style*="color:#2d3748"] {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #2d3748 !important;
}

details[style*="margin-top:10px"] div[style*="font-size:12px"] {
    margin-bottom: 8px !important;
    font-size: 12px !important;
    color: #333333 !important;
}

details[style*="margin-top:10px"] div[style*="font-size:12px"] strong {
    color: #1a1a1a !important;
}

/* =====================================================================
   =  Página de Confirmación (Página 4) – Estilos mejorados julio‑2025
   ===================================================================== */

.confirmation-container {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 32px;
    max-width: 750px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease-out;
}

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

.confirmation-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid #e5e7eb;
}

.success-badge {
    display: inline-block;
    padding: 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.confirmation-header .checkmark-icon {
    display: block;
}

.confirmation-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.2;
}

.confirmation-header .email-confirmation {
    font-size: 16px;
    color: #4b5563;
    margin: 0;
}

/* Destacado del vehículo y precio */
.vehicle-price-highlight {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.2);
}

.vehicle-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.vehicle-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.price-info {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.confirmation-body {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .confirmation-body {
        grid-template-columns: 1fr 1fr;
    }
}

.details-section h2,
.advantages-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    color: #ff0000;
}

.appointment-details {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.detail-content {
    flex: 1;
}

.detail-content strong {
    display: block;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 500;
}

.detail-content span {
    font-size: 15px;
    color: #111827;
    font-weight: 500;
}

.actions-row {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

@media (min-width: 480px) {
    .actions-row {
        grid-template-columns: 1fr 1fr;
    }
}

.map-button, .calendar-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.map-button.primary {
    background-color: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}

.map-button.primary:hover {
    background-color: #cc0000;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.calendar-button.secondary {
    background-color: #ffffff;
    color: #374151;
    border-color: #d1d5db;
}

.calendar-button.secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sección de ventajas mejorada */
.advantages-grid {
    display: grid;
    gap: 16px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.advantage-item:hover {
    border-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.advantage-text strong {
    display: block;
    font-size: 14px;
    color: #111827;
    font-weight: 600;
    margin-bottom: 2px;
}

.advantage-text span {
    font-size: 12px;
    color: #6b7280;
}

/* Eliminamos los estilos antiguos de la lista */
.advantages-section ul {
    display: none;
}

.advantages-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.advantages-summary p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.confirmation-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive mejoras */
@media (max-width: 640px) {
    .confirmation-container {
        margin: 10px;
        padding: 24px;
        border-radius: 16px;
    }
    
    .vehicle-price-highlight {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .price-info {
        text-align: center;
    }
    
    .confirmation-body {
        gap: 24px;
    }
    
    .confirmation-header h1 {
        font-size: 24px;
    }
    
    .vehicle-info h3 {
        font-size: 18px;
    }
    
    .price-value {
        font-size: 20px;
    }
}
