/**
 * Tenant School Website Theme Presets
 * High-impact, responsive, category-specific visual themes
 */

/* ========================================================
   1. Theme: Classic Academic (Emerald & Gold)
   Default Govt / Board Style
   ======================================================== */
.ts-theme-emerald_classic {
  --school-theme-name: 'emerald_classic';
}
.ts-theme-emerald_classic .ts-topbar {
  background: #0b1329;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ts-theme-emerald_classic .ts-nav-wrapper {
  background: var(--school-primary, #0f766e);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28);
}
.ts-theme-emerald_classic .ts-nav-link.active {
  background: rgba(0, 0, 0, 0.18);
  border-bottom: 3px solid #f59e0b;
}

/* ========================================================
   2. Theme: Modern Ocean Tech (Smart & Digital Campuses)
   Royal Blue, Cyan, Glassmorphism, Pill Badges
   ======================================================== */
.ts-theme-modern_ocean {
  --school-theme-name: 'modern_ocean';
}
.ts-theme-modern_ocean body,
body.ts-theme-modern_ocean {
  background-color: #f0f9ff;
}
.ts-theme-modern_ocean .ts-topbar {
  background: #0c1938;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.ts-theme-modern_ocean .ts-header {
  background: #ffffff;
  border-bottom: 2px solid #e0f2fe;
}
.ts-theme-modern_ocean .ts-brand-text h1 {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  letter-spacing: -0.02em;
  color: #0c2340;
}
.ts-theme-modern_ocean .ts-brand-text .ts-subname {
  color: #0284c7;
  font-weight: 700;
}
.ts-theme-modern_ocean .ts-nav-wrapper {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.35);
  border-radius: 0 0 12px 12px;
}
.ts-theme-modern_ocean .ts-nav-link {
  border-radius: 8px;
  transition: all 0.2s ease;
}
.ts-theme-modern_ocean .ts-nav-link:hover,
.ts-theme-modern_ocean .ts-nav-link.active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.ts-theme-modern_ocean .ts-quick-card {
  border-radius: 16px;
  border: 1.5px solid #e0f2fe;
  background: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(30, 64, 175, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ts-theme-modern_ocean .ts-quick-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px -4px rgba(30, 64, 175, 0.16);
}
.ts-theme-modern_ocean .ts-slide-badge {
  background: rgba(2, 132, 199, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
}

/* ========================================================
   3. Theme: Cadet Royal (Prestige & Heritage)
   Midnight Navy, Crimson, Imperial Gold Accents
   ======================================================== */
.ts-theme-cadet_royal {
  --school-theme-name: 'cadet_royal';
}
.ts-theme-cadet_royal .ts-topbar {
  background: #020617;
  color: #cbd5e1;
  border-bottom: 1.5px solid rgba(234, 179, 8, 0.3);
}
.ts-theme-cadet_royal .ts-topbar-item i {
  color: #eab308 !important;
}
.ts-theme-cadet_royal .ts-header {
  background: #ffffff;
  border-bottom: 3.5px solid #eab308;
  position: relative;
}
.ts-theme-cadet_royal .ts-header::after {
  content: '';
  position: absolute;
  bottom: -6.5px;
  left: 0;
  right: 0;
  height: 3px;
  background: #991b1b;
}
.ts-theme-cadet_royal .ts-brand-text h1 {
  font-family: 'Noto Serif Bengali', 'Times New Roman', serif;
  font-weight: 900;
  color: #0f172a;
}
.ts-theme-cadet_royal .ts-brand-text .ts-subname {
  color: #991b1b;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ts-theme-cadet_royal .ts-brand-logo {
  border: 2.5px solid #eab308;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.ts-theme-cadet_royal .ts-nav-wrapper {
  background: #0f172a;
  border-bottom: 2px solid #eab308;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}
.ts-theme-cadet_royal .ts-nav-link:hover,
.ts-theme-cadet_royal .ts-nav-link.active {
  background: #991b1b;
  color: #ffffff;
  border-top: 2px solid #eab308;
}
.ts-theme-cadet_royal .ts-nav-link.highlight {
  background: #ca8a04 !important;
  color: #0f172a !important;
  font-weight: 800;
}
.ts-theme-cadet_royal .ts-quick-card {
  border-left: 4px solid #eab308;
}

/* ========================================================
   4. Theme: Islamic Sunnah (Madrasa & Quranic Academy)
   Oasis Forest Green, Warm Ivory, Gold Trimming
   ======================================================== */
.ts-theme-islamic_madrasa {
  --school-theme-name: 'islamic_madrasa';
}
.ts-theme-islamic_madrasa body,
body.ts-theme-islamic_madrasa {
  background-color: #fdfbf7;
}
.ts-theme-islamic_madrasa .ts-topbar {
  background: #052e16;
  border-bottom: 1.5px solid rgba(217, 119, 6, 0.35);
  color: #d1fae5;
}
.ts-theme-islamic_madrasa .ts-topbar-item i {
  color: #f59e0b !important;
}
.ts-theme-islamic_madrasa .ts-header {
  background: #ffffff;
  border-bottom: 3px solid #d97706;
  background-image: radial-gradient(circle at 50% 0%, rgba(20, 83, 45, 0.04) 0%, transparent 70%);
}
.ts-theme-islamic_madrasa .ts-brand-text h1 {
  font-family: 'Noto Serif Bengali', serif;
  color: #14532d;
  font-weight: 900;
}
.ts-theme-islamic_madrasa .ts-brand-text .ts-subname {
  color: #b45309;
  font-weight: 700;
}
.ts-theme-islamic_madrasa .ts-nav-wrapper {
  background: #14532d;
  border-bottom: 3px solid #d97706;
  box-shadow: 0 6px 18px rgba(20, 83, 45, 0.28);
}
.ts-theme-islamic_madrasa .ts-nav-link:hover,
.ts-theme-islamic_madrasa .ts-nav-link.active {
  background: #064e3b;
  color: #fef08a;
  border-bottom: 3px solid #f59e0b;
}
.ts-theme-islamic_madrasa .ts-quick-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 14px;
}
.ts-theme-islamic_madrasa .ts-slide-badge {
  background: #14532d;
  border: 1px solid #d97706;
  color: #fef3c7;
}

/* ========================================================
   5. Theme: Kids & Playful (Kindergarten & Junior Academy)
   Sunny Coral, Sky Blue, Extra Rounded Corners, Bouncy
   ======================================================== */
.ts-theme-kindergarten_playful {
  --school-theme-name: 'kindergarten_playful';
}
.ts-theme-kindergarten_playful body,
body.ts-theme-kindergarten_playful {
  background-color: #fffdf5;
}
.ts-theme-kindergarten_playful .ts-topbar {
  background: #1c1917;
  border-bottom: 2px solid #fbbf24;
}
.ts-theme-kindergarten_playful .ts-header {
  background: #ffffff;
  border-bottom: 3px dashed #fdba74;
}
.ts-theme-kindergarten_playful .ts-brand-logo {
  border-radius: 20px;
  border: 3px solid #fb923c;
  transform: rotate(-2deg);
  transition: transform 0.2s ease;
}
.ts-theme-kindergarten_playful .ts-brand-logo:hover {
  transform: rotate(0deg) scale(1.05);
}
.ts-theme-kindergarten_playful .ts-brand-text h1 {
  color: #ea580c;
  font-weight: 900;
}
.ts-theme-kindergarten_playful .ts-brand-text .ts-subname {
  color: #0284c7;
  font-weight: 700;
}
.ts-theme-kindergarten_playful .ts-nav-wrapper {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.28);
}
.ts-theme-kindergarten_playful .ts-nav-link {
  border-radius: 12px;
  margin: 3px 2px;
  transition: all 0.2s ease;
}
.ts-theme-kindergarten_playful .ts-nav-link:hover,
.ts-theme-kindergarten_playful .ts-nav-link.active {
  background: #facc15;
  color: #7c2d12;
  font-weight: 800;
  transform: translateY(-2px);
}
.ts-theme-kindergarten_playful .ts-quick-card {
  border-radius: 22px;
  border: 2px solid #fed7aa;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.08);
  transition: all 0.25s ease;
}
.ts-theme-kindergarten_playful .ts-quick-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #f97316;
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.18);
}

