:root {
    --bg: #101014;
    --bg-darker: #0d0d11;
    --bg-darkest: #050508;
    --panel: #16161e;
    --panel-hover: #22222c;
    --panel-active: #2a2a36;

    --accent: #00ffcc;
    --accent-hover: #00ddb0;
    --accent-muted: rgba(0, 255, 204, 0.1);
    --accent-border: rgba(0, 255, 204, 0.15);

    --border: #2e2e3f;
    --border-dark: #1e1e26;
    --border-card: #252525;

    --text: #f0f0f5;
    --text-dim: #a0a0b5;
    --text-muted: #666;
    --text-muted-light: #aaa;
    --text-dark: #444;

    --red: #ff3355;
    --red-hover: #ff5577;
    --red-muted: rgba(255, 51, 85, 0.05);
    --red-border: rgba(255, 51, 85, 0.26);

    --yellow: #ffff00;
    --yellow-orange: #ffaa00;
    --terminal-green: #33ff33;
    --link-blue: #00bcff;

    --global-height: 1.6em;
}

/* ============================================================================
   Core Reset & Base Layout Bounds
   ============================================================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
}

/* ============================================================================
   Action Handlers & Micro-Interaction Controls
   ============================================================================ */
a.primary,
a.secondary,
button {
    width: 100%;
    flex: 1;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    align-items: center;
    display: flex;
    justify-content: center;
}

a.primary:disabled,
a.secondary:disabled,
button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none !important;
}

.primary {
    background: var(--accent);
    color: #000;
}

.primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
}

.secondary {
    background: var(--panel-hover);
    color: var(--text);
    border: 1px solid var(--border);
}

.secondary:hover {
    background: var(--panel-active);
}

/* ============================================================================
   Layout Infrastructure Modules (Wizards, Stages, Documents)
   ============================================================================ */
.doc-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.doc-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.doc-header h1 {
    font-size: 26px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

/* ============================================================================
   Lists, Terminals & Presentation Modules
   ============================================================================ */
.bullet-list {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 15px;
}

.bullet-list li {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.bullet-list li::before {
    content: "▪";
    color: var(--accent);
    position: absolute;
    left: -15px;
    font-size: 10px;
}

/* ============================================================================
   Sub-Section Structural Blocks
   ============================================================================ */
.meta-stamp {
    font-family: monospace;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 6px;
    letter-spacing: 1px;
}

.doc-section {
    margin-bottom: 30px;
}

.doc-section h2 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
}

.doc-section p,
p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ============================================================================
   Banners, Callouts & Error Dialog Components
   ============================================================================ */
.warning-callout {
    background: var(--red-muted);
    border: 1px dashed var(--red);
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.warning-callout p {
    color: var(--red-hover) !important;
    font-weight: 500;
    margin-bottom: 0;
}

#data-disclaimer {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.5;
}
