/* ==========================================================================
   SI-RASA (Sistem Ruang Aman Sahabat Anak)
   Unified Design System & Comprehensive Web Application Stylesheet
   ========================================================================== */

:root {
  /* Brand Color Palette - Professional Mental Health & School */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-card-hover: #f0f7ff;
  --bg-input: #f8fafc;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;

  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-soft: rgba(37, 99, 235, 0.12);

  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-soft: rgba(16, 185, 129, 0.12);

  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-soft: rgba(6, 182, 212, 0.12);

  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-soft: rgba(139, 92, 246, 0.12);

  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-soft: rgba(245, 158, 11, 0.12);

  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-soft: rgba(244, 63, 94, 0.12);

  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-soft: rgba(239, 68, 68, 0.12);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Radii & Transitions */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: all 0.2s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px -4px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.2);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #e0f2fe 0%, #f8fafc 70%);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Helper Utilities */
.text-center { text-align: center; }
.text-blue { color: #2563eb !important; }
.text-green { color: #059669 !important; }
.text-cyan { color: #0891b2 !important; }
.text-amber { color: #d97706 !important; }
.text-purple { color: #7c3aed !important; }
.text-rose { color: #e11d48 !important; }
.text-indigo { color: #4f46e5 !important; }
.text-danger { color: #dc2626 !important; }
.text-muted { color: var(--text-muted) !important; }
.text-dim { color: var(--text-dim) !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.mb-4 { margin-bottom: 20px; }
.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-soft);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: #334155;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.btn-portal {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}
.btn-portal:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.38);
}

.btn-outline {
  background: #ffffff;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1;
}
.btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a !important;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff !important;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.btn-block {
  width: 100%;
}
.btn-danger {
  background: #dc2626;
  color: #ffffff !important;
}
.btn-danger:hover {
  background: #b91c1c;
}
.btn-success {
  background: #059669;
  color: #ffffff !important;
}
.btn-success:hover {
  background: #047857;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}
.btn-sub {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
  color: inherit;
}
.btn-main {
  font-size: 14.5px;
  font-weight: 700;
  color: inherit;
}

/* View Sections Switching */
.view-section {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.view-section.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   VIEW 1: LANDING PAGE HEADER & HERO
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
  cursor: pointer;
}

.app-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a !important;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: #64748b !important;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #334155 !important;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: var(--transition-fast);
}
.nav-link:hover {
  color: #2563eb !important;
}

.btn-apk-nav {
  background: #f1f5f9;
  color: #0f172a !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: var(--transition-fast);
}
.btn-apk-nav:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}

.btn-portal-nav {
  background: #2563eb;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.btn-portal-nav:hover {
  background: #1d4ed8;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 22px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  color: #1d4ed8 !important;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a !important;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.text-highlight {
  background: linear-gradient(135deg, #2563eb, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 16.5px;
  color: #334155 !important;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 45px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.trust-item strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a !important;
}

.trust-item span {
  font-size: 11.5px;
  color: #64748b !important;
}

.trust-sep {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

/* Hero Right Card Preview */
.hero-card-preview {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.12);
  position: relative;
}

.preview-device {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.preview-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.preview-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  display: block;
}

.preview-status {
  font-size: 11.5px;
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.preview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.preview-feature-card:hover {
  transform: translateX(4px);
  background: rgba(15, 23, 42, 0.9);
}

.feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feat-blue .feat-icon { background: rgba(37, 99, 235, 0.2); color: #60a5fa; }
.feat-purple .feat-icon { background: rgba(139, 92, 246, 0.2); color: #c084fc; }
.feat-emerald .feat-icon { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.feat-info strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.feat-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.preview-footer {
  padding-top: 10px;
}
.preview-btn {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #334155;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.preview-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Features Grid */
.section {
  padding: 90px 0;
}
.section-dark {
  background: #f1f5f9;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 55px;
}
.section-title { color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition-fast);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-card);
}

.f-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.bg-blue { background: #eff6ff; color: #2563eb !important; }
.bg-cyan { background: #ecfeff; color: #0891b2 !important; }
.bg-amber { background: #fffbeb; color: #d97706 !important; }
.bg-indigo { background: #eef2ff; color: #4f46e5 !important; }
.bg-purple { background: #f5f3ff; color: #7c3aed !important; }
.bg-rose { background: #fff1f2; color: #e11d48 !important; }
.bg-emerald { background: #ecfdf5; color: #059669 !important; }
.bg-teal { background: #f0fdfa; color: #0d9488 !important; }
.bg-navy { background: #f1f5f9; color: #334155 !important; }
.bg-red { background: #fef2f2; color: #dc2626 !important; }
.bg-green { background: #ecfdf5; color: #059669 !important; }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14.5px;
  color: #475569 !important;
  line-height: 1.6;
}

/* Download APK Box */
.download-box {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.3);
}

.download-content h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 12px;
}
.download-content p {
  font-size: 16px;
  color: #e2e8f0 !important;
  margin-bottom: 24px;
}

.download-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: #bfdbfe !important;
  margin-bottom: 30px;
}
.download-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-download-large {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: #ffffff;
  color: #0f172a !important;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
}
.btn-download-large i {
  font-size: 30px;
  color: #059669 !important;
}
.btn-download-large:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}
.d-sub {
  display: block;
  font-size: 11px;
  color: #64748b !important;
  font-weight: 600;
}
.d-main {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a !important;
}

.download-image-wrap {
  text-align: center;
}
.download-hero-img {
  max-width: 220px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

/* Footer */
.footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-title {
  color: #ffffff !important;
}
.footer-brand .brand-sub {
  color: #94a3b8 !important;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: #94a3b8 !important;
  max-width: 360px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  color: #ffffff !important;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: #cbd5e1 !important;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: #60a5fa !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b !important;
}


/* ==========================================================================
   VIEW 2: WEB APPLICATION WORKSPACE & DASHBOARD STYLES
   ========================================================================== */
.app-header { background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.app-header-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.app-header-title { color: #1e293b;
}
.app-role-badge {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 20px;
  margin-left: 6px;
  font-weight: 600;
}

.school-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-sos-top {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-sos-top:hover {
  background: rgba(239, 68, 68, 0.3);
}

.user-profile-menu {
  position: relative;
}
.user-avatar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
}
.avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.user-display-name { color: #1e293b;
}

.profile-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 150;
}
.profile-dropdown-content.show {
  display: block;
}
.profile-drop-header {
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--border-color);
}
.profile-drop-header strong {
  display: block;
  font-size: 14px;
  color: #334155;
}
.profile-drop-header small {
  font-size: 12px;
  color: var(--text-dim);
}
.profile-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition-fast);
}
.profile-dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #0f172a;
}
.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}

/* Workspace Layout */
.app-workspace {
  display: flex;
  min-height: calc(100vh - 60px);
}

.app-sidebar {
  width: 260px;
  background: #1e293b;
  border-right: 1px solid var(--border-color);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.sidebar-menu-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 12px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: var(--transition-fast);
}
.nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #0f172a;
}
.nav-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.1));
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.sidebar-footer {
  padding: 14px 12px;
  border-top: 1px solid var(--border-color);
}
.sidebar-app-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: var(--text-dim);
}
.status-indicator-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-500);
  font-weight: 600;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald-500);
  border-radius: 50%;
}

.app-main-content {
  flex: 1;
  padding: 24px 30px;
  overflow-y: auto;
  max-width: 1200px;
  margin: 0 auto;
}

.app-tab-pane {
  display: none;
  animation: fadeInPane 0.25s ease;
}
.app-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.pane-header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pane-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   TAB 1: BERANDA SISWA
   ========================================================================== */
.welcome-banner {
  background: linear-gradient(135deg, #1e3a8a, #e0f2fe);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 26px;
}

.welcome-date {
  font-size: 13px;
  color: #93c5fd;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.welcome-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.welcome-text p {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 700px;
  margin-bottom: 22px;
}

.quick-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-quick-primary {
  padding: 10px 18px;
  background: #ffffff;
  color: #1e3a8a;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.btn-quick-secondary {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.15);
  color: #0f172a;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.summary-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.summary-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.s-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.s-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}
.s-val {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

.section-subheading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.app-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.app-module-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.app-module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-card);
}
.mod-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
}
.app-module-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.app-module-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.mod-link {
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   TAB 2: DASS-21 STYLES
   ========================================================================== */
.dass-form-card, .dass-result-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.dass-instruction-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #93c5fd;
  margin-bottom: 22px;
}

.dass-progress-wrap {
  margin-bottom: 26px;
}
.dass-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  transition: width 0.3s ease;
}

.dass-questions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.dass-q-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.dass-q-header {
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.dass-q-header span.q-num {
  color: #60a5fa;
  margin-right: 6px;
}

.dass-options-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dass-opt-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.dass-opt-label:hover {
  background: #e2e8f0;
}
.dass-opt-label.active {
  background: rgba(37, 99, 235, 0.2);
  border-color: #3b82f6;
  color: #60a5fa;
}
.dass-opt-label input {
  display: none;
}
.opt-score {
  font-size: 16px;
  font-weight: 800;
}
.opt-text {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.dass-submit-wrap {
  text-align: center;
  padding-top: 10px;
}

/* DASS Result Cards */
.result-header-banner {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.res-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.result-header-banner h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #334155;
}
.result-header-banner p {
  font-size: 13px;
  color: var(--text-dim);
}

.scores-triplet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

.score-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}
.sc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.sc-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #334155;
  margin: 6px 0;
}
.sc-status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  margin-bottom: 10px;
}
.sc-desc {
  font-size: 12px;
  color: var(--text-dim);
}

.result-recommendation-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}
.result-recommendation-box h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 8px;
}
.result-recommendation-box p {
  font-size: 14px;
  color: #f1f5f9;
  line-height: 1.6;
}

