:root {
    --bg:       #0d0f13;
    --bg2:      #13161c;
    --bg3:      #1a1e27;
    --border:   #2a2f3d;
    --accent:   #2195e1;
    --accent2:  #00c2cb;
    --text:     #e0e4ef;
    --muted:    #7a8099;
    --success:  #2ecc71;
    --danger:   #e74c3c;
    --warning:  #f39c12;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
}

/* ── Navbar ── */
.navbar {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-nav { display: flex; align-items: center; gap: 1rem; list-style: none; }
.navbar-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color .2s; }
.navbar-nav a:hover { color: var(--text); }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--accent); }

/* ── Containers ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 520px; margin: 0 auto; padding: 0 1.5rem; }
.page-content { padding: 3rem 0; }

/* ── Cards ── */
.card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 5rem 1.5rem;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.hero h1 span { color: var(--accent2); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }

/* ── Botões ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s, transform .1s;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary   { background: var(--accent);  color: #fff; }
.btn-secondary { background: var(--bg3);     color: var(--text); border: 1px solid var(--border); }
.btn-success   { background: var(--success); color: #fff; }
.btn-danger    { background: var(--danger);  color: #fff; }
.btn-discord   { background: #5865f2;        color: #fff; font-size: 1rem; padding: 0.8rem 2rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }

/* ── Formulário ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.4rem; }
.form-control {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: border-color .2s;
    outline: none;
}
.form-control:focus { border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-pending  { background: rgba(243,156,18,.15);  color: var(--warning); }
.badge-approved { background: rgba(46,204,113,.15);  color: var(--success); }
.badge-rejected { background: rgba(231,76,60,.15);   color: var(--danger); }

/* ── Progress WL ── */
.wl-progress {
    height: 4px;
    background: var(--bg3);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.wl-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 99px;
    transition: width .4s ease;
}
.wl-step-info { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; }
.wl-question  { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.25rem; line-height: 1.5; }

/* ── Status card ── */
.status-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.status-icon { font-size: 2.5rem; }
.status-pending  { border-left: 4px solid var(--warning); }
.status-approved { border-left: 4px solid var(--success); }
.status-rejected { border-left: 4px solid var(--danger); }

/* ── Tabela admin ── */
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { color: var(--muted); font-weight: 600; text-align: left; padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); }
.table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg3); }

/* ── Alert ── */
.alert { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-danger  { background: rgba(231,76,60,.1);  border: 1px solid rgba(231,76,60,.3);  color: #ff7675; }
.alert-success { background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.3); color: #55efc4; }

/* ── Admin sidebar ── */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 220px;
    background: var(--bg2);
    border-right: 1px solid var(--border);
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}
.sidebar-brand { font-weight: 700; color: var(--accent2); margin-bottom: 2rem; display: block; font-size: 1rem; }
.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 0.25rem; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 0.75rem; border-radius: 8px;
    color: var(--muted); text-decoration: none; font-size: 0.9rem;
    transition: background .2s, color .2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--bg3); color: var(--text); }
.admin-main { flex: 1; padding: 2rem; overflow-x: auto; }
.admin-header { margin-bottom: 1.5rem; }
.admin-header h1 { font-size: 1.4rem; font-weight: 700; }
.admin-header p  { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

@media (max-width: 640px) {
    .hero h1 { font-size: 1.8rem; }
    .card { padding: 1.25rem; }
    .admin-layout { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
}
