* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #161823;

    background: white;
}


/* BARRA SUPERIOR */

.topbar {
    height: 64px;

    display: flex;
    align-items: center;

    padding: 0 32px;

    border-bottom: 1px solid #eeeeee;
}

.brand {
    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 24px;
    font-weight: 800;
}

.brand-icon {
    font-size: 29px;

    text-shadow:
        -2px 0 #25f4ee,
        2px 0 #fe2c55;
}


/* CONTENIDO PRINCIPAL */

.page {
    display: flex;
    justify-content: center;

    padding: 55px 20px;
}

.login-box {
    width: 100%;
    max-width: 380px;
}

.mobile-brand {
    display: none;
}


/* TÍTULOS */

h1 {
    margin: 0;

    text-align: center;

    font-size: 32px;
    font-weight: 700;
}

.subtitle {
    margin-top: 10px;
    margin-bottom: 35px;

    text-align: center;

    color: #77777c;

    font-size: 15px;
}


/* CAMPOS */

.field {
    margin-bottom: 17px;
}

label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;
}

input {
    width: 100%;
    height: 52px;

    padding: 0 15px;

    border: 1px solid #dddddf;
    border-radius: 5px;

    background: #f5f5f6;

    font-size: 16px;

    outline: none;
}

input:focus {
    border-color: #99999d;

    background: white;
}


/* BOTÓN PRINCIPAL */

.login-button {
    width: 100%;
    height: 52px;

    margin-top: 8px;

    border: none;
    border-radius: 5px;

    background: #fe2c55;

    color: white;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

.login-button:hover {
    opacity: 0.92;
}


/* CONTRASEÑA OLVIDADA */

.forgot {
    display: block;

    margin-top: 20px;

    text-align: center;

    color: #161823;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


/* DIVISOR */

.divider {
    display: flex;
    align-items: center;

    gap: 13px;

    margin: 30px 0 20px;
}

.divider span {
    flex: 1;

    height: 1px;

    background: #dddddf;
}

.divider p {
    margin: 0;

    color: #88888d;

    font-size: 13px;
}


/* BOTÓN SECUNDARIO */

.alternative-button {
    width: 100%;
    height: 50px;

    border: 1px solid #dddddf;
    border-radius: 5px;

    background: white;

    color: #161823;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}


/* REGISTRO */

.signup {
    margin-top: 30px;

    text-align: center;

    font-size: 14px;
}

.signup a {
    color: #fe2c55;

    font-weight: 700;

    text-decoration: none;
}


/* FOOTER */

footer {
    padding: 20px;

    text-align: center;

    color: #aaaaae;

    font-size: 11px;
}


/* =========================
   VERSIÓN PARA CELULAR
   ========================= */

@media (max-width: 600px) {

    .topbar {
        display: none;
    }

    .page {
        padding: 35px 24px;
    }

    .login-box {
        max-width: none;
    }

    .mobile-brand {
        display: flex;
        justify-content: center;
        align-items: center;

        gap: 7px;

        margin-bottom: 36px;

        font-size: 24px;
        font-weight: 800;
    }

    h1 {
        font-size: 29px;
    }

    input {
        height: 54px;
    }

    .login-button {
        height: 54px;
    }

}


/* CELULARES MUY PEQUEÑOS */

@media (max-width: 360px) {

    .page {
        padding-left: 18px;
        padding-right: 18px;
    }

}
#message {
    min-height: 20px;

    margin: 16px 0 0;

    text-align: center;

    font-size: 14px;
    font-weight: 600;
}

#message.error {
    color: #d93025;
}

#message.success {
    color: #188038;
}
#username[readonly] {
    color: #161823;
    background-color: #f5f5f6;
    cursor: default;
}