/* ========================================================
   6. Theme: Executive Slate (Minimalist & Contemporary)
   Clean Onyx, Zinc Slate, Razor-Sharp Borders
   ======================================================== */
.ts-theme-monochrome_executive {
  --school-theme-name: 'monochrome_executive';
}
.ts-theme-monochrome_executive body,
body.ts-theme-monochrome_executive {
  background-color: #fafafa;
}
.ts-theme-monochrome_executive .ts-topbar {
  background: #09090b;
  border-bottom: 1px solid #27272a;
}
.ts-theme-monochrome_executive .ts-header {
  background: #ffffff;
  border-bottom: 1.5px solid #e4e4e7;
}
.ts-theme-monochrome_executive .ts-brand-text h1 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #09090b;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ts-theme-monochrome_executive .ts-brand-logo {
  border-radius: 6px;
  border: 1px solid #d4d4d8;
}
.ts-theme-monochrome_executive .ts-nav-wrapper {
  background: #18181b;
  border-bottom: 1px solid #27272a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.ts-theme-monochrome_executive .ts-nav-link {
  border-radius: 4px;
}
.ts-theme-monochrome_executive .ts-nav-link:hover,
.ts-theme-monochrome_executive .ts-nav-link.active {
  background: #27272a;
  color: #ffffff;
  border-bottom: 2px solid #3b82f6;
}
.ts-theme-monochrome_executive .ts-quick-card {
  border-radius: 8px;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.ts-theme-monochrome_executive .ts-quick-card:hover {
  border-color: #a1a1aa;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ========================================================
   Live Preview Toast Floating Badge
   ======================================================== */
.ts-preview-floating-bar {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid #f59e0b;
}
.ts-preview-floating-bar a {
  color: #fef08a;
  text-decoration: underline;
  font-weight: 700;
}
