:root {
    --color-primario: #D001DF;
    --color-secundario: #ffffff;
    --ancho-maximo-formulario: 90%; /* En lugar de 600px fijos */
    --padding-inputs: 0.8rem; /* Medida relativa */
    --border-radius: 0.5rem;
    --tamanio-fuente-movil: 1rem;
}


/* Estilos específicos del formulario */
.form-header {
    display: flex;
    justify-content: center; 
    width: 100%;
    padding: 20px 0; 
}

.form-logo img {
    height: 150px; /* Tamaño Logo */
    display: inline-block; 
    margin: 0 auto; 
}

/* Contenedor de Progressbar */
.progress-container {
    width: 20%;
    margin: 10px auto;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 10px;
}

.progress-line {
    position: absolute;
    height: 2px; /* Grueso de la linea */
    background: #ffffff00;
    width: 0%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(208, 1, 223, 0);
}

.progress-bar::before {
    content: none;
}

.progress-step {
    width: 22px;  
    height: 22px;
    border-radius: 50%;
    background: #000000; /* Se cambio Color */
    border: 2px solid #D001DF;
    display: flex;  /* Nuevo */
    align-items: center;  
    justify-content: center;  
    font-family: 'TT Chocolates Trial Bold';
    color: #D001DF;
    font-size: 12px;
}

.progress-step.active {
    background: #D001DF;
    color: #ffffff;  /* Texto negro */
    box-shadow: 0 0 15px rgba(208, 1, 223, 0.5);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    display: flex;
    justify-content: space-between;
    width: 100%; 
    margin: 5px auto 0;
    position: relative;
    font-family: 'TT Chocolates Trial Bold';
    color: #fff;
}

.progress-labels span {
    font-family: 'TT Chocolates Trial Bold';
    color: #fff;
    font-size: 12px; 
    width: auto;
    text-align: center;
    position: static;
    transform: none;
    padding: 0 5px;
    display: inline-block;
    margin: 0 -28px;
}

/* Posicionar cada etiqueta debajo de su paso correspondiente */
.progress-labels span:nth-child(1) {
    right: 75%;
}
.progress-labels span:nth-child(2) {
    left: 50%;
}
.progress-labels span:nth-child(3) {
    left: 110%;
}

/* Animaciones para la barra de progreso */
@keyframes stepPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px #D001DF; }
    100% { transform: scale(1); }
}

