:root {
    --bg-page:        #f5f7fb;
    --bg-card:        #ffffff;
    --border:         #dde3ee;
    --text:           #2d3748;
    --text-head:      #0a0f1e;
    --text-muted:     #6c7585;
    --accent:         #4338ca;
    --accent-hover:   #3730a3;
    --accent-glow:    rgba(67, 56, 202, 0.18);
    --error-bg:       #fdecec;
    --error-fg:       #991b1b;
    --error-border:   #f1c5c5;
    --shadow:         0 1px 3px rgba(10, 15, 30, 0.06),
                      0 8px 32px rgba(10, 15, 30, 0.08);
    --radius:         12px;
    --radius-lg:      16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
}

.activation-body {
    min-height: 100vh;
    background:
        radial-gradient(var(--border) 1px, transparent 1px) 0 0 / 24px 24px,
        var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.activation-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px 32px 28px;
}

.activation-header { text-align: center; margin-bottom: 24px; }

.activation-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activation-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.activation-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

.activation-error {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-fg);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 18px;
}

.activation-form { display: flex; flex-direction: column; gap: 16px; }

.activation-field { display: flex; flex-direction: column; gap: 6px; }

.activation-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-head);
    letter-spacing: 0.02em;
}

.activation-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
    color: var(--text-head);
    background: var(--bg-card);
    outline: none;
}

@media (prefers-reduced-motion: no-preference) {
    .activation-field input { transition: border-color 0.18s ease, box-shadow 0.18s ease; }
}

.activation-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.activation-field input::placeholder { color: #a0aab8; }

.activation-submit {
    margin-top: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
    .activation-submit { transition: background 0.18s ease, transform 0.06s ease; }
}

.activation-submit:hover  { background: var(--accent-hover); }
.activation-submit:active { transform: translateY(1px); }

.activation-submit:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.activation-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}
