@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Contenedor principal */
.login-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 80px auto;
    border: 2px solid rgba(255, 0, 255, 0.2);
    margin-top:10%;
}

/* Título */
.login-container h2 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Alertas */
.alert-messages {
    margin-bottom: 15px;
}

.alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2rem;
}

/* Campos de entrada */
.input-field {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.2rem;
    background-color: #fdfdfd;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.3);
}

/* Contenedor de la contraseña */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 1.2rem;
}

/* Botón de enviar */
.btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #ff00ff;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #cc00cc;
}

/* Enlaces */
.link-recovery,
.link-register {
    color: #ff0077;
    text-decoration: none;
    font-weight: bold;
}

.link-recovery {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
}

.link-register {
    font-size: 1.2rem;
}

.link-recovery:hover,
.link-register:hover {
    text-decoration: underline;
}

/* Mensaje adicional */
.login-container p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #333;
}

/* Responsividad */
@media (max-width: 480px) {
    .login-container {
        padding: 25px;
    }
}
