.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 32px 16px;
    font-family: system-ui, sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #1b293f;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.auth-description {
    margin: 0 0 28px;
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.5;
}

.auth-form,
.auth-field {
    display: flex;
    flex-direction: column;
}

.auth-form {
    gap: 20px;
}

.auth-field {
    gap: 8px;
}

.auth-field label {
    font-size: 14px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #53657d;
    border-radius: 8px;
    background: #132541;
    color: #fff;
    font: inherit;
    font-size: 16px;
}

.auth-field input::placeholder {
    color: #9baac0;
}

.auth-field input[aria-invalid="true"] {
    border-color: #ff9e9e;
}

.auth-field input:focus-visible,
.auth-submit:focus-visible {
    outline: 2px solid #85bdff;
    outline-offset: 3px;
}

.auth-error {
    margin: 0;
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.5;
}

.auth-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: #1877d2;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.auth-submit:hover {
    background: #2085e4;
}

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