@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* VARIABLES */
:root {
    --letra-Titulo: 'Lexend', sans-serif;
    --letra-Parrafo: 'Poppins', sans-serif;
    --verde-Claro: #80BC00;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--letra-Parrafo) !important;
}

a {
    text-decoration: none;
}

/* BODY */
body {
    height: 100dvh;
    background: url('../img/imagenes_nuevas/fondo.png') no-repeat center center fixed;
    background-size: cover;
    background-position: bottom center;
}

/* CONTENEDOR PRINCIPAL */
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: flex-end;
    /* 👉 DERECHA en escritorio */
    align-items: center;
    padding: 40px;
}

/* TARJETA LOGIN */
.login-card {
    background: #253233c4;
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    padding: 100px 32px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO */
.logo img {
    width: 180px;
    margin-bottom: 20px;
}

form {
    border-top: 2px dotted #fff;
    padding-top: 20px;
}

/* INPUTS */
.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 18px;
    border: none;
    border-radius: 8px;
    background: #23272b;
    color: #fff;
    font-size: 1em;
    outline: none;
}

.login-card input::placeholder {
    color: #bbb;
}

/* BOTÓN */
.login-submit {
    width: 100%;
    padding: 12px 0;
    background: #f57c1f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.login-submit:hover {
    background: #d96a13;
    transform: translateY(-1px);
}

/* LINKS */
.login-help {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95em;
    margin-top: 8px;
    color: #fff;
}

.login-help a {
    color: #fff;
    font-size: 0.85em;
    transition: 0.2s;
}

.login-help a:hover {
    color: #f57c1f;
    text-decoration: underline;
}

/* FOOTER */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9em;
}

@media screen and (min-width: 1000px) and (max-width: 1650px) {

    /* CONTENEDOR PRINCIPAL */
    .login-container {
        padding: 20px;
        justify-content: flex-end;
    }

    /* TARJETA LOGIN */
    .login-card {
        padding: 50px 25px;
        width: 100%;
        max-width: 350px;
    }

    /* LOGO */
    .logo img {
        width: 140px;
    }

    form {
        padding-top: 10px;
    }

    /* INPUTS */
    .login-card input[type="text"],
    .login-card input[type="password"] {

        margin-bottom: 13px;
        font-size: 0.8em;
    }

    /* BOTÓN */
    .login-submit {
        font-size:0.9em;
    }

    .login-submit:hover {
        background: #d96a13;
        transform: translateY(-1px);
    }

    /* LINKS */
    .login-help {
        font-size: 0.8em;
    }

    .login-help a {
        font-size: 0.85em;
    }

    /* FOOTER */
    .footer {

        font-size: 0.8em;
    }
}
