/* ==========================================================================
   Concrator Design System — Account Pages (login, register, consent, etc.)
   ========================================================================== */

.account-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-header {
    padding: 2rem 0 1rem;
    text-align: center;
}

.account-header .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.account-main {
    flex: 1;
    width: 100%;
    max-width: 440px;
    padding: 0 1rem 2rem;
}

.account-footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Card */
.account-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
}

.account-card-wide {
    max-width: 700px;
}

.account-card h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.account-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

/* Account-specific button override: full width primary */
.account-card .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
}

.account-card .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Links */
.account-links {
    margin-top: 1.25rem;
    text-align: center;
}

.account-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.875rem;
}

.account-links a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Consent */
.consent-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.consent-scopes ul {
    list-style: none;
    padding: 0;
}

.consent-scopes li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.scope-description {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.consent-actions .btn {
    flex: 1;
    width: auto;
}

/* Error page */
.error-description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Display name availability */
.display-name-hint {
    display: block;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.display-name-hint.checking {
    color: var(--color-text-muted);
}

.display-name-hint.available {
    color: var(--color-success);
}

.display-name-hint.taken {
    color: var(--color-danger);
}
