* {
    box-sizing: border-box;
}

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

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            #182239 0,
            #0d1422 38%,
            #090e17 100%
        );

    color: #202631;

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

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px 18px;
}

.auth-card {
    width: 100%;
    max-width: 410px;

    padding: 30px;

    border: 1px solid
        rgba(255,255,255,.12);

    border-radius: 20px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 28px 80px
        rgba(0,0,0,.28);
}

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

    gap: 11px;

    margin-bottom: 34px;
}

.auth-brand-mark {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #111827;

    color: white;
}

.auth-brand-mark svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-brand strong {
    display: block;

    font-size: 16px;
    line-height: 1.15;
}

.auth-brand span {
    display: block;

    margin-top: 3px;

    color: #8a919d;

    font-size: 10px;
}

.auth-heading {
    margin-bottom: 24px;
}

.auth-heading h1 {
    margin: 0;

    font-size: 27px;
    letter-spacing: -.45px;
}

.auth-heading p {
    margin: 7px 0 0;

    color: #818995;

    font-size: 13px;
}

.auth-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.auth-form label > span {
    display: block;

    margin-bottom: 7px;

    color: #606976;

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

.auth-form input {
    width: 100%;
    min-height: 48px;

    padding: 0 13px;

    border: 1px solid #dfe3e9;
    border-radius: 11px;

    background: white;
    color: #202631;

    font: inherit;
    font-size: 16px;

    outline: none;
}

.auth-form input:focus {
    border-color: #9ba3ff;

    box-shadow:
        0 0 0 3px
        rgba(92,99,246,.09);
}

.auth-form button {
    min-height: 48px;

    margin-top: 3px;

    border: 0;
    border-radius: 11px;

    background: #171c26;
    color: white;

    font: inherit;
    font-size: 14px;
    font-weight: 750;

    cursor: pointer;
}

.auth-form button:hover {
    background: #252b36;
}

.auth-error {
    margin-bottom: 18px;

    padding: 11px 13px;

    border: 1px solid #f0cccc;
    border-radius: 10px;

    background: #fff5f5;
    color: #a83b3b;

    font-size: 12px;
}

.auth-security {
    margin-top: 22px;

    color: #a0a6af;

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}

@media (max-width: 600px) {

    .auth-page {
        align-items: flex-start;

        padding:
            max(42px, env(safe-area-inset-top))
            16px
            24px;
    }

    .auth-card {
        padding: 25px 21px;

        border-radius: 18px;
    }

}
