.auth-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border-radius: 16px;
    padding: 36px;
    box-sizing: border-box;
}

.auth-header {
    margin-bottom: 30px;
    text-align: center;
}

    .auth-header h1 {
        margin: 0 0 10px;
    }

    .auth-header p {
        margin: 0;
        color: var(--text-secondary);
    }

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .auth-field label {
        font-weight: 600;
    }

    .auth-field input {
        width: 100%;
        box-sizing: border-box;
        padding: 13px 14px;
        border: 1px solid var(--border-strong);
        border-radius: 8px;
        background: var(--background);
        color: var(--text);
        font: inherit;
    }

        .auth-field input:focus {
            outline: 2px solid var(--accent);
            outline-offset: 1px;
        }

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.14);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .auth-submit:hover {
        background: var(--secondary);
        border-color: var(--accent);
        box-shadow: 0 0 18px rgba(0, 0, 0, 0.24);
    }

.auth-error {
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid var(--error);
    border-radius: 8px;
    background: var(--surface);
    color: var(--error);
}