* {
    box-sizing: border-box;
}

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

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

    background: #f4f6fa;
    color: #182230;
}

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

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

    padding: 30px 20px;
}

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

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 18px;

    padding: 32px;

    box-shadow:
        0 20px 50px rgba(16, 24, 40, 0.08);
}

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

    gap: 12px;

    margin-bottom: 30px;
}

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

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

    background: #182230;
    color: #ffffff;

    border-radius: 12px;

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

.auth-brand-text {
    display: flex;
    flex-direction: column;
}

.auth-brand-text strong {
    color: #101828;

    font-size: 16px;
}

.auth-brand-text span {
    margin-top: 2px;

    color: #98a2b3;

    font-size: 12px;
}

.auth-card h1 {
    margin: 0 0 8px;

    font-size: 26px;
    line-height: 1.2;

    color: #101828;
}

.auth-subtitle {
    margin: 0 0 26px;

    color: #667085;

    font-size: 14px;
}

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

    gap: 16px;
}

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

    gap: 7px;

    color: #344054;

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

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

    padding: 0 13px;

    border: 1px solid #d0d5dd;
    border-radius: 9px;

    background: #ffffff;
    color: #101828;

    font: inherit;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

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

    box-shadow:
        0 0 0 3px rgba(102, 112, 133, .12);
}

.auth-button {
    width: 100%;
    min-height: 44px;

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

    margin-top: 4px;

    border: 0;
    border-radius: 9px;

    background: #182230;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: background .15s ease;
}

.auth-button:hover {
    background: #101828;
}

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

    padding: 11px 13px;

    border-radius: 9px;

    background: #fef3f2;
    color: #b42318;

    font-size: 13px;
}

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

    color: #98a2b3;

    font-size: 12px;
    text-align: center;
}

.auth-footer a {
    color: #344054;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {

    .auth-page {
        padding: 18px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .auth-card h1 {
        font-size: 23px;
    }
}