.result-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* ==========================================================================
   TAB 3: FACE SCAN AI
   ========================================================================== */
.facescan-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.camera-card, .scan-result-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.camera-feed-box {
  position: relative;
  width: 100%;
  height: 320px;
  background: #090e1a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

#webcamVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.scan-box {
  width: 180px;
  height: 220px;
  border: 2px dashed #38bdf8;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
  animation: scanMove 2.5s infinite linear;
}

@keyframes scanMove {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.scan-status-text {
  font-size: 13px;
  color: #334155;
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 12px;
  border-radius: 20px;
}

.camera-ctrls {
  display: flex;
  gap: 12px;
}

.emotion-detected-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0;
}

.emotion-emoji {
  font-size: 40px;
}

.emotion-details strong {
  display: block;
  font-size: 16px;
  color: #334155;
}
.emotion-details span {
  font-size: 12.5px;
  color: #38bdf8;
}

.metric-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.metric-row span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.m-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.m-fill {
  height: 100%;
  border-radius: 10px;
}

.scan-note-box {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #93c5fd;
}


/* ==========================================================================
   TAB 4: MOOD JOURNAL
   ========================================================================== */
.mood-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mood-entry-card, .mood-history-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.mood-selector-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.mood-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.mood-btn:hover {
  background: #e2e8f0;
}
.mood-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}
.m-emoji {
  font-size: 28px;
  margin-bottom: 6px;
}
.m-txt {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.mood-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-height: 380px;
  overflow-y: auto;
}

