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

:root {
  --primary: #6366f1;
  --primary-soft: #818cf8;
  --accent: #22d3ee;
  --success: #22c55e;
  --gold: #f5c36a;

  --bg-main: #020617;
  --bg-soft: #0b1220;

  --card-bg: rgba(255,255,255,0.16);
  --border-soft: rgba(255,255,255,0.22);

  --text-main: #f8fafc;   /* bright */
  --text-muted: #cbd5e1;  /* readable muted */
  --text-soft: #e2e8f0;   /* labels / helpers */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(1200px circle at top, #1e293b 0%, #020617 60%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* =================================================
   AUTH / LOGIN PAGE (UNCHANGED)
================================================= */

.auth-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-wrapper {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.04)
  );
  backdrop-filter: blur(22px);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}

.auth-brand {
  padding: 60px;
  background: linear-gradient(180deg, #312e81, #020617);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-brand img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: white;
  padding: 10px;
  margin-bottom: 24px;
  box-shadow:
    0 0 0 3px var(--gold),
    0 0 0 6px rgba(245,195,106,0.25);
}

.daily-verse {
  font-size: 14px;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  color: var(--text-muted);
}

/* =================================================
   APP LAYOUT (INNER PAGES)
================================================= */

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #020617, #0b1220);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 40px;
  color: white;
}

.sidebar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 0 4px rgba(245,195,106,0.25);
}

.sidebar-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 6px;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  background: var(--card-bg);
  color: white;
}

/* Main content */
.main-content {
  flex: 1;
  padding: 32px;
}

/* 🔥 PAGE TITLES */
.main-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 🔥 THIS FIXES YOUR ISSUE */
.main-content p,
.main-content .text-muted,
.main-content small {
  color: var(--text-muted) !important;
  font-size: 15px;
}

/* Cards */
.card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.24),
    rgba(255,255,255,0.10)
  );
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
}

/* Card headings */
.card h6 {
  color: var(--text-soft);
  font-weight: 500;
}

/* KPI values */
.card h3 {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #818cf8, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 🔥 FORM LABELS (NO MORE BLACK) */
.form-label {
  color: var(--text-soft) !important;
  font-weight: 500;
  font-size: 14px;
}

/* Tables */
.table,
.table th,
.table td {
  background-color: transparent !important;
  color: var(--text-main);
}

.table thead th {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}

.table tbody tr:hover {
  background: rgba(255,255,255,0.06);
}

/* Badges */
.bg-success {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}
