/* ═══════════════════════════════════════════════════════════
   Deep Soccer — Visual Enhancement Layer
   Loaded after dark.css — safe to override
═══════════════════════════════════════════════════════════ */

:root {
  --ds-accent:      #3b82f6;
  --ds-accent-glow: rgba(59,130,246,0.14);
  --ds-gold:        #facc15;
  --ds-green:       #22c55e;
  --ds-card-border: rgba(255,255,255,0.07);
}

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  border: 1px solid var(--ds-card-border) !important;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.38), 0 0 0 1px var(--ds-accent-glow) !important;
  transform: translateY(-2px);
}
.card-header {
  border-bottom: 1px solid var(--ds-card-border) !important;
  background: transparent !important;
  padding: 1rem 1.25rem !important;
}
.card-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #94a3b8 !important;
  margin-bottom: 0 !important;
}

/* ─── Table ─────────────────────────────────────────────── */
.table thead th {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: #64748b !important;
  border-bottom: 2px solid rgba(255,255,255,0.07) !important;
  padding: 14px 12px !important;
  white-space: nowrap;
}
.table td {
  vertical-align: middle !important;
  padding: 11px 12px !important;
  border-color: rgba(255,255,255,0.04) !important;
}
.table tbody tr { transition: background 0.12s ease; }
.table tbody tr:hover td { background: rgba(59,130,246,0.07) !important; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%) !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(59,130,246,0.3);
  transition: all 0.18s ease !important;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(59,130,246,0.45) !important; }

.btn-success {
  background: linear-gradient(135deg,#22c55e 0%,#15803d 100%) !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(34,197,94,0.22);
  transition: all 0.18s ease !important;
}
.btn-success:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(34,197,94,0.38) !important; }
.btn-pill { border-radius: 50px !important; }

/* ─── Page title gradient ────────────────────────────────── */
.ds-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg,#f0f6ff 0%,#93c5fd 60%,#a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* ─── Sidebar ───────────────────────────────────────────── */
.sidebar-link { border-radius: 6px !important; margin: 1px 0 !important; transition: all 0.15s ease !important; }
.sidebar-item.active > .sidebar-link {
  background: linear-gradient(90deg,rgba(59,130,246,0.22) 0%,transparent 100%) !important;
  border-left: 3px solid #3b82f6 !important;
}

/* ─── Navbar / Footer ───────────────────────────────────── */
.navbar-bg  { border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
.footer     { border-top:    1px solid rgba(255,255,255,0.05) !important; }

/* ─── Forms ─────────────────────────────────────────────── */
.form-control {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  transition: all 0.18s ease;
}
.form-control:focus {
  background: rgba(59,130,246,0.05) !important;
  border-color: rgba(59,130,246,0.5) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
}

/* ─── Pricing cards ─────────────────────────────────────── */
.pricing-card {
  border: 1px solid rgba(59,130,246,0.22) !important;
  background: linear-gradient(145deg,rgba(59,130,246,0.07) 0%,rgba(255,255,255,0.02) 100%) !important;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899);
}
.pricing-price {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg,#f0f6ff,#93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-check { color: var(--ds-green); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg,#facc15,#f97316);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 8px;
  vertical-align: middle;
}

/* ─── Sign-in card ──────────────────────────────────────── */
.login-card {
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(59,130,246,0.12) !important;
}
.login-logo {
  width: 88px; height: 88px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15), 0 8px 24px rgba(0,0,0,0.35);
}

/* ─── DataTables ────────────────────────────────────────── */
.dataTables_filter input,
.dataTables_length select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  color: inherit !important;
  padding: 5px 10px !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
.dataTables_filter input:focus,
.dataTables_length select:focus { border-color: rgba(59,130,246,0.4) !important; outline: none; }

/* ─── Subscription tab toggle ───────────────────────────────── */
.ds-tab {
  border-radius: 7px !important;
  padding: 7px 22px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  border: none !important;
  color: #94a3b8 !important;
  background: transparent !important;
  transition: all 0.18s ease !important;
}
.ds-tab.active {
  background: rgba(59,130,246,0.7) !important;
  color: #fff !important;
}

/* ─── FAQ cards ─────────────────────────────────────────── */
.faq-card { border-left: 3px solid rgba(59,130,246,0.4) !important; }
.faq-card .card-title {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}

/* ─── Entrance animation ────────────────────────────────── */
@keyframes ds-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card { animation: ds-fade-up 0.28s ease both; }

/* ═══════════════════════════════════════════════════════════
   Predictions page enhancements
═══════════════════════════════════════════════════════════ */

/* Match header */
.match-header {
  background: linear-gradient(135deg, rgba(30,41,59,0.95) 0%, rgba(15,23,42,0.98) 100%) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35) !important;
  position: relative;
  overflow: hidden;
}

.match-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.match-header h1 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  background: linear-gradient(135deg, #f0f6ff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px !important;
}

.match-header p {
  font-size: 13px !important;
  color: #64748b !important;
  margin: 3px 0 !important;
}

/* Teams section */
.teams {
  background: linear-gradient(135deg, rgba(30,41,59,0.6) 0%, rgba(15,23,42,0.7) 100%) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  margin-bottom: 20px !important;
}

.teams .team h2 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #e2e8f0 !important;
}

.teams .team img {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* VS badge */
.vs {
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15)) !important;
  border: 1px solid rgba(139,92,246,0.25) !important;
  color: #a78bfa !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  padding: 10px 18px !important;
}

/* Prediction cards */
.card h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #94a3b8 !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* Double chance bars */
.double-chance {
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,0.025) !important;
}

/* Summary card */
.summary-card,
div[style*="summary"],
.card p {
  line-height: 1.7 !important;
}

/* AI analysis section — make it stand out */
.card h4 {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
}

/* Form badges — add subtle glow */
.form-badge.form-w { box-shadow: 0 0 6px rgba(34,197,94,0.4); }
.form-badge.form-l { box-shadow: 0 0 6px rgba(239,68,68,0.4); }

/* Container padding */
.container {
  padding-top: 8px;
}

/* Progress bars on predictions page */
.stat-fill.team1 {
  background: linear-gradient(90deg, #3b82f6, #34d399) !important;
}
.stat-fill.team2 {
  background: linear-gradient(90deg, #f97316, #ec4899) !important;
}

/* dc-fill bar */
.dc-fill {
  background: linear-gradient(90deg, #34d399, #3b82f6) !important;
}
