@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --color-bg: #000;
    --color-header-bg: #fff;
    --color-header-border: #e2e2e6;
    --color-text-inverted: #fff;
    --color-text-muted: #828286;
    --color-tag: #9696ff;
    --color-brand: #4743ff;
    --color-brand-hover: #5a5aff;
    --color-error: #ff6b6b;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
    background: var(--color-bg);
    color: var(--color-text-inverted);
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

.site-header {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-header-border);
}

.logo-link {
    display: inline-flex;
}

.logo {
    height: 24px;
    width: auto;
    display: block;
}

.login-main {
    min-height: calc(100dvh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-tag);
}

.headline {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.error-message {
    margin: -16px 0 0;
    color: var(--color-error);
    font-size: 14px;
}

form {
    display: flex;
}

.btn-microsoft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: var(--color-brand);
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease;
}

.btn-microsoft:hover {
    background: var(--color-brand-hover);
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid var(--color-header-border);
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease;
}

.btn-google:hover {
    background: #f2f2f2;
}

.btn-google:focus-visible {
    outline: 2px solid var(--color-tag);
    outline-offset: 2px;
}

.btn-google svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

.btn-microsoft:focus-visible {
    outline: 2px solid var(--color-tag);
    outline-offset: 2px;
}

.btn-microsoft svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

.dev-panel {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    background: #2a1f00;
    color: #ffd479;
    border-bottom: 1px solid #5c4400;
    padding: 10px 24px;
}

.dev-panel-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.dev-panel-status {
    font-weight: 600;
    margin-bottom: 6px;
}

.dev-panel-status--in {
    color: #7CFC9A;
}

.dev-panel-status--out {
    color: #ff9a9a;
}

.dev-panel-claims {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    max-height: 160px;
    overflow-y: auto;
}

.dev-panel-claim-type {
    color: #ffd479;
    opacity: 0.7;
}

.dev-panel-button {
    font-family: inherit;
    font-size: 12px;
    background: transparent;
    color: #ffd479;
    border: 1px solid #5c4400;
    padding: 4px 10px;
    cursor: pointer;
}

.dev-panel-button:hover {
    background: #5c4400;
}
