:root {
    --navy: #05263d;
    --red: #e4002b;
    --muted: #667788;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI',Arial,sans-serif;
    color: var(--navy);
}

.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 18px 62px;
    position: relative;
    background-color: #f6f8fa;
    background-image: url('../../Images/FondoLoginAramark.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 34px 36px 27px;
    background: rgba(255,255,255,.78);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 23px;
    box-shadow: 0 16px 50px rgba(5,38,61,.17);
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-logo {
    display: block;
    width: 215px;
    max-width: 85%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 13px;
}

.login-accent {
    width: 72px;
    height: 3px;
    border-radius: 8px;
    background: var(--red);
    margin: 0 auto 17px;
}

.login-card h1 {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin: 0 0 5px;
    font-weight: 750;
}

.subtitle {
    font-size: 14px;
    color: #536779;
    margin: 0 0 25px;
}

.field {
    margin-bottom: 16px;
    text-align: left;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.login-input {
    display: block;
    width: 100%;
    height: 47px;
    border: 1px solid #cad5df;
    border-radius: 9px;
    background: rgba(255,255,255,.95);
    padding: 0 13px;
    color: var(--navy);
    font: 14px 'Segoe UI',Arial,sans-serif;
    outline: 0;
}

    .login-input:focus {
        border-color: var(--red);
        box-shadow: 0 0 0 3px rgba(228,0,43,.12);
    }

.password-wrap {
    position: relative;
}

    .password-wrap .login-input {
        padding-right: 85px;
    }

.reveal {
    position: absolute;
    top: 7px;
    right: 7px;
    padding: 9px;
    background: transparent;
    border: 0;
    color: var(--navy);
    cursor: pointer;
    font-weight: 650;
    font-size: 12px;
}

.login-button {
    display: block;
    width: 100%;
    min-height: 49px;
    margin-top: 22px;
    background: var(--red);
    color: white;
    border: 0;
    border-radius: 10px;
    font: 700 15px 'Segoe UI',Arial,sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(228,0,43,.19);
}

    .login-button:hover {
        background: #bd0024;
    }

.help {
    font-size: 12px;
    line-height: 1.5;
    color: #526a7b;
    margin: 19px 0 17px;
}

.card-footer {
    border-top: 1px solid rgba(5,38,61,.13);
    padding-top: 13px;
    font-size: 11px;
    color: #607789;
}

.error-box {
    background: #fff0f2;
    border: 1px solid #f0b5c0;
    border-radius: 8px;
    padding: 10px 12px;
    color: #9d0021;
    text-align: left;
    font-size: 13px;
    margin-bottom: 16px;
}

.page-footer {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    text-align: center;
    color: #526c80;
    font-size: 11px;
}

@media(max-width:520px) {
    .login-page {
        padding: 24px 15px 55px;
        background-position: 42% center;
    }

    .login-card {
        padding: 27px 23px 23px;
    }

    .login-logo {
        width: 185px;
    }

    .login-card h1 {
        font-size: 24px;
    }
}

@media(max-height:670px) {
    .login-page {
        align-items: flex-start;
    }
}
