html {
    scroll-behavior: smooth;
}

.formulario {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 25px;
    border-radius: 20px;
    background: #111;
    border: 1px solid #ff9100;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 145, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;

    & strong {
        color: #ffce00;
    }

    & h1 {
        font-size: 1.5em;
        text-align: center;
    }

    & input::placeholder {
        color: #fff;
    }

    & .mitad {
        width: 50%;
    }

    & label[for="femenino"],
    & label[for="masculino"],
    & label[for="si"],
    & label[for="no"] {
        margin-right: 20px;
        color: white;
        /* font-weight: normal; */
    }

    & input[type="radio"] {
        margin-right: 8px;
        accent-color: #ff9100;
    }

    & input[type="date"] {
        background-color: #222;
        color: white;
        border: none;
        border-radius: 10px;
    }

    & input[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(1);
    }

    & label {
        /* color: #ffce00; */
        /* font-weight: 600; */
        font-size: 0.7em;
        margin-bottom: 5px;
        display: inline-block;
    }

    .genero {
        font-size: .9em;
    }
}

.categoria {
    background-color: #222;
    color: #fff;
    border: none;
    width: 100%;
    border-radius: 10px;
}

.boton-registro {
    width: 50%;
    padding: 12px;
    margin: 10px auto;
    background: linear-gradient(to right, #ffce00, #ff9100);
    border: none;
    border-radius: 10px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.boton-registro:hover {
    background: linear-gradient(to right, #ffc400, #ff6d00);
}

.form_contenedor {
    padding: 30px 25px;
    background-color: #000;
    background-image: url("data:image/svg+xml;utf8,<svg width='8' height='8' xmlns='http://www.w3.org/2000/svg'><circle cx='1' cy='1' r='1' fill='%23ffce00' fill-opacity='0.1'/></svg>");
    /* background-image: url("../img/elementos/puntos2.svg"); */
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 10px 10px;
}

.fila-formulario {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* margin-bottom: 10px; */
}

.campo-individual {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
}


.campo-icono {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #222;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    box-shadow: inset 0 0 5px rgba(255, 145, 0, 0.3);

    & input {
        /* width: 100%; */
        background: none;
        border: none;
        outline: none;
        color: white;
        align-items: flex-start;
    }

    & .inputform {
        flex: 1;
    }

    & i {
        color: #ff9100;
        margin-right: 10px;
        font-size: 18px;
        min-width: 20px;
        text-align: center;
    }
}

select,
select option {
    position: relative;
    z-index: 2;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 10px;
}

.mensaje-confirmacion {
    font-size: .9em;

    & .mensaje-banner {
        margin: auto;
        text-align: center;
    }
}

.contenedor-mensajes-banner {
    border: 1px solid #ff9100;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 145, 0, 0.2);
    display: inline-block;
    /* width: 50%; */
}

.emparejamiento {
    width: 100%;
    margin-bottom: 10px;
}

.mensaje-banner i {
    color: #ffce00;
    margin-right: 8px;
}

.contenedor-mensajes-error {
    border: 1px solid #ff4c4c;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    display: inline-block;
    max-width: 600px;
}

.mensaje-error i {
    color: #ff4c4c;
    margin-right: 8px;
}



.aceptarterminos {
    font-size: .9em;
    margin-top: 15px;
    gap: 15px;
    width: 100%;

    & a {
        color: #ffce00;
        text-decoration: none;

        &:hover {
            color: #ff9100;
        }
    }
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 9999s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
    background-color: #222 !important;
    caret-color: white;
    box-shadow: 0 0 0px 1000px #222 inset !important;
}

@media (max-width: 768px) {

    .fila-formulario {
        gap: 0;
    }
}


/* 
##     ##  #######  ########     ###    ##       
###   ### ##     ## ##     ##   ## ##   ##       
#### #### ##     ## ##     ##  ##   ##  ##       
## ### ## ##     ## ##     ## ##     ## ##       
##     ## ##     ## ##     ## ######### ##       
##     ## ##     ## ##     ## ##     ## ##       
##     ##  #######  ########  ##     ## ######## */
.modal {
    display: block;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    color: #ffffff;
    background-color: #111;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ff9100;
    width: 380px;
    text-align: center;
    letter-spacing: 1.5px;
    border-radius: 10px;
}

.modal-content #aceptarButton {
    margin: 12px auto 0; 
    padding: 10px 20px;
    background-color: #ff9100;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block; 
    font-size: 13px;
}

.elemento-oculto {
        display: none !important;
}

/*Responsivo*/
@media (max-width: 768px) {
    .modal-content {
        width: 85%;
        margin: 30% auto; 
        padding: 15px;
    }

    .modal-content h3 {
        font-size: 16px; 
        line-height: 1.4;
    }

    .modal-content #aceptarButton {
        padding: 8px 16px; 
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 40% auto; 
        width: 90%;
    }
}