@keyframes neonGlow {
    from { box-shadow: 0 0 5px #D001DF; }
    to { box-shadow: 0 0 20px #D001DF; }
}

.progress-step {
    transition: all 0.3s ease-in-out;
    animation: neonGlow 1.5s infinite alternate;
}

.progress-step.active {
    animation: stepPulse 0.8s ease-out;
    animation-fill-mode: forwards;
}

@media (max-width: 768px) {
    .progress-container {
        width: 60%; /* O el valor que se ajuste mejor */
    }
}


.form-section {
    max-width: 600px;
    margin: 1.25rem auto;
    padding: 1.25rem;
    display: none;
}

.form-section h2 {
    text-align: center;
    font-size: 2.5em; 
    font-family: 'Big Noodle Titling', sans-serif;
    color: #DE3FF3;
    text-shadow: 0 0 10px rgba(208, 1, 223, 0.5);
    margin-bottom: 30px;
    /*letter-spacing: 1.5px;*/
}

/* Versión móvil */
@media (max-width: 768px) {
    .form-section h2 {
        font-size: 2em; /* 32px */
        margin-bottom: 20px;
    }
}

.form-section.active {
    display: block;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: 'TT Hoves Pro Trl Cnd';
    color: #fff;
    font-weight: bolder;
}

.form-group input {
    width: 100%;
    padding: var(--padding-inputs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    border-radius: var(--border-radius);
    color: #fff;
    font-family: 'TT Chocolates Trl Medium';
    box-sizing: border-box; /* Esto evita que se salgan del contenedor */
}

.cta-button-1 {
    background: #D001DF;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'TT Chocolates Trial Bold';
    display: block;
    margin: 30px auto 0;
    margin-bottom: 30px;
    font-size: 19px;
}

.cta-button-f {
    background: #D001DF;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'TT Chocolates Trial Bold';
    display: block;
    margin: 30px auto 0;
    margin-bottom: 30px;
    /*  margin-left: 1px; */
    font-size: 17px;
}

/* Checkboxes y radios personalizados */
.checkbox-group, .radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-container, .radio-container {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'TT Hoves Pro Trl Cnd';
    color: #fff;
}

input[type="checkbox"], input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #D001DF;
}


.hidden {
    display: none !important;
}

.neon-link {
    color: #D001DF;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(208, 1, 223, 0.5);
}

/* Campos condicionales */
#web-info, #redes-info {
    margin-top: 10px;
}

/* Estilos para Sección 3 */
.neon-text {
    font-family: 'TT Chocolates Trial Bold';
    font-size: 28px;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 0 10px rgba(208, 1, 223, 0);

}

input[type="datetime-local"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #D001DF;
    border-radius: 5px;
    color: #fff;
    font-family: 'TT Chocolates Trl Medium';
}

.hint-box {
    background: #000000;       /* Fondo gris muy claro */
    border: 1px solid #ccc;    /* Borde sutil en gris */
    border-radius: 5px;        /* Bordes más suaves */
    padding: 20px 10px;
    margin: 15px 0 15px 1px;
    box-shadow: none;          /* Sin sombras */
    position: relative;
    max-width: 300px;
    margin-right: auto;
}



.hint {
    display: block;
    color: #ffffff;
    font-family: 'TT Hoves Pro Trl Cnd';
    font-size: 12px;
    line-height: 1.4;
    margin: 8px 0;
    padding-left: 25px;
    position: relative;
}

.hint::before {
    content: "ⓘ";
    color: #ffffff;
    position: absolute;
    left: 0;
    font-size: 15px;
    line-height: 1;
}

.hint-telefono {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 8px 0;
    padding-left: 25px;
    position: relative;
    font-family: 'TT Hoves Pro Trl Cnd';
}

.hint-telefono::before {
    content: "ⓘ";
    color: #ffffff;
    position: absolute;
    left: 0;
    font-size: 15px;
    line-height: 1;
}



/* ===================== */
/* EFECTO MENSAJE ÉXITO */
/* ===================== */
.mensaje-exito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.neon-thanks {
    font-family: 'Big Noodle Titling', sans-serif;
    font-size: 61px;
    color: #D001DF;
    text-shadow: 
    0 0 8px rgba(208, 1, 223, 0.5),  
    0 0 15px rgba(208, 1, 223, 0.3);  
    margin-bottom: 30px;
    transform: scale(0);
    opacity: 0;
}

.neon-subtext {
    font-family: 'TT Chocolates Trial Bold', sans-serif;
    font-size: 28px;
    color: #fff;
    text-align: left;
    /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); */
    line-height: 1.5;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
}

.mensaje-exito.active {
    display: flex; /* Se activa con la clase "active" */
}


.mensaje-exito.active .neon-thanks {
    animation: 
        neon-pulse-success 1.5s infinite alternate,
        scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s;
}

