/* Estilos generales (por defecto) */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url("../images/ima.5.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section {
    position: relative;
    max-width: 400px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(55px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
}

h1 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
}

.inputbox {
    position: relative;
    margin: 40px 0;
}

.inputbox label {
    position: absolute;
    top: -15px;
    left: 5px;
    color: #fff;
    font-size: 1rem;
    pointer-events: none;
    transition: none;
    margin-top: -12px;
}

/* Estilo general para los inputs */
.inputbox input {
    width: 100%;
    height: 60%;
    background: white; /* Fondo blanco */
    border: 2px solid #fff; /* Borde blanco */
    border-radius: 25px; /* Bordes redondeados */
    outline: none;
    font-size: 1rem;
    padding: 10px 20px;
    color: #333; /* Color del texto */
    transition: all 0.3s ease; /* Suaviza el cambio de estilo */
}

/* Estilo para los inputs autocompletados (en caso de que el navegador autocompletar) */
input:-webkit-autofill {
    background-color: white !important; /* Fondo blanco para el autocompletado */
    border: 2px solid #fff !important; /* Borde blanco para el autocompletado */
    color: #333 !important; /* Color del texto */
}

/* Estilo para el input cuando se encuentra en foco (es decir, cuando el usuario hace clic en el campo) */
.inputbox input:focus {
    border: 2px solid #4CAF50; /* Borde verde claro cuando está enfocado */
}

/* Estilo para el campo de autocompletado cuando está enfocado */
input:-webkit-autofill:focus {
    border-color: #4CAF50 !important; /* Borde verde claro para autocompletado en foco */
}


button {
    color:black;
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background-color: rgb(255, 255, 255, 1);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

button:hover {
    background-color: rgb(255, 255, 255, 0.5);
}

.register {
    font-size: 0.9rem;
    color: #fff;
    text-align: left;
    margin: 25px 0 10px;
}

.register p a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    margin-left: 10px;
}

.register p a:hover {
    text-decoration: underline;
}

.Forget label {
    color: white;
}

.Forget a {
    color: hsla(224, 80%, 57%, 0.95); /* Azul resaltado */
    font-weight: bold; /* Hace que resalte más */
    text-decoration: underline; /* Subrayado para mayor visibilidad */
}

.Forget a:hover {
    color:hsla(229, 89%, 48%, 0.95);
}

.Register p{
    color:#fff;
    font-size: 1rem;
    text-align: center;
}

.Register a{
    color:hsla(224, 80%, 57%, 0.95); 
    font-weight: bold;
    text-decoration: underline;
}

.Register a:hover {
    color:hsla(229, 89%, 48%, 0.95);
}

