/* Shared styles for all non-mindmap pages */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:     #080c18;
    --gold:   #f0a500;
    --orange: #e8530a;
    --blue:   #3a9ee8;
    --red:    #e84242;
    --green:  #2ecc71;
    --text:   #e8eaf0;
    --muted:  rgba(232, 234, 240, 0.45);
    --cb:     rgba(255, 255, 255, 0.10);
    --cbg:    rgba(255, 255, 255, 0.04);
}

html, body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        radial-gradient(circle at 50% 30%, rgba(240,165,0,0.04) 0%, transparent 60%),
        radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px;
    pointer-events: none; z-index: 0;
}

/* ── Site nav ──────────────────────────────────────── */
.site-nav {
    position: relative; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 36px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-brand {
    display: flex; align-items: baseline; gap: 10px;
    text-decoration: none;
}
.nav-logo    { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; }
.nav-tagline { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; }

.nav-links {
    display: flex; align-items: center; gap: 6px;
    list-style: none;
}
.nav-links a {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    transition: color 0.18s, background 0.18s;
}
.nav-links a:hover       { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active      { color: var(--text); }
.nav-links .btn-nav-login {
    color: var(--gold);
    border: 1px solid rgba(240,165,0,0.35);
    padding: 7px 16px;
}
.nav-links .btn-nav-login:hover { background: rgba(240,165,0,0.08); border-color: var(--gold); }

.nav-user-info {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.78rem; color: var(--muted);
}
.nav-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-admin    { background: rgba(240,165,0,0.15); color: var(--gold); border: 1px solid rgba(240,165,0,0.3); }
.badge-employee { background: rgba(58,158,232,0.15); color: var(--blue); border: 1px solid rgba(58,158,232,0.3); }

/* ── Page wrapper ───────────────────────────────────── */
.page-wrap {
    position: relative; z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}
.page-wrap-wide {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px 64px;
    position: relative; z-index: 1;
}

/* ── Card ───────────────────────────────────────────── */
.card {
    background: var(--cbg);
    border: 1px solid var(--cb);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
}

/* ── Typography ─────────────────────────────────────── */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}
.page-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 28px;
}
h2 { font-size: 1.05rem; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
h2:first-child { margin-top: 0; }
p  { font-size: 0.86rem; color: rgba(232,234,240,0.75); margin-bottom: 10px; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Form ───────────────────────────────────────────── */
.form-group      { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(232,234,240,0.25); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}
.btn-full  { width: 100%; }
.btn-gold  { background: var(--gold); color: #080c18; }
.btn-gold:hover { background: #ffb930; box-shadow: 0 4px 20px rgba(240,165,0,0.25); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-red   { background: rgba(232,66,66,0.15); border: 1px solid rgba(232,66,66,0.35); color: var(--red); }
.btn-red:hover { background: rgba(232,66,66,0.22); }

/* ── Alert messages ─────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.83rem;
    margin-bottom: 20px;
}
.alert-error   { background: rgba(232,66,66,0.12); border: 1px solid rgba(232,66,66,0.35); color: #f08080; }
.alert-success { background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.35); color: #7defa7; }

/* ── Divider ────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 28px 0; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    position: relative; z-index: 1;
    text-align: center;
    padding: 20px;
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
    .site-nav       { padding: 14px 16px; }
    .nav-tagline    { display: none; }
    .nav-links a    { padding: 6px 10px; font-size: 0.76rem; }
    .page-wrap,
    .page-wrap-wide { padding: 28px 16px 48px; }
    .card           { padding: 24px 20px; }
}