.mensaje-exito.active .neon-subtext {
    animation: fadeInUp 0.8s ease-out forwards 0.8s;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* Animación Cohete */
.cohete-container {
    position: fixed;
    bottom: 20px; /* Inicia más arriba */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    animation: contenedor 3s forwards; /* Nueva animación */
}
.cohete {
    width: 150px; /* Ajusta según el tamaño de tu imagen */
    height: auto;
    font-size: 60px;
    transform: rotate(-90deg);
    animation: despegue 3s cubic-bezier(0.33, 0.1, 0.7, 1) forwards;
    animation-delay: 0.2s; /* Cohete inicia ligeramente después */
}



.humo {
    width: 40px; /* Aumenta el ancho para mejor visibilidad */
    height: 0; /* Inicia en 0 para la animación */
    background: linear-gradient(to top, 
        rgba(166, 0, 255, 0.8),  /* Naranja para humo más realista */
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    position: absolute;
    bottom: -70px; /* Posición debajo del cohete */
    left: 50%;
    transform: translateX(-50%);
    animation: humo 3s ease-out forwards; /* Duración extendida */
    animation-delay: 0.1s; /* Humo comienza primero */
    filter: blur(8px); /* Efecto más suave */
    z-index: -1; /* Detrás del cohete */
}

@keyframes despegue {
    0% { 
        transform: translateY(0) rotate(-90deg);
        opacity: 1;
    }
    90% { 
        transform: translateY(-100vh) rotate(-90deg); /* Termina el movimiento al 90% */
        opacity: 1;
    }
    100% { 
        transform: translateY(-120vh) rotate(-90deg); /* Último 10% para fade-out */
        opacity: 0;
    }
}

@keyframes humo {
    0% { 
        height: 0; 
        opacity: 1; 
    }
    80% {
        height: 200px; /* Termina expansión al 80% */
        opacity: 0.8;
    }
    100% { 
        height: 0; /* Se contrae al final */
        opacity: 0;
        filter: blur(15px);
    }
}

@keyframes contenedor {
    0% { bottom: 20px; }
    100% { bottom: 100vh; } /* Acompaña el movimiento del cohete */
}

/* Animación Estrellas Fugaces */
.estrella {
    position: fixed;
    width: 3px;
    height: 3px;
    background: linear-gradient(
        to right,
        rgba(176, 5, 255, 0.8),
        rgba(255, 255, 255, 0)
    );
    filter: drop-shadow(0 0 5px white);
    animation: estrella-fugaz 1.5s linear forwards;
    z-index: 9998;
}

@keyframes estrella-fugaz {
    0% {
        opacity: 0;
        transform: translate(-100vw, -100vh) rotate(-45deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(100vw, 100vh) rotate(-45deg);
    }
}

/* Ajustes específicos para móvil */
@media (max-width: 768px) {
    .mensaje-exito {
        padding: 15px;
        justify-content: flex-start; /* Alinea contenido en la parte superior */
    }

    .neon-thanks {
        font-size: 2.5rem !important; /* 40px */
        line-height: 1.2;
        margin-bottom: 15px;
        text-shadow: 0 0 5px rgba(208, 1, 223, 0.5);
        margin-right: 12px;
    }

    .neon-subtext {
        font-size: 1.1rem !important; /* 17.6px */
        text-align: left;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .info-box {
        width: 100% !important;
        margin-left: 1px !important;
        margin-right: auto !important;
        width: calc(100% - 20px) !important;
        transform: translateX(-5px);
        padding: 12px !important;
        font-size: 0.9rem !important;
        text-align: left;
        transform: none !important;
    }

    /* Ajustes cohete móvil */
    .cohete-container {
        bottom: 50px !important;
        scale: 0.8;
    }

    /* Estrellas móvil */
    .estrellas-container {
        top: 20% !important;
    }
}

/* Pantallas muy pequeñas (ej: iPhone SE) */
@media (max-width: 375px) {
    .neon-thanks {
        font-size: 2rem !important; /* 32px */
    }

    .neon-subtext {
        font-size: 1rem !important; /* 16px */
    }

    .info-box {
        font-size: 0.8rem !important;
    }
}

.btn-eliminar {
    background: #ff4444;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-eliminar:hover {
    background: #cc0000;
}

/* Agrega esto al final de tu style.css */
/* ========== VALIDACIÓN DE FORMULARIO ========== */
.form-group.invalid input,
.form-group.invalid .checkbox-group,
.form-group.invalid .radio-group {
    border-color: #D001DF !important;
    animation: input-error-vibration 0.4s ease;
}

.form-group.invalid input {
    box-shadow: 0 0 0 2px rgba(255, 56, 96, 0) !important;
}

.error-message {
    color: #ff3860;
    font-family: 'TT Hoves Pro Trl Cnd';
    font-size: 16px;
    margin-top: 8px;
    display: none;
}

.form-group.invalid .error-message {
    display: block;
}

@keyframes input-error-vibration {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* Estilo personalizado para el selector de horarios */
select#hora {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #D001DF;
    border-radius: 5px;
    color: #717171;
    font-family: 'TT Chocolates Trl Medium';
    font-size: 16px;
    /* Elimina la apariencia por defecto para poder personalizar */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Agrega una flecha personalizada usando una imagen SVG en línea */
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23D001DF' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select#hora:focus {
    border-color: #A135FF;
    outline: none;
    box-shadow: 0 0 5px rgba(208, 1, 223, 0.5);
}

.info-horario {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 6px;
    display: block;
  }
  
/* Texto de confirmación */
.info-box {
    text-align: left;
    width: min(90%, 600px); /* Usa el menor valor entre 90% del contenedor o 600px */
    margin: 15px auto; /* Centrado real */
    padding: 2vh 3vw; /* Unidades relativas al viewport */
    font-family: 'TT Chocolates Trial Bold', sans-serif;
    color: #fff;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Tamaño responsive */
    line-height: 1.5;
}

/* Animaciones cuando está activo */
.mensaje-exito.active .info-box {
    animation: 
        fadeInUp 0.8s ease-out forwards 1.2s, 
        text-glow 2s infinite alternate 2s;
}

/* Nueva animación para brillo sutil */
@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 8px rgba(255,255,255,0.3); }
    50% { text-shadow: 0 0 12px rgba(255,255,255,0.5); }
}

.label-horario {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.label-horario.visible {
    opacity: 1;
    transform: translateY(0);
}


#horarios-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    max-width: 360px;
}

.btn-horario {
    background: #000; /* Fondo negro para que combine con el estilo general */
    color: #fff;
    border: 1px solid #ffffff;
    padding: 5px 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-horario:hover {
    background: #222;
}

.btn-horario.selected {
    background: #D001DF;
    color: #000;
}

/* Ocultar input de calendario */
#fecha {
    display: none;
}


/* ▼▬▬▬ ESTILOS FLATPICKR PERSONALIZADOS ▬▬▬▼ */

/* Estilos personalizados para Flatpickr */
.flatpickr-calendar {
    background: #000000 !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 15px rgba(208, 1, 223, 0.3) !important;
    border-radius: 10px !important;
}

/* Días de la semana */
.flatpickr-weekdays {
    background: rgba(208, 1, 223, 0) !important;
    border-bottom: 1px solid #ffffff !important;
}

span.flatpickr-weekday {
    color: #ffffff !important;
    font-family: 'TT Chocolates Trial Bold' !important;
}

/* Días normales */
.flatpickr-day {
    color: #fff !important;
    font-family: 'TT Hoves Pro Trl Cnd' !important;
    border-radius: 5px !important;
}

/* Días deshabilitados */
.flatpickr-day.disabled, 
.flatpickr-day.disabled:hover,
.flatpickr-day.flatpickr-disabled, 
.flatpickr-day.flatpickr-disabled:hover {
    color: #999 !important;
    background: rgba(50, 50, 50, 0.3) !important;
    cursor: not-allowed;
    text-decoration: line-through !important;
    border-color: transparent !important;
    opacity: 0.7 !important; /* Añade transparencia */
}

/* Día seleccionado */
.flatpickr-day.selected {
    background: #D001DF !important;
    border-color: #D001DF !important;
    box-shadow: 0 0 10px rgba(208, 1, 223, 0.5) !important;
}

/* Día hover */
.flatpickr-day:hover {
    background: rgba(208, 1, 223, 0.2) !important;
}

/* Mes y año */
.flatpickr-current-month {
    color: #9e9e9e !important;
    font-family: 'Big Noodle Titling' !important;
}

/* Flechas de navegación */
.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #ffffff !important;
}

/* Input del mes/year */
.numInputWrapper span.arrowUp:after {
    border-bottom-color: #D001DF !important;
}

.numInputWrapper span.arrowDown:after {
    border-top-color: #ffffff !important;
}

.flatpickr-monthDropdown-months,
.flatpickr-yearDropdown {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #D001DF !important;
    border-radius: 5px !important;
    font-family: 'Big Noodle Titling' !important;
}

/* Estilo para el texto "Seleccionar todos" */
.select-all .neon-check {
    color: #ffffff;
    font-family: 'TT Hoves Pro Trl Cnd';
}

/* Estilos específicos para aviso de privacidad */
.aviso-privacidad {
    background: #000;
    color: #fff;
    min-height: 100vh;
}

.contenedor-aviso {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.neon-titulo {
    font-family: 'Big Noodle Titling', sans-serif;
    color: #D001DF;
    text-shadow: 0 0 8px rgba(208, 1, 223, 0.3);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.subtitulo-neon {
    font-family: 'TT Chocolates Trial Bold';
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border-left: 3px solid #D001DF;
    padding-left: 15px;
    margin: 25px 0;
}

.lista-aviso li {
    margin: 10px 0;
    line-height: 1.6;
}

.destacado-neon {
    color: #D001DF;
    font-weight: bold;
}

.columna-finalidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .neon-titulo {
        font-size: 2em;
    }
    
    .contenedor-aviso {
        padding: 20px 15px;
    }
}

/* Botón discreto "Atrás" */
.cta-button-2 {
    background: transparent;           /* Fondo transparente para no competir con los botones principales */
    color: #D001DF;                    /* Color de acento, consistente con la paleta de neón */
    border: 2px solid #D001DF;          /* Borde sutil en el mismo tono de acento */
    padding: 10px 20px;                /* Tamaño más compacto que los botones grandes */
    border-radius: 25px;               /* Bordes redondeados para mantener cohesión con el resto */
    font-family: 'TT Chocolates Trial Bold', sans-serif; /* Uso de la misma fuente en neón */
    font-size: 16px;                   /* Tamaño de fuente ligeramente menor para discreción */
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    display: inline-block;
    text-align: center;
    margin: 10px 5px;                  /* Margen para separar del resto de elementos */
}

.cta-button-2:hover {
    background: #D001DF;               /* Fondo de acento al pasar el mouse */
    color: #fff;                       /* Texto blanco para contraste */
}

@media (max-width: 768px) {
    :root {
      --ancho-maximo-formulario: 95%;
      --padding-inputs: 0.6rem;
      --tamanio-fuente-movil: 0.875rem;
    }
  
    .form-section h2 {
      font-size: 2rem !important;
    }
    
    .cta-button-1, .cta-button-2 {
      width: 100%;
      padding: 0.8rem;
      font-size: var(--tamanio-fuente-movil);
    }
    
    .progress-labels span {
      font-size: 0.7rem;
      margin: 0 -25px;
    }
  }
  
  @media (max-width: 480px) {
    .form-logo img {
      height: 100px; /* Reducción proporcional */
    }
    
    .progress-step {
      width: 18px;
      height: 18px;
      font-size: 0.75rem;
    }
  }

  /* Nuevos estilos para el botón de regreso */
.btn-regresar {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
    z-index: 100;
}

.btn-regresar svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px rgba(208, 1, 223, 0.3));
}

