/* Bible App for Kids — Admin Dashboard CSS */
:root {
  --bible-primary: #5D87FF;
  --bible-primary-light: #ECF2FF;
  --bible-secondary: #49BEFF;
  --bible-secondary-light: #E8F7FF;
  --bible-success: #13DEB9;
  --bible-success-light: #E6FFFA;
  --bible-warning: #FFAE1F;
  --bible-warning-light: #FEF5E5;
  --bible-danger: #FA896B;
  --bible-danger-light: #FBF2EF;
  --bible-gold: #FFD700;
  --bible-gradient-1: linear-gradient(135deg, #5D87FF 0%, #7C6FEF 100%);
  --bible-gradient-2: linear-gradient(135deg, #13DEB9 0%, #49BEFF 100%);
  --bible-gradient-3: linear-gradient(135deg, #FA896B 0%, #FFAE1F 100%);
}

/* Welcome Banner */
.welcome-banner {
  background: var(--bible-gradient-1);
  border-radius: 20px;
  padding: 35px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  box-shadow: 0 10px 30px rgba(93, 135, 255, 0.2);
  transition: all 0.3s ease;
}
.welcome-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.welcome-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.03); }
}
.welcome-banner h2 {
  font-weight: 700;
  font-size: 1.85rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.welcome-banner p {
  opacity: 0.95;
  font-weight: 400;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.welcome-banner .btn-light {
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
  border: none;
  transition: all 0.2s ease;
}
.welcome-banner .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

/* KPI Zoom Cards */
.card.zoom-in {
  transition: all 0.25s ease-in-out;
}
.card.zoom-in:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

/* Modern tables and widgets */
.story-table-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  background: var(--bs-card-bg);
  overflow: hidden;
}
.story-table-card .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 20px 24px;
}
.story-table-card .card-body {
  padding: 24px;
}
.table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #7c8fac;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}
.table tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.03) !important;
}

/* Story Icon and Badges */
.story-icon-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.story-status {
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}
.story-status.published {
  background: var(--bible-success-light);
  color: var(--bible-success);
}
.story-status.draft {
  background: var(--bible-warning-light);
  color: var(--bible-warning);
}
.story-status.locked {
  background: #f1f3f7;
  color: #7c8fac;
}

/* Action Buttons */
.btn-action {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.2s ease;
}
.btn-action.btn-edit {
  background: var(--bible-primary-light);
  color: var(--bible-primary);
}
.btn-action.btn-edit:hover {
  background: var(--bible-primary);
  color: #fff;
}
.btn-action.btn-delete {
  background: var(--bible-danger-light);
  color: var(--bible-danger);
}
.btn-action.btn-delete:hover {
  background: var(--bible-danger);
  color: #fff;
}

/* Challenges Cards */
.challenge-card {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 16px;
  transition: all 0.25s ease;
  background: var(--bs-card-bg);
}
.challenge-card:hover {
  border-color: rgba(93, 135, 255, 0.3);
  box-shadow: 0 6px 15px rgba(0,0,0,0.03);
}
.challenge-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bible-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Gem Cards */
.gem-card {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 18px 12px;
  text-align: center;
  transition: all 0.25s ease;
  background: var(--bs-card-bg);
}
.gem-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 111, 239, 0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.gem-card .gem-emoji {
  font-size: 2.3rem;
  margin-bottom: 10px;
  display: inline-block;
  transition: all 0.2s ease;
}
.gem-card:hover .gem-emoji {
  transform: scale(1.15) rotate(5deg);
}

/* Dark mode overrides */
[data-bs-theme="dark"] .story-table-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
[data-bs-theme="dark"] .challenge-card,
[data-bs-theme="dark"] .gem-card {
  border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .story-status.locked {
  background: rgba(255,255,255,0.05);
  color: #adb0bb;
}

