.auth-page {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(23, 107, 77, 0.14), transparent 40%),
        linear-gradient(180deg, #fbfdfb 0%, #eef5ef 100%);
}

.auth-shell {
    width: min(460px, calc(100% - 32px));
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 22px;
    margin: 0 auto;
    padding: 42px 0;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
}

.auth-brand strong,
.auth-brand em {
    display: block;
}

.auth-brand em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.auth-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 48, 35, 0.1);
}

.auth-head h1 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.18;
}

.auth-head p:last-child {
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    color: #34443b;
    font-size: 14px;
    font-weight: 800;
}

.auth-form input,
.auth-form select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    color: var(--ink);
    background: #fbfdfb;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    outline: 0;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(23, 107, 77, 0.12);
}

.auth-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px !important;
    background-color: #fbfdfb !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #0f6a4b 50%),
        linear-gradient(135deg, #0f6a4b 50%, transparent 50%),
        linear-gradient(to bottom, #dce2de, #dce2de) !important;
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%,
        calc(100% - 38px) 50% !important;
    background-size: 5px 5px, 5px 5px, 1px 22px !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
}

.auth-form button {
    min-height: 48px;
    margin-top: 4px;
    color: var(--white);
    background: var(--green);
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.form-error {
    margin-top: 18px;
    padding: 12px 14px;
    color: #8a2d20;
    background: #fff1ed;
    border: 1px solid #ffc7b8;
    border-radius: 6px;
    font-size: 14px;
}

.auth-switch {
    margin: 20px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.auth-switch a {
    color: var(--green);
    font-weight: 900;
}

@media (max-width: 520px) {
    .auth-card {
        padding: 22px;
    }
}
