:root {
    --foreground-primary: #111827;
    --foreground-secondary: #6b7280;
    --foreground-error: #dc2626;
    --background-primary: #ffffff;
    --background-secondary: #f3f4f6;
    --border-primary: #e5e7eb;
    --radius: 8px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --foreground-primary: #f9fafb;
        --foreground-secondary: #9ca3af;
        --foreground-error: #f87171;
        --background-primary: #111827;
        --background-secondary: #1f2937;
        --border-primary: #374151;
    }
}

html, body {
    color: var(--foreground-primary);
    background-color: var(--background-primary);
}

.authentication {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.authentication__panel {
    display: flex;
    flex-direction: column;
    gap: var(--radius);
    width: 100%;
    max-width: 320px;
}

.authentication__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.authentication__button:hover {
    background-color: var(--background-secondary);
}

.authentication__icon {
    width: 16px;
    height: 16px;
}

.authentication__note {
    padding: 0 var(--radius);
    font-size: 12px;
    line-height: 1.5;
    color: var(--foreground-secondary);
}

.authentication__note--error {
    color: var(--foreground-error);
}

.authentication__link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.document,
.document__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document {
    max-width: 672px;
    margin: 0 auto;
    padding: 64px 24px;
    font-size: 14px;
    line-height: 1.625;
}

.document__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: inherit;
    font-weight: 400;
    color: var(--foreground-secondary);
}

.document__heading::before,
.document__heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--border-primary);
}

.document__address {
    font-style: normal;
}

.document__link {
    transition: opacity 0.15s ease;
}

.document__link:hover {
    opacity: 0.5;
}

.document__link--underlined {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.account {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 24px;
}

.account__label {
    color: var(--foreground-secondary);
}

.account__value {
    overflow-wrap: anywhere;
}

.account__value--monospace {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13px;
}
