:root {
    --auth-navy: #0b416d;
    --auth-blue: #176b9f;
    --auth-text: #17212b;
    --auth-muted: #697887;
    --auth-border: #d6e0e7;
    --auth-background: #eef4f7;
    --auth-danger: #b42318;
}

* {
    box-sizing: border-box;
}

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

body.auth-page {
    margin: 0;
    min-height: 100vh;
    display: grid;
    justify-items: center;
    align-items: start;
    padding: 12vh 18px 28px;
    color: var(--auth-text);
    background:
        radial-gradient(
            circle at top,
            #f8fcfe 0,
            #eef5f8 45%,
            #e8f0f4 100%
        );
    font-family: Arial, Helvetica, sans-serif;
}

.auth-shell {
    width: min(410px, 100%);
}

.auth-brand {
    margin-bottom: 16px;
    text-align: center;
}

.auth-logo {
    display: block;
    width: 190px;
    max-width: 72%;
    height: auto;
    margin: 0 auto 12px;
}

.auth-brand-name {
    margin: 0;
    color: var(--auth-navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.auth-card {
    padding: 30px 30px 26px;
    background: #fff;
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(11, 65, 109, .10);
}

.auth-card h1 {
    margin: 0 0 7px;
    color: var(--auth-navy);
    font-size: 25px;
    text-align: center;
}

.auth-intro {
    margin: 0 0 24px;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.auth-error {
    margin: 0 0 18px;
    padding: 11px 12px;
    color: var(--auth-danger);
    background: #fdf0ef;
    border: 1px solid #f3c8c4;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.auth-field {
    display: block;
    margin-bottom: 17px;
}

.auth-field span {
    display: block;
    margin-bottom: 6px;
    color: #314252;
    font-size: 13px;
    font-weight: 700;
}

.auth-field input {
    width: 100%;
    height: 44px;
    padding: 9px 11px;
    color: var(--auth-text);
    background: #fff;
    border: 1px solid #b9c8d3;
    border-radius: 6px;
    outline: none;
    font: inherit;
}

.auth-field input:focus {
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 3px rgba(23, 107, 159, .11);
}

.auth-button {
    width: 100%;
    min-height: 44px;
    margin-top: 3px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--auth-navy),
        var(--auth-blue)
    );
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.auth-button:hover {
    filter: brightness(1.04);
}

.auth-secondary {
    display: block;
    margin-top: 14px;
    color: var(--auth-blue);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.auth-security {
    margin: 17px 0 0;
    color: #7b8995;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.otp-input {
    height: 56px !important;
    font-size: 25px !important;
    font-weight: 800;
    letter-spacing: .28em;
    text-align: center;
}

@media (max-width: 480px) {
    body.auth-page {
        padding: 20px 14px;
    }

    .auth-card {
        padding: 25px 20px 22px;
    }

    .auth-logo {
        width: 170px;
    }
}
