/*Fuentes y tipografía*/

body {
    zoom: 0.75;
}

* {
    font-family: "Times New Roman", Times, serif;
}

h3 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

/*Fondo y colores*/

body {
    background: radial-gradient(circle, #0f969c, #0f969c, #0c7078, #072e33, #05191b);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: whitesmoke;
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    cursor: url('../../images/Elementos/Cursor.svg'), auto;
}

.custom:hover, input:hover, a:hover {
    cursor: url('../../images/Elementos/Cursor_seleccion.svg'), auto;
}

/* Barra de Navegación */

.scrollable {
    height: 133.33%;
    max-height: 150vh;
    width: 133.33%; /* Compensa la reducción del zoom */
    overflow-y: auto;
}

.condiciones .scrollable {
    width: 100%; /* Compensa la reducción del zoom */
}

.scrollable::-webkit-scrollbar {
    width: 10px;
}

.scrollable::-webkit-scrollbar-track {
    background: #f1f1f100;
}

.scrollable::-webkit-scrollbar-thumb {
    background: #0f969c;
    border-radius: 5px;
}

.scrollable::-webkit-scrollbar-thumb:hover {
    background: #6da5c0;
}

/* Imagenes */

.Imagen, .Registro {
    width: 150px;
    height: 150px;
    margin: 10px;    
}

.Imagen {
    transform: translateX(-10%);
}

.metis-logo {
    width: 35px;
    height: 35px;
    transform: translateY(-35%);
    transform-origin: center;
    transition: transform 0.3s ease;
    position: relative;
}

.metis-logo:hover {
    transform: translateY(-35%) scale(1.1); /* Mantiene el mismo desplazamiento en Y */
}

.Registro {
    transform: translateX(10%);
}

/* Contenedores */

.wrapper {
    padding: 30px 40px;
    text-align: center;
    width: 35rem;
    margin: 40px auto;
    color: whitesmoke;
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(11, 15, 13, 0.5);
    border-radius: 12px;
}

.wrapper .input-box {
    position: relative;
    width: 97%;
    height: 50px;
    margin: 30px 0;
}

.wrapper p {
    color: whitesmoke;
}

.subcontainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 15px;
    line-height: 1.5;
}

/* Inputs */

input:-webkit-autofill {
    background-color: transparent !important;
    color: #ffffff !important; /* Mantiene el color del texto */
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.2) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill::first-line {
    color: #ffffff !important; /* Asegura que el texto también se mantenga blanco */
}

.input-box input, .custom {
    width: 100%;
    height: 100%;
    margin: 8px 0 10px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    border-color: #0e7944;
    border-radius: 40px;
    color: #fff;
    outline: none;
}

.input-box {
    display: flex;
}

.input-box .form-label {
    margin-right: 8px;
    display: inline-block;
    width: auto;
}

.input-box input:-webkit-autofill {
    -webkit-text-fill-color: #fff; 
    transition: background-color 5000s ease-in-out 0s; 
}

.input-box input {
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-10%);
    font-size: 20px;
}

.custom option {
    color: #000;
}

.custom{
    padding-left: 20px;
}

span.forgotpsd a {
    float: right;
    color: whitesmoke;
    padding-top: 16px;
}

.forgotpsd a, .register a {
    color: rgb(74, 146, 235);
    text-decoration: none;
}

.register {
    color: white;
    text-align: center;
}

input.error,
select.error {
    border: 2px solid red;
    background-color: #ffe6e6;
}

input:focus,
select:focus {
    outline: none;
}

.bx.bxs-graduation,
.bx.bx-calendar-week,
.bx.bx-male-female,
.bx.bx-home-alt-2 {
    margin-top: -8px;
}

/*Flatpickr*/

.fecha_nacimiento {
    font-size: 16px;               
    width: calc(100% - 110px);    
    padding: 4px;                
    margin-right: 48px;            
    background-color: transparent; 
    border-radius: 4px;          
}

