* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {

    width: 100%;
    height: 100%;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


body {
    overflow: hidden;
}


/* =========================================
   PÁGINA
========================================= */

.login-page {

    position: relative;

    width: 100%;
    height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

}


/* =========================================
   FONDO
========================================= */

.background {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #000;

}


/* =========================================
   IMÁGENES
========================================= */

.background-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;

    background-repeat: no-repeat;

    background-size: cover;

    opacity: 0;

    /*
       TRANSICIÓN DEL CAMBIO
    */

    transition:
        opacity 1s linear;

    z-index: 1;

}


.background-image.active {

    opacity: 1;

}


/* =========================================
   OSCURECER FONDO
========================================= */

.overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.15);

    z-index: 2;

    pointer-events: none;

}


/* =========================================
   LOGIN
========================================= */

.login-container {

    position: relative;

    z-index: 5;

    width: 100%;

    padding: 30px;

    display: flex;

    justify-content: center;
    align-items: center;

}


/* =========================================
   CAJA
========================================= */

.login-box {

    width: 420px;

    max-width: 100%;

    padding: 45px 40px;

    border:
        1px solid
        rgba(255, 255, 255, 0.40);

    border-radius: 25px;

    background:
        rgba(255, 255, 255, 0.035);

    backdrop-filter:
        blur(2px);

    -webkit-backdrop-filter:
        blur(2px);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.22);

    color: white;

}


/* =========================================
   LOGO
========================================= */

.logo {

    text-align: center;

    font-size: 32px;

    font-weight: 300;

    letter-spacing: 1px;

    margin-bottom: 20px;

}


.logo strong {
    font-weight: 800;
}


/* =========================================
   TITULO
========================================= */

.login-box h1 {

    text-align: center;

    font-size: 28px;

    margin-bottom: 8px;

}


.subtitle {

    text-align: center;

    font-size: 14px;

    color:
        rgba(255, 255, 255, 0.75);

    margin-bottom: 30px;

}


/* =========================================
   CAMPOS
========================================= */

.input-group {

    margin-bottom: 20px;

}


.input-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.90);

}


.input-box {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

}


/* =========================================
   ICONOS
========================================= */

.input-icon {

    position: absolute;

    left: 15px;

    font-size: 15px;

    opacity: 0.75;

    z-index: 2;

}


/* =========================================
   INPUTS
========================================= */

.input-box input {

    width: 100%;

    height: 50px;

    padding:
        0 45px;

    border: none;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.55);

    outline: none;

    background:
        rgba(255, 255, 255, 0.015);

    color: white;

    font-size: 14px;

    transition:
        background 0.3s,
        border-color 0.3s;

}


.input-box input:focus {

    background:
        rgba(255, 255, 255, 0.035);

    border-bottom-color:
        rgba(255, 255, 255, 0.90);

}


/* =========================================
   PLACEHOLDER
========================================= */

.input-box input::placeholder {

    color:
        rgba(255, 255, 255, 0.60);

}


/* =========================================
   CONTRASEÑA
========================================= */

.show-password {

    position: absolute;

    right: 12px;

    border: none;

    background: transparent;

    color: white;

    cursor: pointer;

    font-size: 16px;

    opacity: 0.70;

}


.show-password:hover {
    opacity: 1;
}


/* =========================================
   RECORDAR
========================================= */

.login-options {

    display: flex;

    justify-content: flex-start;

    align-items: center;

    margin:
        8px 0 25px;

    font-size: 12px;

}


.remember {

    display: flex;

    align-items: center;

    gap: 7px;

    cursor: pointer;

    color:
        rgba(255, 255, 255, 0.80);

}


.remember input {
    accent-color: white;
}


/* =========================================
   BOTÓN
========================================= */

.login-button {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 8px;

    background: white;

    color: #172033;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s,
        box-shadow 0.2s;

}


.login-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.25);

}


.login-button:active {

    transform:
        translateY(0);

}


/* =========================================
   MENSAJE
========================================= */

.message {

    min-height: 20px;

    margin-top: 15px;

    text-align: center;

    font-size: 13px;

}


/* =========================================
   INDICADORES
========================================= */

.background-indicators {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform:
        translateX(-50%);

    z-index: 10;

    display: flex;

    gap: 7px;

}


.indicator {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.40);

    cursor: pointer;

    transition:
        0.3s;

}


.indicator.active {

    width: 24px;

    border-radius: 10px;

    background: white;

}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 600px) {

    .login-container {
        padding: 20px;
    }


    .login-box {

        padding:
            35px 25px;

        border-radius:
            20px;

    }


    .logo {
        font-size: 28px;
    }


    .login-box h1 {
        font-size: 25px;
    }

}


/* =========================================
   PANTALLAS GRANDES
========================================= */

@media (min-width: 1400px) {

    .login-box {

        width: 450px;

        padding: 50px;

    }

}