@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

body {
    background: url("../img/login.jpeg") no-repeat right center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10vw;
}

/* Contenedor del formulario */
.form-wrapper {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    z-index: 20;
    margin-right: 20px;
}

/* T¨ªtulo del formulario */
.title_login {
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Campos del formulario */
.input_login {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* Bot¨®n de login */
.btn_login {
    background: #8a26f6;
    border-radius: 10px;
    border: none;
    color: #ffffff;
    padding: 10px;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s ease;
}

.btn_login:hover {
    background: #a85bfb;
    color: #ffffff;
}

/* Enlace de recuperaci¨®n */
#linkFP {
    cursor: pointer;
    transition: all 300ms;
    text-align: center;
    display: block;
    margin-top: 15px;
    color: #8a26f6;
    font-weight: 500;
    text-decoration: none;
}

#linkFP:hover {
    color: #5e1bbb;
    text-decoration: underline;
}

/* Enlace de volver al inicio */
.return-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
}

.return-link:hover {
    text-decoration: underline;
}

/* Responsive en m¨®viles */
@media (max-width: 768px) {
    body {
        justify-content: center;
        padding: 20px;
        background-position: center;
    }

    .form-wrapper {
        margin-right: 0;
    }
}
