@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:          #080808;
  --bg-nav:      #0c0c0c;
  --bg-card:     #111111;
  --bg-card-2:   #161616;
  --bg-input:    #0a0a0a;
  --bg-hover:    rgba(255,255,255,0.04);

  --red:         #8b0000;
  --red-mid:     #a80000;
  --red-bright:  #c91a1a;
  --red-glow:    rgba(139,0,0,0.18);
  --red-glow-2:  rgba(139,0,0,0.35);
  --red-subtle:  rgba(139,0,0,0.08);
  --red-border:  rgba(139,0,0,0.4);

  --text:        #e2e2e2;
  --text-2:      #999999;
  --text-3:      #555555;
  --text-red:    #e05555;

  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);

  --online:      #22c55e;
  --away:        #f59e0b;
  --offline:     #444444;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   18px;

  --shadow:      0 4px 32px rgba(0,0,0,0.7);
  --shadow-red:  0 0 24px rgba(139,0,0,0.22);
  --trans:       0.15s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--text-red); text-decoration: none; transition: color var(--trans); }
a:hover { color: #ff7070; }

img { max-width: 100%; }

/* ── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a0000; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 0;
}

.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-right: 32px;
}
.nav-logo span { color: var(--red-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all var(--trans);
  position: relative;
}
.nav-link:hover { color: var(--text); background: var(--bg-hover); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 2px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-nick {
  font-size: 13px;
  color: var(--text-2);
}
.nav-nick strong { color: var(--text); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px;
}

.page-header {
  margin-bottom: 32px;
}
.page-header h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.page-header p { color: var(--text-2); margin-top: 6px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .page { padding: 20px 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-red);
}

.card-pad { padding: 24px; }
.card-pad-sm { padding: 16px; }

.card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title .dot {
  width: 6px; height: 6px;
  background: var(--red-bright);
  border-radius: 50%;
  display: inline-block;
}

/* ── Stat cards ─────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .stats-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats-row { grid-template-columns: 1fr 1fr; } }

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 8px;
}
.stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.stat-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-mid); color: #fff; box-shadow: 0 0 16px var(--red-glow-2); }

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--red-border); color: var(--text); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

.btn-danger {
  background: transparent;
  color: #cc3333;
  border: 1px solid rgba(204,51,51,0.3);
}
.btn-danger:hover { background: rgba(204,51,51,0.1); border-color: #cc3333; }

.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Badges / Tags ──────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.badge-red  { background: rgba(139,0,0,0.25); color: #e06060; border: 1px solid rgba(139,0,0,0.4); }
.badge-green{ background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.badge-gray { background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid var(--border); }
.badge-amber{ background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.badge-blue { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }

/* ── Online dot ─────────────────────────────────────────────────────────── */
.online-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--offline);
  flex-shrink: 0;
}
.online-dot.online { background: var(--online); box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.online-dot.away   { background: var(--away); }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  padding: 10px 14px;
  font-family: inherit;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-select { cursor: pointer; }
.form-select option { background: #1a1a1a; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: 13px; color: #f87171; margin-top: 5px; }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-error { background: rgba(139,0,0,0.15); border: 1px solid rgba(139,0,0,0.4); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.alert-info { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); color: #93c5fd; }

/* ── Login page ─────────────────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at 60% 0%, rgba(139,0,0,0.12) 0%, transparent 60%);
}

.login-box {
  width: 100%;
  max-width: 420px;
}

.login-logo {
  text-align: center;
  margin-bottom: 36px;
}
.login-logo h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
}
.login-logo h1 span { color: var(--red-bright); }
.login-logo p { color: var(--text-2); font-size: 14px; margin-top: 6px; }

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.login-card h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.login-steps {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
}
.login-step {
  flex: 1;
  height: 3px;
  background: var(--border-2);
  border-radius: 2px;
}
.login-step.active { background: var(--red); }
.login-step.done   { background: var(--online); }

.login-howto {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.login-howto h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 12px;
  font-weight: 600;
}
.login-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}
.login-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  color: var(--text-red);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Dashboard hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--bg-card-2) 0%, #0f0505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(139,0,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-greeting {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-greeting span { color: var(--red-bright); }
.hero-sub { color: var(--text-2); font-size: 14px; }

/* ── Online members list ────────────────────────────────────────────────── */
.member-list { display: flex; flex-direction: column; gap: 2px; }
.member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: background var(--trans);
}
.member-row:hover { background: var(--bg-hover); }
.member-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--red-bright);
  flex-shrink: 0;
}
.member-name { font-size: 14px; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-name a { color: var(--text); }
.member-name a:hover { color: var(--text-red); }
.member-meta { font-size: 12px; color: var(--text-3); }

/* ── Member cards (social page) ─────────────────────────────────────────── */
.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--trans);
  cursor: pointer;
}
.member-card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.member-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-card-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 2px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--red-bright);
  flex-shrink: 0;
}
.member-card-name { font-weight: 600; font-size: 15px; }
.member-card-date { font-size: 12px; color: var(--text-3); }
.member-card-groups { display: flex; flex-wrap: wrap; gap: 4px; }