.mood-hist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}
.mh-emoji {
  font-size: 26px;
}
.mh-content strong {
  font-size: 13.5px;
  color: #334155;
  display: block;
}
.mh-content small {
  font-size: 11.5px;
  color: var(--text-dim);
}
.mh-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}


/* ==========================================================================
   TAB 5: CHATBOT AI
   ========================================================================== */
.chat-workspace-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
}

.chat-pane-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
}

.chat-bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar-wrap {
  position: relative;
}
.bot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--emerald-500);
  border: 2px solid #0f172a;
  border-radius: 50%;
}

.bot-status-sub {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.chat-messages-box {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg-row {
  display: flex;
  gap: 12px;
  max-width: 80%;
}
.msg-bot {
  align-self: flex-start;
}
.msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}
.msg-bot .msg-bubble {
  background: #1f2c47;
  color: #334155;
  border-top-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.msg-user .msg-bubble {
  background: var(--blue-600);
  color: #0f172a;
  border-top-right-radius: 4px;
}

.msg-time {
  display: block;
  font-size: 10.5px;
  opacity: 0.6;
  margin-top: 4px;
  text-align: right;
}

.chat-chips-row {
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-color);
}
.chip-btn {
  white-space: nowrap;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.chip-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: #3b82f6;
}

.chat-input-bar {
  padding: 12px 16px;
  background: #121a2d;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 10px 18px;
  color: #334155;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
}
.chat-input:focus {
  border-color: var(--blue-500);
}

.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-600);
  border: none;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
}
.chat-send-btn:hover {
  background: var(--blue-700);
  transform: scale(1.05);
}


/* ==========================================================================
   TAB 6: RELAKSASI & PERNAPASAN 4-7-8
   ========================================================================== */
.relaxation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.breathing-card, .ambient-sound-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.breathing-circle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  height: 240px;
}

.breathing-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(37, 99, 235, 0.2) 70%);
  border: 3px solid #8b5cf6;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease-in-out;
}

.breathing-circle.inhale {
  transform: scale(1.45);
  border-color: #3b82f6;
  box-shadow: 0 0 45px rgba(59, 130, 246, 0.6);
}

.breathing-circle.hold {
  transform: scale(1.45);
  border-color: #f59e0b;
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.6);
}

.breathing-circle.exhale {
  transform: scale(1.0);
  border-color: #8b5cf6;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.breath-inner-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.breath-action-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #334155;
}
.breath-counter {
  font-size: 28px;
  font-weight: 800;
  color: #93c5fd;
}

.breath-controls {
  text-align: center;
  margin-bottom: 24px;
}

.breath-steps-explanation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.b-step strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.b-step span {
  font-size: 11.5px;
  color: var(--text-dim);
}

.sound-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.sound-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.sound-item:hover {
  background: rgba(15, 23, 42, 0.9);
}
.sound-item.playing {
  border-color: var(--blue-500);
  background: rgba(37, 99, 235, 0.15);
}

.snd-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.snd-info strong {
  display: block;
  font-size: 14px;
  color: #334155;
}
.snd-info small {
  font-size: 12px;
  color: var(--text-dim);
}

