/* Shared Veil Guard styles — nav, footer, base.
   Fork of veil-api shared.css with a distinct amber/red accent. */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #161618;
    --surface: #1e1e21;
    --surface2: #242428;
    --border: #2e2e33;
    --text: #ececec;
    --muted: #8b8b8b;
    --accent: #f5b642;        /* amber — the "shield" accent */
    --accent-hot: #ef6d4a;    /* hotter red for danger states */
    --green: #3ecf8e;
    --red: #e5484d;
    --code-bg: #1a1a1d;
    --blue: #6eb1f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

nav {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(22,22,24,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; display: flex; align-items: center; gap: 8px; }
.logo a { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; margin-left: 24px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

footer { padding: 28px 0; border-top: 1px solid var(--border); color: #555; font-size: 12px; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
footer a { color: #555; text-decoration: none; }
footer a:hover { color: var(--text); }

/* Shared widgets */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--surface2); }
.btn-primary {
    background: var(--accent);
    color: #161618;
    border-color: var(--accent);
    font-weight: 600;
}
.btn-primary:hover { background: #f7c458; border-color: #f7c458; }

pre, code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}
pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    overflow-x: auto;
    line-height: 1.6;
}
code { background: var(--code-bg); padding: 2px 6px; border-radius: 4px; }
pre code { background: transparent; padding: 0; }

.tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(245, 182, 66, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 182, 66, 0.3);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