/* ── Event cards ────────────────────────────────────────────────────────── */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--trans);
}
.event-card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-red);
}
.event-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.event-date-block {
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  border-radius: var(--radius);
  padding: 6px 12px;
  text-align: center;
  min-width: 64px;
}
.event-date-block .day {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--red-bright);
}
.event-date-block .month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-2);
}
.event-title { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; }
.event-desc { font-size: 13px; color: var(--text-2); }
.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.countdown { font-size: 12px; color: var(--text-2); }
.countdown strong { color: var(--red-bright); }

/* ── News cards ─────────────────────────────────────────────────────────── */
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans);
}
.news-card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--red-bright);
}
.news-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.news-card-title a { color: var(--text); }
.news-card-title a:hover { color: var(--text-red); }
.news-card-excerpt { font-size: 13px; color: var(--text-2); flex: 1; }
.news-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}

/* ── News article ───────────────────────────────────────────────────────── */
.article-header { margin-bottom: 32px; }
.article-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 760px;
}
.article-content h1,.article-content h2,.article-content h3 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text);
  margin: 28px 0 12px;
  font-weight: 700;
}
.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 20px; }
.article-content p { margin-bottom: 16px; }
.article-content a { color: var(--text-red); }
.article-content ul,.article-content ol { margin-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 6px; }
.article-content code {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.article-content pre {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.article-content pre code { background: none; border: none; padding: 0; }
.article-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 16px;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* ── Stream cards ───────────────────────────────────────────────────────── */
.stream-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
}
.stream-card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.stream-preview {
  aspect-ratio: 16/9;
  background: #0a0000;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-3);
  position: relative;
}
.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
}
.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.stream-info { padding: 14px 16px; }
.stream-name { font-weight: 600; margin-bottom: 2px; }
.stream-streamer { font-size: 13px; color: var(--text-2); }

/* ── Video player ───────────────────────────────────────────────────────── */
.player-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.player-wrap video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}
.offline-screen {
  aspect-ratio: 16/9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: #050505;
  color: var(--text-3);
}
.offline-screen svg { opacity: 0.3; }
.offline-screen p { font-size: 14px; }

/* ── Code block (stream key) ────────────────────────────────────────────── */
.code-block {
  background: var(--bg-input);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  word-break: break-all;
}
.obs-instructions { display: flex; flex-direction: column; gap: 12px; }
.obs-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.obs-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  min-width: 90px;
  flex-shrink: 0;
}

/* ── Profile ────────────────────────────────────────────────────────────── */
.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 3px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--red-bright);
  flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.profile-meta { font-size: 13px; color: var(--text-2); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.profile-groups { display: flex; flex-wrap: wrap; gap: 4px; }
.profile-bio { color: var(--text-2); font-size: 14px; line-height: 1.6; margin-top: 12px; }

/* ── Admin ──────────────────────────────────────────────────────────────── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-hover); }

/* ── Empty states ───────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
}
.empty-state svg { opacity: 0.25; margin-bottom: 16px; }
.empty-state p { font-size: 15px; }
.empty-state .hint { font-size: 13px; margin-top: 6px; }

/* ── Dividers / misc ────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 18px;
  background: var(--red-bright);
  border-radius: 2px;
  flex-shrink: 0;
}

.timestamp { font-size: 12px; color: var(--text-3); }

.uid-text {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text-3);
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

/* ── Search ─────────────────────────────────────────────────────────────── */
.search-bar {
  position: relative;
  margin-bottom: 24px;
}
.search-bar input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px 10px 40px;
  font-family: inherit;
  transition: border-color var(--trans);
  outline: none;
}
.search-bar input:focus { border-color: var(--red); }
.search-bar svg {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}
