/* =====================================
   ESTILOS PARA formulario2.html
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background-image: url("fondo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color:#fff;
    padding:40px 20px;
}

.form-container{
    max-width:900px;
    margin:auto;
    background:#161616;
    padding:40px;
    border-radius:20px;
    box-shadow:0 0 25px rgba(0,255,100,.15);
}

h2{
    text-align:center;
    color:#39ff14;
    margin-bottom:35px;
    font-size:34px;
}

.question{
    background:#202020;
    border-left:5px solid #39ff14;
    padding:20px;
    margin-bottom:25px;
    border-radius:10px;
}

.question label{
    display:block;
    margin-bottom:10px;
    font-size:17px;
    font-weight:bold;
}

.question input,
.question textarea,
.question select{
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #333;
    background:#2a2a2a;
    color:white;
    font-size:15px;
}

.question textarea{
    min-height:100px;
}

.question input:focus,
.question textarea:focus,
.question select:focus{
    border-color:#39ff14;
    outline:none;
}

.info{
    background:#113323;
    border-left:5px solid #39ff14;
    padding:15px;
    margin-bottom:25px;
    border-radius:10px;
}

button[type="submit"]{
    width:100%;
    padding:15px;
    background:#39ff14;
    color:white;
    font-size:18px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

button[type="submit"]:hover{
    background:#39ff14;
}
/*==========================
PAGINA DE EXITO
==========================*/

.success-container{

max-width:700px;

margin:120px auto;

background:#171717;

padding:50px;

border-radius:20px;

text-align:center;

box-shadow:0 0 40px rgba(57,255,20,.2);

}

.check{

width:120px;

height:120px;

background:#39ff14;

color:#111;

font-size:70px;

font-weight:bold;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

margin:auto;

margin-bottom:30px;

}

.success-container h1{

color:#39ff14;

margin-bottom:20px;

font-size:38px;

}

.success-container p{

font-size:18px;

line-height:1.7;

margin-bottom:15px;

}

.loader{

margin:40px auto;

width:70px;

height:70px;

border-radius:50%;

border:6px solid #333;

border-top:6px solid #39ff14;

animation:girar 1s linear infinite;

}

@keyframes girar{

100%{

transform:rotate(360deg);

}

}

.redireccion{

color:#39ff14;

margin-bottom:35px;

font-weight:bold;

}

.btn-home{

display:inline-block;

background:#39ff14;

color:#111;

padding:15px 40px;

border-radius:10px;

text-decoration:none;

font-weight:bold;

transition:.3s;

}

.btn-home:hover{

transform:translateY(-3px);

}
/* ===== PASOS DEL FORMULARIO ===== */

.step{
    display:none;
    animation: aparecer 0.5s ease;
}

.step.active{
    display:block;
}

@keyframes aparecer{

    from{
        opacity:0;
        transform:translateX(50px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}
/*==========================
BOTONES DEL FORMULARIO
==========================*/

.buttons{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:35px;
    gap:15px;
}

.buttons button{
    flex:1;
    padding:15px 25px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.35s ease;
    letter-spacing:.5px;
}

/* Botón Anterior */
.buttons button:first-child{
    background:transparent;
    color:#39ff14;
    border:2px solid #39ff14;
}

.buttons button:first-child:hover{
    background:#39ff14;
    color:#111;
    transform:translateY(-3px);
    box-shadow:0 0 20px rgba(57,255,20,.35);
}

/* Botón Siguiente */
.buttons button:last-child{
    background:linear-gradient(135deg,#39ff14,#22c55e);
    color:#111;
    font-weight:bold;
    box-shadow:0 8px 20px rgba(57,255,20,.25);
}

.buttons button:last-child:hover{
    transform:translateY(-3px);
    box-shadow:0 0 25px rgba(57,255,20,.5);
}

/* Botón Enviar */
button[type="submit"]{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#39ff14,#22c55e);
    color:#111;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 8px 20px rgba(57,255,20,.25);
}

button[type="submit"]:hover{
    transform:translateY(-3px);
    box-shadow:0 0 30px rgba(57,255,20,.5);
}

