/* ─── Phoenix 3.0 — Thème sombre ─── */

:root {
  --accent:    #ffc107;
  --bg-card:   #1a1d23;
  --bg-body:   #10121a;
  --border:    rgba(255,255,255,0.07);
}

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

/* ─── Navbar ─── */
.navbar {
  background: rgba(20, 22, 30, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* ─── Cards ─── */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
}

.stat-card {
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent) !important;
}

/* ─── Tables ─── */
.table-dark {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: rgba(255,255,255,0.04);
}

.table thead th {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom-color: var(--border);
}

/* ─── Balls (numéros) ─── */
.ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: #ccc;
  margin: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}

.ball.hit {
  background: rgba(25, 200, 100, 0.25);
  color: #4ade80;
  border-color: #4ade80;
}

.ball.real {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: #3b82f6;
}

.ball.dream {
  background: rgba(234, 179, 8, 0.15);
  color: #fbbf24;
  border-color: rgba(234,179,8,0.4);
}

.ball.dream.hit {
  background: rgba(234,179,8,0.3);
  border-color: #fbbf24;
}

.ball-lg {
  width: 52px;
  height: 52px;
  font-size: 1rem;
}

/* ─── Login ─── */
.card-body .form-control,
.card-body .input-group-text {
  background-color: rgba(255,255,255,0.05);
  border-color: var(--border);
  color: #fff;
}

.card-body .form-control:focus {
  background-color: rgba(255,255,255,0.08);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(255,193,7,0.15);
  color: #fff;
}

/* ─── Buttons ─── */
.btn-warning {
  color: #000;
  font-weight: 600;
}

/* ─── Alerts ─── */
.alert {
  border-radius: 10px;
  border: none;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