.btn-regresar:hover {
    transform: translateX(-3px);
}

/* Ajuste para secciones */
.form-section {
    position: relative; /* Necesario para posicionar la flecha */
    padding-top: 60px !important; /* Espacio para la flecha */
}

/* Versión móvil */
@media (max-width: 768px) {
    .btn-regresar {
        top: 15px;
        left: 15px;
    }
    
    .btn-regresar svg {
        width: 24px;
        height: 24px;
    }
    
    .form-section {
        padding-top: 50px !important;
    }
}

.label-horario {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
}

.label-o.visible {
    opacity: 1;
    transform: translateY(0);
    display: block !important;
}

.form-section {
    overflow-x: hidden; /* Evita desplazamiento horizontal no deseado */
    touch-action: pan-y; /* Permite sólo desplazamiento vertical */
}

/* Feedback visual durante el swipe */
.form-section.active {
    transition: transform 0.3s ease;
}

.form-section.swipe-back {
    transform: translateX(-30px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.spinner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-container.hidden {
    display: none;
}

/* Estilo para botón deshabilitado */
.cta-button-f:disabled {
    background: #6d0b75;
    cursor: not-allowed;
    opacity: 0.8;
}

.spinner-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

.spinner-text {
    color: #ffffff;
    font-family: 'TT Chocolates Trial Bold';
    font-size: 14px;
    
/*text-shadow: 0 0 8px rgba(208, 1, 223, 0.3);*/
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-container.hidden {
    display: none;
}

/* Evita zoom en iOS: inputs con font-size mínimo 16px */
@media only screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="radio"],
    input[type="checkbox"],
    input[type="datetime-local"],
    select,
    textarea {
      font-size: 16px;
    }
  }
  
  

  /* Estilos para los placeholders */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-family: 'TT Chocolates Trl Medium', sans-serif;
    color: #717171;
    opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
    font-family: 'TT Chocolates Trl Medium', sans-serif;
    color: #717171;
    opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
    font-family: 'TT Chocolates Trl Medium', sans-serif;
    color: #717171;
    opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
    font-family: 'TT Chocolates Trl Medium', sans-serif;
    color: #717171;
    opacity: 1;
}

/* Específicamente para los inputs de la sección 2 */
#marca::placeholder,
#producto::placeholder {
    font-family: 'TT Chocolates Trl Medium', sans-serif;
    color: #717171;
}