/* ESTILOS PARA LOGIN, REGISTRO & RECUPERAR CONTRASEÑA */

/*======================= LOGIN =======================*/
.login-section {
    width: 100%;
    max-width: 85%;  /* Haciendo la sección más ancha */
    margin: 0 auto;
    padding: 80px;
    box-sizing: border-box;
}

.login-title {
    text-align: center;
    color: navy;
    font-size: 2rem;
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
    width: 100%;
}

.login-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid gray;
    font-size: 1rem;
    outline: none;
}

.eye-icon {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    fill: lightgray;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.forgot-password {
    text-align: left;
}

.forgot-password a {
    color: #007BFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-button {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}

.login-button:hover {
	background-color: #00509E; /* Color más oscuro para hover */
}

.login-icon {
    fill: white;
    width: 20px;
    height: 20px;
}

.register {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.register a {
    color: #007BFF;
    text-decoration: none;
}

/* Responsividad */
@media (max-width: 768px) {
    .login-section {
        padding: 15px;
        padding-bottom: 80px ;
        max-width: 90%;  /* Adaptando el ancho en pantallas más pequeñas */
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-input {
        font-size: 0.9rem;
    }

    .forgot-password a,
    .register span,
    .register a {
        font-size: 0.8rem;
    }

    .login-button {
        font-size: 0.9rem;
    }
}

/*======================= REGISTRO =======================*/

/* Sección de Registro */
.register-section {
    width: 100%;
    max-width: 85%;  /* Haciendo la sección más ancha */
    margin: 0 auto;
    padding: 80px;
    box-sizing: border-box;
}

.register-title {
    text-align: center;
    color: navy;
    font-size: 2rem;
    margin-bottom: 20px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
    width: 100%;
}

.register-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid gray;
    font-size: 1rem;
    outline: none;
}

.eye-icon {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    fill: lightgray;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.forgot-password {
    text-align: left;
}

.forgot-password a {
    color: #007BFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.register-button {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}

.register-button:hover {
	background-color: #00509E; /* Color más oscuro para hover */
}

.register-icon {
    fill: white;
    width: 20px;
    height: 20px;
}

.login-link {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.login-link a {
    color: #007BFF;
    text-decoration: none;
}

/* Responsividad */
@media (max-width: 768px) {
    .register-section {
        padding: 15px;
        padding-bottom: 80px;
        max-width: 90%;  /* Adaptando el ancho en pantallas más pequeñas */
    }

    .register-title {
        font-size: 1.5rem;
    }

    .register-input {
        font-size: 0.9rem;
    }

    .forgot-password a,
    .login-link span,
    .login-link a {
        font-size: 0.8rem;
    }

    .register-button {
        font-size: 0.9rem;
    }
}

/*======================= RECUPERAR CONTRASEÑA =======================*/

/* Sección Recuperar Contraseña */
.recover-password-section {
    width: 100%;
    max-width: 85%;  /* Haciendo la sección más ancha */
    margin: 0 auto;
    padding: 80px;
    box-sizing: border-box;
}

.recover-password-title {
    text-align: center;
    color: #003366; /* Azulmarino */
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.recover-password-text {
    text-align: center;
    color: #333;
    font-size: 16px;
    margin-bottom: 30px;
}

.recover-password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.recover-password-input {
    padding: 12px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid gray; /* Línea en la parte inferior */
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.recover-password-button {
    background-color: #007BFF; /* Azulmarino */
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.recover-password-button:hover {
    background-color: #00509E; /* Color más oscuro para hover */
}

.arrow-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .recover-password-section {
        padding: 30px 15px;
    }

    .recover-password-title {
        font-size: 20px;
    }

    .recover-password-text {
        font-size: 14px;
    }

    .recover-password-input, .recover-password-button {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .recover-password-section {
        padding: 20px;
    }

    .recover-password-title {
        font-size: 18px;
    }

    .recover-password-text {
        font-size: 13px;
    }

    .recover-password-input, .recover-password-button {
        font-size: 14px;
        padding: 8px;
    }

    .arrow-icon {
        width: 16px;
        height: 16px;
    }
}