.fecha_nacimiento{
    background-color: transparent !important; 
    color: white !important;                  
}

.fecha_nacimiento:focus {
    background-color: transparent !important; 
    color: white !important;                  
    border-color: #11D975 !important;       
}

/* Botones */

.button-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-neon, .btn-neon-red, .btn-neon-yellow {
    background: transparent;
    border-radius: 40px;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s;
    margin: 0 10px;
    height: 45px;
    border: none;
    width: 100%;
}

.btn-neon:hover, .btn-neon-yellow:hover, .btn-neon-red:hover {
    transform: scale(1.1);
    transition: background 0.3s, transform 0.2s;
    cursor: url('../../images/Elementos/Cursor_seleccion.svg'), auto;
}

.btn-neon:hover {
    background: #0f969c;
    box-shadow: 0 0 10px #0f969c, 0 0 40px #0f969c, 0 0 80px #0f969c;
}

.btn-neon-red:hover {
    background: #820606;
    box-shadow: 0 0 10px #820606, 0 0 40px #820606, 0 0 80px #820606;
}

.btn-neon-yellow:hover {
    background: #f58130;
    box-shadow: 0 0 10px #f58130, 0 0 40px #f58130, 0 0 80px #f58130;
}

/* Términos y Condiciones */

.terminos {
    width: 85%;
    max-width: 850px;
    text-align: justify;
    background-color: #ffffffe0;
    border-radius: 15px;
    margin: 50px auto;
    padding: 50px;
    color: black;
}

.terminos h2 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-align: left;
    font-size: 20px;
    margin: 0 0 20px;
    font-weight: bold;
}

#Modal {
    padding-top: 40px;
    padding-right: 150px;
}

#Modal .modal-content {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    width: 60%;
    left: 25%;
    height: 92%;
}

#Modal .close {
    position: absolute;
    margin-left: 23%;
    margin-top: 1%;
    left: 10px;
    background: none;
    font-size: 20px;
    color: white;
    cursor: url('../../images/Elementos/Cursor_seleccion.svg'), auto;
    z-index: 9999;
}

#Modal .close:hover {
    transition: background 0.3s, transform 0.2s;
    transform: scale(1.1);
}

#Modal .btn-neon-red, .modal-inicio .btn-neon-red {
    width: 2%;
    height: 30px;
    margin-bottom: 20px;
}

.wrapper.blurred-container, .Stylefooter.blurred-container {
    transition: filter 0.3s ease-in-out;
    filter: blur(4px);
}

/* Modal Principal*/
.sesion {
    display: none; 
    position: fixed; 
    top: 40%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    background-color: rgba(7, 46, 51, 0.9); 
    width: 450px;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
    z-index: 9999; 
}

.sesion .modal-content {
    background-color: transparent;
    margin: 0 auto 8% auto;
    border: none;
    width: 85%;
    border-radius: 10px;
}

.texto{
    margin: 20px;
    text-align: center;
}

.modal_titulo{
    margin-bottom: 0px;
}

.sesion .imagenModal {
    width: 130px;
    height: 130px;
    display: block;
    margin: 20px auto 5px;
}

.sesion .btn-neon-red {
    position: fixed;
    top: 10px; 
    left: 5px; 
    background: none;
    border: none;
    font-size: 15px; 
    width: 25px; 
    height: 25px; 
    text-align: center;
    line-height: 16px; 
    border-radius: 50%; 
}

/* Footer */
.Stylefooter {
    height: 180px;
    width: 1500px;
    background-color: #000000c7;
    align-items: center;
    border-radius: 15px;
    margin-top: 15px;
    text-align: center;
    padding-top: 15px;
}

.Stylefooter a {
    text-decoration: none;
    color: white;
}

.Stylefooter span {
    display: inline-block;
    width: 20px;
}

.Stylefooter i {
    font-size: 30px;
}

.Stylefooter i:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Eliminar botón de aumento numérico */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}