.snd-play-btn {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}


/* ==========================================================================
   TAB 7: MINI GAME ZEN
   ========================================================================== */
.game-container-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.game-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
}

.badge-count {
  font-size: 18px;
  font-weight: 800;
  color: #f43f5e;
}

.bubble-wrap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
  gap: 12px;
  padding: 10px;
}

.zen-bubble {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #60a5fa 0%, #1e40af 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: transform 0.1s ease;
}
.zen-bubble:active {
  transform: scale(0.85);
}
.zen-bubble.popped {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}


/* ==========================================================================
   TAB 8: PENGADUAN & FORMS
   ========================================================================== */
.complaint-grid, .counseling-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.complaint-form-card, .complaint-list-card, .counselor-select-card, .booking-form-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #334155;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
}
.form-control:focus {
  border-color: var(--blue-500);
}

.form-row {
  display: flex;
  gap: 12px;
}
.col-half {
  flex: 1;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox-label input {
  margin-top: 3px;
}

.complaint-items-container, .counselors-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.complaint-item-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}
.comp-top-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.comp-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.badge-status-pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge-status-process { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge-status-done { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.complaint-item-card h4 {
  font-size: 14.5px;
  color: #334155;
  margin-bottom: 4px;
}
.complaint-item-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.comp-reply-box {
  margin-top: 10px;
  padding: 10px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  border-radius: 4px;
  font-size: 12.5px;
  color: #a7f3d0;
}

/* Counselor Selection */
.counselor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.counselor-card:hover {
  background: rgba(15, 23, 42, 0.9);
}
.counselor-card.selected {
  border-color: #0d9488;
  background: rgba(13, 148, 136, 0.15);
}

.counselor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.counselor-info strong {
  display: block;
  font-size: 14.5px;
  color: #334155;
}
.counselor-info span {
  font-size: 12px;
  color: var(--text-dim);
}
.c-slot-avail {
  font-size: 11.5px;
  color: #2dd4bf;
  margin-top: 4px;
  display: block;
}

.dates-selector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.date-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 8px 4px;
  cursor: pointer;
  color: var(--text-muted);
}
.date-btn.active {
  background: rgba(13, 148, 136, 0.2);
  border-color: #14b8a6;
  color: #2dd4bf;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.time-btn {
  padding: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-muted);
}
.time-btn.active {
  background: rgba(13, 148, 136, 0.2);
  border-color: #14b8a6;
  color: #2dd4bf;
}


/* ==========================================================================
   TAB BK: DASHBOARD GURU BK STYLES
   ========================================================================== */
.bk-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.bk-stat-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}
.bk-stat-title {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
}
.bk-stat-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #334155;
  margin-top: 4px;
}

.bk-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bk-section-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.high-risk-students-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.hr-student-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
}
.hr-name strong {
  display: block;
  font-size: 13.5px;
  color: #fca5a5;
}
.hr-name small {
  font-size: 11.5px;
  color: var(--text-dim);
}

.distribution-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.dist-row span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.dist-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.dist-fill {
  height: 100%;
  border-radius: 10px;
}

