:root {
  --brand: #0d6efd;
  --brand-dark: #0a4fb8;
  --bg: #f5f7fb;
}

body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Portail captif public */
.portal-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

.portal-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
}

.portal-card h1 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.plan-card {
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}

.plan-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.plan-card.selected {
  border-color: var(--brand);
  background: #eff6ff;
}

.plan-card .plan-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-dark);
}

.voucher-code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  background: #0f172a;
  color: #f8fafc;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  user-select: all;
}

/* Dashboard */
.sidebar {
  background: #0f172a;
  color: #cbd5e1;
  min-height: 100vh;
  padding: 1.25rem 0.75rem;
}

.sidebar a {
  color: #cbd5e1;
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 0.15rem;
}

.sidebar a:hover, .sidebar a.active {
  background: #1e293b;
  color: #fff;
}

.sidebar .brand {
  color: #fff;
  font-weight: 700;
  padding: 0 0.85rem 1rem;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 1rem;
}

.kpi {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.kpi .label { color: #64748b; font-size: 0.85rem; }
.kpi .value { font-size: 1.6rem; font-weight: 700; color: #0f172a; }
