/* ═══════════════════════════════════════════════════
   JUDO CLUB CATTENOM — Site Theme Overlay (dark)
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #0a0f1c;
  --bg-surface: #111827;
  --bg-card: #141d2b;
  --bg-input: #0f151f;
  --accent: #e2b13c;
  --accent-hover: #efd07a;
  --text: #e8ecf4;
  --text-muted: #96a2b8;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* NAV = site vitrine */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.nav__title { display:flex; flex-direction:column; line-height:1.2; }
.nav__club { font-weight:700; font-size:0.95rem; font-family: inherit; }
.nav__sub { font-size:0.75rem; color: var(--text-muted); }
.nav__links { display:flex; align-items:center; gap:2px; }
.nav__link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color .2s, background .2s;
  text-decoration: none;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__link--active { color: var(--accent); }
.nav__cta {
  margin-left: 12px;
  color: var(--bg);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__cta:hover { background: var(--accent-hover); color: var(--bg); }

/* Bot acceptable (voir mémo) */
.notification {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}

.app-header {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
}
.header-title h1 { color: var(--text); }
.header-subtitle { color: var(--text-muted); }
.header-logo { filter: drop-shadow(0 0 0 transparent); }
.env-banner {
  background: var(--accent);
  color: var(--bg);
  border-bottom: 1px solid var(--border-strong, rgba(255,255,255,0.18));
}

/* Formulaires / inputs */
input, select, textarea {
  background: var(--bg-input) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
input::placeholder { color: var(--text-muted); }

/* Boutons existants */
.btn-primary { background: var(--accent); color: #111827; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--border-strong); }
.btn-danger { background:#dc2626; color:#fff; border-color:#dc2626; }
.btn-danger:hover { background:#ef4444; border-color:#ef4444; }
.btn-logout { color: var(--text); }


.btn-back-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--accent, #e2b13c);
  color: #0a0f1c !important;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(226, 177, 60, 0.25);
}
.btn-back-site:hover {
  background: var(--accent-hover, #efd07a);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(226, 177, 60, 0.35);
}
.btn-back-site:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(226, 177, 60, 0.15);
}
.btn-icon { color: var(--text-muted); }

/* Cartes / panneaux */
.card { background: var(--bg-surface); border: 1px solid var(--border); color: var(--text); }
.summary-card { background: var(--bg-card); }
.legend-item { color: var(--text-muted); }

/* Bouton hamburger */
.btn-hamburger { color: var(--text); }

/* Sidebar */
.app-sidebar { background: var(--bg-surface); border-right: 1px solid var(--border); }
.sidebar-nav-btn { color: var(--text); }
.sidebar-nav-btn.btn-primary { color: var(--bg); }
.sidebar-section {
  background: transparent;
}

/* Scrollbars Webkit */
::-webkit-scrollbar { width:10px; height:10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius:10px; }
::-webkit-scrollbar-track { background: transparent; }