/* Data Tables */
.students-table-card, .history-section-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}
.data-table th {
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.mindfulness-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info {
  padding: 14px;
}
.video-info h4 {
  font-size: 14.5px;
  color: #334155;
  margin-bottom: 4px;
}
.video-info p {
  font-size: 12.5px;
  color: var(--text-dim);
}


/* ==========================================================================
   MODALS (AUTHENTICATION, CRISIS, & ADD VIDEO)
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.show {
  display: flex;
}

.modal-box {
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
  animation: popModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popModal {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.modal-close-btn:hover {
  color: #0f172a;
}

.modal-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 10px;
}

.auth-tabs-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin: 18px 0;
}
.auth-tab-btn {
  flex: 1;
  padding: 9px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
}
.auth-tab-btn.active {
  background: var(--blue-600);
  color: #0f172a;
}

.role-switch-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.role-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.role-chip input {
  display: none;
}
.role-chip.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.password-input-wrap {
  position: relative;
}
.eye-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
}

.auth-alert {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 14px;
}

.guest-quick-row {
  margin-top: 12px;
}

/* Crisis Modal */
.crisis-head {
  text-align: center;
  margin-bottom: 22px;
}
.crisis-pulse-icon {
  font-size: 42px;
  color: #ef4444;
  margin-bottom: 10px;
  animation: pulseCrisis 1.5s infinite;
}
@keyframes pulseCrisis {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.hotlines-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.hotline-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.h-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.h-info strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.h-info span {
  font-size: 12px;
  color: var(--text-dim);
}
.hotline-card .btn {
  margin-left: auto;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  z-index: 120;
  padding: 6px 0;
  justify-content: space-around;
}
.mob-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
}
.mob-nav-btn i {
  font-size: 18px;
}
.mob-nav-btn.active {
  color: #60a5fa;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin: 0 auto 30px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 35px 24px;
  }
  .download-specs, .download-actions {
    justify-content: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    height: calc(100vh - 56px);
    z-index: 110;
    width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  .app-sidebar.show {
    display: flex;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .app-main-content {
    padding: 18px 16px 80px;
  }
  .scores-triplet-grid, .facescan-grid, .mood-page-grid, .relaxation-grid, .complaint-grid, .counseling-grid, .bk-sections-grid {
    grid-template-columns: 1fr;
  }
  .hide-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-heading {
    font-size: 30px;
  }
  .section-title {
    font-size: 26px;
  }
  .dass-options-row {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0f172a;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ==========================================================================
   CHATBOT TYPING INDICATOR
   ========================================================================== */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.typing-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.75); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   LOGO IMAGE FIXES — Pastikan logo tampil di semua konteks
   ========================================================================== */
.modal-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  padding: 4px;
}

.app-logo-img, .preview-logo, .bot-avatar {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* spinner untuk tombol loading */
@keyframes fa-spin {
  0%  { transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}
.fa-spinner.fa-spin {
  animation: fa-spin 1s linear infinite;
}

/* Auth alert style */
.auth-alert {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Button disabled state */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   LIGHT THEME COMPREHENSIVE OVERRIDE
   Semua komponen disesuaikan ke tema terang/putih profesional
   ========================================================================== */

/* ── NAVBAR LIGHT ── */
.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 10px rgba(15, 23, 42, 0.06);
}
.brand-title { color: #1e293b !important; }
.brand-sub { color: #64748b !important; }
.nav-link { color: #475569 !important; }
.nav-link:hover { color: #1e293b !important; }
.btn-apk-nav {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #e2e8f0 !important;
}
.btn-apk-nav:hover { background: #e2e8f0 !important; }
.mobile-toggle { color: #334155 !important; }

/* ── HERO SECTION LIGHT ── */
.hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f8fafc 100%);
}
.hero-heading { color: #0f172a !important; }
.hero-badge {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  color: #2563eb !important;
}
.hero-lead { color: #475569 !important; }
.hero-trust {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.trust-icon {
  background: #eff6ff !important;
  color: #2563eb !important;
}
.trust-item strong { color: #1e293b !important; }
.trust-item span { color: #64748b !important; }
.trust-sep { background: #e2e8f0 !important; }

/* ── HERO RIGHT PREVIEW CARD — LIGHT ── */
.hero-card-preview {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.10) !important;
}
.preview-header { border-bottom-color: #e2e8f0 !important; }
.preview-title { color: #1e293b !important; }
.preview-feature-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
.preview-feature-card:hover { background: #eff6ff !important; }
.feat-info strong { color: #1e293b !important; }
.feat-info p { color: #64748b !important; }
.preview-btn {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}
.preview-btn:hover { background: #e2e8f0 !important; }

/* ── SECTIONS LIGHT ── */
.section-dark {
  background: #f1f5f9 !important;
}
.section-title { color: #0f172a !important; }
.section-desc { color: #475569 !important; }

/* ── FEATURE CARDS LIGHT ── */
.feature-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}
.feature-card:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12) !important;
  border-color: #93c5fd !important;
}
.feature-card h3 { color: #1e293b !important; }
.feature-card p { color: #64748b !important; }
.feature-link { color: #2563eb !important; }

/* Color icon backgrounds updated for light */
.bg-blue { background: #eff6ff !important; color: #2563eb !important; }
.bg-cyan { background: #ecfeff !important; color: #0891b2 !important; }
.bg-amber { background: #fffbeb !important; color: #d97706 !important; }
.bg-indigo { background: #eef2ff !important; color: #4f46e5 !important; }
.bg-purple { background: #f5f3ff !important; color: #7c3aed !important; }
.bg-rose { background: #fff1f2 !important; color: #e11d48 !important; }
.bg-emerald { background: #ecfdf5 !important; color: #059669 !important; }
.bg-teal { background: #f0fdfa !important; color: #0d9488 !important; }
.bg-navy { background: #f1f5f9 !important; color: #334155 !important; }
.bg-red { background: #fef2f2 !important; color: #dc2626 !important; }
.bg-green { background: #10b981 !important; color: #fff !important; }
.feat-blue .feat-icon { background: #eff6ff !important; color: #2563eb !important; }
.feat-purple .feat-icon { background: #f5f3ff !important; color: #7c3aed !important; }
.feat-emerald .feat-icon { background: #ecfdf5 !important; color: #059669 !important; }

/* ── DOWNLOAD BOX LIGHT ── */
.download-box {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8) !important;
}
.download-content h2 { color: #ffffff !important; }
.download-content p { color: #bfdbfe !important; }
.download-specs { color: #93c5fd !important; }

/* ── FOOTER LIGHT ── */
.footer {
  background: #1e293b !important;
  border-top-color: #334155 !important;
}
.footer-links h4 { color: #f1f5f9 !important; }
.footer-links a { color: #94a3b8 !important; }
.footer-links a:hover { color: #f1f5f9 !important; }
.footer-bottom { color: #64748b !important; border-top-color: #334155 !important; }

/* ── APP HEADER (DASHBOARD) LIGHT ── */
.app-header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 10px rgba(15, 23, 42, 0.06) !important;
}
.app-header-title { color: #1e293b !important; }
.app-header-logo-brand { color: #1e293b !important; }
.user-display-name { color: #1e293b !important; }
.sidebar-toggle-btn {
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}
.sidebar-toggle-btn:hover { background: #f1f5f9 !important; }
.school-name-badge {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}
.app-role-badge {
  background: #eff6ff !important;
  color: #2563eb !important;
}

/* ── SIDEBAR — KEEP PROFESSIONAL DARK NAVY ── */
.app-sidebar {
  background: #1e293b !important;
  border-right-color: #334155 !important;
}
.menu-heading { color: #64748b !important; }
.nav-item { color: #94a3b8 !important; }
.nav-item:hover { background: rgba(255,255,255,0.07) !important; color: #f1f5f9 !important; }
.nav-item.active { background: #2563eb !important; color: #ffffff !important; }
.nav-item.active i { color: #ffffff !important; }
.sidebar-footer { border-top-color: #334155 !important; }
.sidebar-version { color: #475569 !important; }
.server-status { color: #10b981 !important; }

/* ── USER AVATAR BADGE LIGHT ── */
.user-avatar-badge {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

/* ── PROFILE DROPDOWN LIGHT ── */
.profile-dropdown-content {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12) !important;
}
.profile-drop-header strong { color: #1e293b !important; }
.profile-drop-header small { color: #64748b !important; }
.profile-drop-header { border-bottom-color: #e2e8f0 !important; }
.profile-dropdown-content a { color: #475569 !important; }
.profile-dropdown-content a:hover {
  background: #f8fafc !important;
  color: #1e293b !important;
}
.dropdown-divider { background: #e2e8f0 !important; }

/* ── MAIN CONTENT & TABS — LIGHT ── */
.app-content { background: #f8fafc !important; }
.app-tab-pane { background: #f8fafc !important; }
.dashboard-welcome-card {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #0891b2 100%) !important;
}
.welcome-greeting { color: #ffffff !important; }
.welcome-sub { color: #bfdbfe !important; }
.quick-action-btn {
  background: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.25) !important;
}
.quick-action-btn:hover { background: rgba(255,255,255,0.25) !important; }

/* ── STAT CARDS LIGHT ── */
.stat-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
}
.stat-card:hover { box-shadow: 0 4px 20px rgba(15, 23, 42, 0.10) !important; }
.stat-label { color: #64748b !important; }
.stat-value { color: #1e293b !important; }
.stat-sub { color: #94a3b8 !important; }

/* ── MENU SERVICE CARDS ── */
.menu-service-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}
.menu-service-card:hover {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.10) !important;
  border-color: #93c5fd !important;
}
.menu-service-card h3 { color: #1e293b !important; }
.menu-service-card p { color: #64748b !important; }
.menu-card-link { color: #2563eb !important; }

/* ── DASS-21 FORM LIGHT ── */
.dass-scale-info {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}
.dass-item-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.dass-item-card h4 { color: #1e293b !important; }
.dass-option-btn {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}
.dass-option-btn:hover { border-color: #93c5fd !important; background: #eff6ff !important; color: #1e293b !important; }
.dass-option-btn.selected { background: #2563eb !important; border-color: #2563eb !important; color: #ffffff !important; }
.dass-progress-bar { background: #e2e8f0 !important; }
.dass-q-label { color: #475569 !important; }

/* ── CHATBOT LIGHT ── */
.chat-container {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.chat-header {
  background: #f8fafc !important;
  border-bottom-color: #e2e8f0 !important;
}
.chat-bot-name { color: #1e293b !important; }
.chat-bot-sub { color: #64748b !important; }
.chat-messages { background: #f8fafc !important; }
.msg-bubble.bot {
  background: #ffffff !important;
  color: #1e293b !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(15,23,42,0.06);
}
.msg-bubble.user {
  background: #2563eb !important;
  color: #ffffff !important;
}
.msg-time { color: #94a3b8 !important; }
.chat-input-area {
  background: #ffffff !important;
  border-top-color: #e2e8f0 !important;
}
.chat-input {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}
.chat-input::placeholder { color: #94a3b8 !important; }
.chat-send-btn { background: #2563eb !important; }
.chat-quick-chip {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}
.chat-quick-chip:hover { background: #eff6ff !important; color: #2563eb !important; border-color: #93c5fd !important; }

/* ── MOOD JOURNAL LIGHT ── */
.mood-section-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06) !important;
}
.mood-section-card h3 { color: #1e293b !important; }
.mood-section-card label { color: #475569 !important; }
.mood-emoji-btn {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
.mood-emoji-btn.selected {
  background: #eff6ff !important;
  border-color: #2563eb !important;
}
.mood-text-input {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}
.mood-text-input::placeholder { color: #94a3b8 !important; }
.mood-history-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
.mood-history-date { color: #64748b !important; }
.mood-history-note { color: #475569 !important; }

/* ── FORM INPUTS GLOBAL LIGHT ── */
.form-group label { color: #374151 !important; }
.form-control {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1e293b !important;
}
.form-control:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}
.form-control::placeholder { color: #94a3b8 !important; }
select.form-control { color: #1e293b !important; }

/* ── AUTH MODAL LIGHT ── */
.auth-modal-overlay {
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(4px) !important;
}
.auth-modal-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 60px rgba(15,23,42,0.18) !important;
}
.auth-modal-title { color: #0f172a !important; }
.auth-modal-subtitle { color: #64748b !important; }
.auth-tab-btn {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
}
.auth-tab-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}
.role-chip {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}
.role-chip.active {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
}
.auth-alert {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}
.auth-divider-text { color: #94a3b8 !important; }
.auth-divider-text::before,
.auth-divider-text::after { background: #e2e8f0 !important; }

/* ── DATA TABLES LIGHT ── */
.data-table {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.data-table thead { background: #f8fafc !important; }
.data-table thead th { color: #64748b !important; border-bottom-color: #e2e8f0 !important; }
.data-table tbody tr:hover { background: #f0f7ff !important; }
.data-table td { color: #475569 !important; border-bottom-color: #f1f5f9 !important; }

/* ── BADGES LIGHT ── */
.badge-pill {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #bfdbfe !important;
}
.badge-light {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-color: #e2e8f0 !important;
}

/* ── COUNSELOR CARDS LIGHT ── */
.counselor-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06) !important;
}
.counselor-card:hover { box-shadow: 0 6px 24px rgba(15,23,42,0.10) !important; }
.counselor-name { color: #1e293b !important; }
.counselor-role { color: #64748b !important; }
.counselor-desc { color: #475569 !important; }

/* ── BOOKING & COMPLAINT CARDS LIGHT ── */
.booking-card, .complaint-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.booking-card h4, .complaint-card h4 { color: #1e293b !important; }
.booking-card p, .complaint-card p { color: #64748b !important; }

/* ── BK DASHBOARD LIGHT ── */
.bk-dash-stat-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15,23,42,0.06) !important;
}
.bk-dash-stat-num { color: #1e293b !important; }
.bk-dash-stat-label { color: #64748b !important; }

/* ── RELAXATION & BREATH SECTION LIGHT ── */
.breath-circle-container { background: #eff6ff !important; }
.breath-instruction { color: #1e293b !important; }
.sound-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.sound-card:hover { background: #eff6ff !important; }
.sound-card h4 { color: #1e293b !important; }
.sound-card p { color: #64748b !important; }
.mindfulness-video-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

/* ── FACE SCAN SECTION LIGHT ── */
.face-scan-container {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
.face-scan-result-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.face-scan-result-card h4 { color: #1e293b !important; }

/* ── HISTORY SECTION LIGHT ── */
.history-item {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.history-date { color: #64748b !important; }

/* ── PROFILE SECTION LIGHT ── */
.profile-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
.profile-name { color: #1e293b !important; }
.profile-school { color: #64748b !important; }
.profile-detail-section h3 { color: #1e293b !important; }

/* ── GAME SECTION LIGHT ── */
.game-container {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
.bubble-wrap-grid .bubble {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd) !important;
}
.bubble.popped {
  background: #e2e8f0 !important;
}

/* ── HERO WITH REAL PHOTO BACKGROUNDS ── */
.hero-stats-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15,23,42,0.12);
}

/* Photo cards for counselors */
.counselor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e8f0;
}

/* ── SECTION PHOTO BANNERS ── */
.feature-photo-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}
.feature-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── DASS RESULT CARD LIGHT ── */
.dass-result-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15,23,42,0.08) !important;
}
.dass-result-title { color: #1e293b !important; }
.dass-score-label { color: #64748b !important; }
.dass-score-value { color: #1e293b !important; }
.dass-rekomendasi {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}

/* ── ALUR SISWA SECTION ── */
.alur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
}

.alur-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg);
  padding: 30px 24px 26px;
  position: relative;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.alur-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.10);
  border-color: #cbd5e1 !important;
}

.alur-step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff !important;
  color: #2563eb !important;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
}

.alur-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 10px;
}

.alur-card p {
  font-size: 14px;
  color: #475569 !important;
  line-height: 1.6;
}

/* ── FAQ SECTION ── */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.faq-item:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
}

.faq-item.open {
  border-color: #93c5fd !important;
  background: #f0f7ff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question strong {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a !important;
}

.faq-chevron {
  color: #64748b;
  font-size: 13px;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #2563eb;
}

.faq-answer {
  display: none;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 14.5px;
  color: #334155 !important;
  line-height: 1.65;
  margin: 0;
}

/* ── SCROLLBAR LIGHT ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── TYPING DOTS (chatbot) ── */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}
.typing-dots span {
  width: 8px; height: 8px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* ── BTN SUBMIT LOADING ── */
@keyframes spin { to { transform: rotate(360deg); } }
.fa-spin { animation: spin 1s linear infinite; }

/* ── MINDFULNESS VIDEOS GALLERY ── */
.mindfulness-videos-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}

.mindfulness-videos-section .section-title-wrap {
  margin-bottom: 22px;
}

.mindfulness-videos-section .section-title-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mindfulness-videos-section .section-title-wrap p {
  color: #64748b;
  font-size: 0.95rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #0f172a;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.video-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  background: #f3e8ff;
  color: #7e22ce;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.video-duration {
  font-size: 0.8rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.video-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.video-yt-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  color: #334155;
  border-color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.video-yt-link:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Alur Siswa Section
   ========================================================================== */

.section-alt {
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 50%, #f0fdf4 100%);
}

.badge-emerald {
  background: var(--emerald-soft);
  color: var(--emerald-600);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.alur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  counter-reset: alur-counter;
}

.alur-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.alur-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.alur-card:nth-child(1)::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.alur-card:nth-child(2)::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.alur-card:nth-child(3)::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.alur-card:nth-child(4)::before { background: linear-gradient(90deg, #10b981, #059669); }

.alur-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: transparent;
}

.alur-card:hover::before {
  opacity: 1;
}

.alur-step-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 3.5rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  user-select: none;
  font-family: var(--font-display);
}

.alur-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.alur-icon.bg-blue    { background: var(--blue-soft);    color: var(--blue-600); }
.alur-icon.bg-indigo  { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
.alur-icon.bg-purple  { background: var(--purple-soft);  color: var(--purple-600); }
.alur-icon.bg-emerald { background: var(--emerald-soft); color: var(--emerald-600); }

.alur-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.alur-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.alur-checklist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alur-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.alur-checklist li i {
  color: var(--emerald-500);
  font-size: 0.75rem;
  flex-shrink: 0;
  background: var(--emerald-soft);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Connector arrows between cards (desktop only) */
@media (min-width: 1024px) {
  .alur-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #cbd5e1;
    z-index: 2;
    pointer-events: none;
  }
}

/* Alur CTA */
.alur-cta {
  margin-top: 48px;
  padding: 36px 32px;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border-radius: var(--radius-lg);
  border: 1px solid #dbeafe;
}

.alur-cta-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 20px;
}

.alur-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Alur */
@media (max-width: 1100px) {
  .alur-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alur-card:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .alur-grid {
    grid-template-columns: 1fr;
  }
  .alur-card { padding: 24px 20px; }
  .alur-step-num { font-size: 2.8rem; }
}

/* ===== Game Konsentrasi Anti Stres (2 mode, mengikuti aplikasi mobile) ===== */
.game-mode-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px; margin-bottom: 14px; cursor: pointer;
  background: #1E293B; border: 1px solid #334155; border-radius: 20px;
  transition: border-color .2s, transform .15s;
}
.game-mode-card:hover { border-color: #8B5CF6; transform: translateY(-2px); }
.gm-icon {
  flex: 0 0 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.gm-body { display: flex; flex-direction: column; gap: 3px; }
.gm-body strong { font-size: 14.5px; color: #E2E8F0; }
.gm-body small { font-size: 12px; color: #94A3B8; line-height: 1.4; }
.gm-badge {
  align-self: flex-start; font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; margin-bottom: 3px;
}
.game-info-box {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; background: #1E293B; border: 1px solid #334155;
  border-radius: 18px; color: #94A3B8; font-size: 12px; line-height: 1.45;
}
.game-info-box i { color: #38BDF8; font-size: 18px; margin-top: 2px; }
.stroop-option {
  padding: 12px 18px; border-radius: 14px; border: none; cursor: pointer;
  color: #fff; font-weight: 800; font-size: 13.5px;
  box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: transform .12s;
}
.stroop-option:hover { transform: scale(1.05); }
.bubble-zen-area {
  position: relative; width: 100%; height: 340px;
  background: rgba(15,23,42,.6); border-radius: 16px; overflow: hidden;
}
.zen-bubble-num {
  position: absolute; width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .15s, opacity .25s; user-select: none;
}
.zen-bubble-num:hover { transform: scale(1.1); }
.zen-bubble-num.popped { opacity: 0; transform: scale(0.3); pointer-events: none; }
