/* ========================================================
   STYLESHEET: MTs. Sulaiman Yasin Samarinda
   Yayasan Pendidikan Kerukunan Keluarga Sungai Durian
   Color System: Emerald, Islamic Jade, Gold & Deep Slate
======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --primary-900: #022c22;
  --primary-800: #064e3b;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #10b981;
  --primary-400: #34d399;
  --primary-100: #d1fae5;
  --primary-50: #ecfdf5;

  --accent-gold-700: #b45309;
  --accent-gold-600: #d97706;
  --accent-gold-500: #f59e0b;
  --accent-gold-100: #fef3c7;
  --accent-gold-50: #fffbeb;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --white: #ffffff;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --info: #0284c7;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-body);
  background-color: #f8fafc;
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-800);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   GLOBAL SWITCHER BAR (ROLE & VIEW TOGGLE)
======================================================== */
.global-control-bar {
  background: #090e15;
  color: #f8fafc;
  padding: 5px 24px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: var(--font-body);
}

.global-control-bar .brand-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f59e0b;
  white-space: nowrap;
  font-size: 11.5px;
  font-family: var(--font-heading);
}

.hud-brand-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #fef08a;
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.role-switcher-container {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.role-switcher-container::-webkit-scrollbar {
  display: none;
}

.role-switcher-label {
  font-weight: 600;
  font-size: 10.5px;
  color: #94a3b8;
  margin-right: 4px;
  white-space: nowrap;
}

.btn-role-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-role-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-role-pill.active {
  background: #059669;
  border-color: #34d399;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.view-toggle-group {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-mode-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-mode-toggle.active-mode {
  background: #d97706;
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

.btn-mode-toggle.btn-mode-sims {
  background: #047857;
  border-color: #10b981;
  color: #fff;
}

/* ========================================================
   TOP TICKER & PANITIA WHATSAPP BAR
======================================================== */
.top-info-ticker {
  background: #064e3b;
  color: #e2e8f0;
  font-size: 11.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d1fae5;
  font-size: 11.5px;
  font-weight: 500;
}

.ticker-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

.ticker-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef08a;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
}

.ticker-right {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ticker-wa-label {
  font-size: 11px;
  font-weight: 600;
  color: #a7f3d0;
  margin-right: 2px;
}

.wa-panitia-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  text-decoration: none;
}

.wa-panitia-link:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.ticker-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
}

.ticker-socials a {
  color: #fbcfe8;
  font-size: 13px;
  transition: var(--transition);
}

.ticker-socials a:hover {
  color: #ffffff;
  transform: scale(1.15);
}

/* ========================================================
   PUBLIC WEBSITE NAVBAR
======================================================== */
.main-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 32px;
  z-index: 900;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  flex-shrink: 0;
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #064e3b;
  line-height: 1.15;
  letter-spacing: -0.025em;
  white-space: nowrap !important;
}

.brand-text span {
  font-family: var(--font-body);
  font-size: 0.67rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  text-transform: uppercase;
  white-space: nowrap !important;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  flex-wrap: nowrap !important;
  margin: 0;
  padding: 0;
}

.nav-item {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-item a {
  font-family: var(--font-body);
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #334155;
  padding: 6px 9px;
  border-radius: 7px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1.35;
}

.nav-item a:hover {
  color: #047857;
  background: #f1f5f9;
}

.nav-item a.active {
  color: #047857;
  background: #ecfdf5;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(4, 120, 87, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.btn-ppdb-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  transition: var(--transition);
  font-family: var(--font-body);
  white-space: nowrap !important;
}

.btn-ppdb-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
}

.btn-portal-cta {
  background: #064e3b;
  color: var(--white);
  padding: 7px 14px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  border: 1px solid #047857;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.25);
  transition: var(--transition);
  font-family: var(--font-body);
  white-space: nowrap !important;
}

.btn-portal-cta:hover {
  background: #047857;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
  color: #fff;
}

/* ========================================================
   HERO SECTION
======================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(2, 44, 34, 0.98) 100%), url('../images/gedung.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-tag.gold {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold-500);
  color: var(--accent-gold-100);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, #34d399, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 600px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-gold-500), var(--accent-gold-600));
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.5);
  color: var(--white);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 800;
}

.stat-item h3 span {
  color: var(--primary-400);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--slate-300);
}

/* Hero Right: Card Gedung / PPDB Widget */
.hero-card-featured {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.featured-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.featured-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card-featured:hover .featured-img-wrap img {
  transform: scale(1.04);
}

.featured-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 78, 59, 0.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.featured-info h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.featured-info p {
  color: var(--slate-200);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.ppdb-status-bar {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ========================================================
   SECTION COMMON STYLES
======================================================== */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  color: var(--primary-600);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  color: var(--slate-900);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-description {
  color: var(--slate-600);
  font-size: 1rem;
}

/* ========================================================
   SAMBUTAN & PROFIL YAYASAN
======================================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.welcome-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.welcome-photo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.welcome-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
  color: var(--white);
  padding: 24px 20px 16px;
}

.welcome-caption h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.welcome-caption p {
  color: var(--primary-400);
  font-size: 0.82rem;
  font-weight: 600;
}

.welcome-text-content {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.welcome-quote {
  font-size: 1.1rem;
  color: var(--primary-800);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-gold-500);
  padding-left: 16px;
}

.welcome-text-content p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.visi-misi-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-100);
}

.visi-misi-box h5 {
  color: var(--primary-900);
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   FASILITAS & EKSTRAKURIKULER
======================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.facility-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.facility-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.facility-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--slate-800);
}

.facility-card p {
  color: var(--slate-600);
  font-size: 0.88rem;
}

/* Ekstrakurikuler Showcase */
.ekskul-showcase {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--slate-900), var(--primary-900));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.ekskul-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.ekskul-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.drumband-banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.drumband-banner-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.drumband-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 24px;
}

.drumband-overlay h3 {
  color: var(--accent-gold-500);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.drumband-overlay p {
  color: var(--white);
  font-size: 0.9rem;
}

.ekskul-list-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ekskul-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: var(--transition);
}

.ekskul-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.ekskul-chip h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ekskul-chip span {
  color: var(--accent-gold-500);
  font-size: 0.78rem;
  display: block;
  font-weight: 600;
}

/* ========================================================
   PPDB 2026/2027 SECTION
======================================================== */
.ppdb-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.ppdb-waves-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.wave-card {
  background: var(--white);
  border: 2px solid var(--primary-500);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.wave-card.wave-2 {
  border-color: var(--accent-gold-500);
}

.wave-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-600);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.wave-card.wave-2 .wave-ribbon {
  background: var(--accent-gold-600);
}

.wave-card h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.wave-dates {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wave-card.wave-2 .wave-dates {
  color: var(--accent-gold-700);
}

.ppdb-requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.req-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.req-item h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--primary-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

.req-item ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.req-item ul li {
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.req-item ul li i {
  color: var(--primary-500);
  margin-top: 4px;
}

/* PPDB Interactive Tracker & Action */
.ppdb-action-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.tracker-search-box {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.tracker-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.tracker-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.btn-tracker-submit {
  background: var(--primary-600);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-tracker-submit:hover {
  background: var(--primary-700);
}

/* Workflow Step Indicator */
.workflow-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  position: relative;
}

.workflow-stepper::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--slate-200);
  z-index: 1;
}

.step-node {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--slate-200);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.step-node.completed .step-circle {
  background: var(--primary-600);
  color: var(--white);
}

.step-node.active .step-circle {
  background: var(--accent-gold-500);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--accent-gold-100);
}

.step-node span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
}

.step-node.active span,
.step-node.completed span {
  color: var(--slate-800);
}

/* ========================================================
   BERITA & AGENDA
======================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-body {
  padding: 24px;
}

.news-category-badge {
  background: var(--primary-100);
  color: var(--primary-800);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.news-card-body h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--slate-900);
}

.news-card-body p {
  color: var(--slate-600);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate-400);
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

/* ========================================================
   DENAH & LOKASI INTERAKTIF
======================================================== */
.denah-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.floor-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-floor-tab {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-floor-tab.active {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
}

.denah-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.room-cell {
  background: var(--slate-50);
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: var(--transition);
}

.room-cell:hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
  transform: translateY(-2px);
}

.room-cell i {
  font-size: 1.5rem;
  color: var(--primary-600);
  margin-bottom: 8px;
}

.room-cell h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.room-cell span {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate-800);
  background: var(--white);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--slate-50);
  color: var(--primary-600);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  display: none;
}

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

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ========================================================
   FOOTER
======================================================== */
.main-footer {
  background: var(--slate-900);
  color: #cbd5e1;
  padding: 60px 0 24px;
  border-top: 4px solid var(--primary-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent-gold-500);
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.82rem;
  color: #64748b;
}

/* ========================================================
   INTERNAL SYSTEM PORTAL (SIMS DASHBOARD - BRIGHT MODERN THEME)
======================================================== */
.sims-app-wrapper {
  display: none; /* Toggled via JS or button */
  min-height: 100vh;
  background: #f8fafc;
  width: 100%;
  overflow-x: hidden;
}

.sims-app-wrapper.active {
  display: block;
}

.sims-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: calc(100vh - 32px);
  width: 100%;
}

/* SIMS Sidebar - Bright & Clean Modern SaaS Style */
.sims-sidebar {
  background: #ffffff;
  color: #334155;
  padding: 16px 12px 24px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
  position: sticky;
  top: 32px;
  height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 1px 0 8px rgba(0, 0, 0, 0.02);
  font-family: var(--font-body);
  width: 268px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Custom Sleek Scrollbar - Completely eliminates ugly OS grey arrows & bars */
.sims-sidebar::-webkit-scrollbar {
  width: 4px;
}

.sims-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sims-sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.sims-sidebar:hover::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.sims-sidebar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.sims-sidebar::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Firefox fallback */
@supports not selector(::-webkit-scrollbar) {
  .sims-sidebar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }
}

/* Brand Box Header */
.sims-brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.sims-brand-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sims-brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sims-brand-text h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.sims-brand-text span {
  font-size: 0.68rem;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  margin-top: 1px;
}

/* Active User / Role Session Card */
.sims-active-role-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 9px 11px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.role-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.22);
  flex-shrink: 0;
}

.role-info-meta {
  flex: 1;
  min-width: 0;
}

.role-info-meta strong {
  display: block;
  font-size: 0.82rem;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.role-info-meta span {
  font-size: 0.70rem;
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* Category Title */
.nav-category-title {
  font-size: 0.67rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin: 16px 8px 6px 8px;
  display: block;
}

.nav-category-title:first-of-type {
  margin-top: 4px;
}

/* Menu List & Nav Buttons */
.sims-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.sims-nav-btn {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: #475569;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease-in-out;
  box-sizing: border-box;
}

.sims-nav-btn .nav-left {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sims-nav-btn i {
  font-size: 0.90rem;
  width: 20px;
  text-align: center;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.sims-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.sims-nav-btn:hover i {
  color: #059669;
}

.sims-nav-btn.active {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.26);
  border-color: #047857;
}

.sims-nav-btn.active i {
  color: #ffffff;
}

/* Nav Badges */
.nav-badge {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  line-height: 1.3;
}

.nav-badge.gold, .nav-badge:not(.emerald):not(.blue) {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.nav-badge.emerald {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.nav-badge.blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.sims-nav-btn.active .nav-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* Sidebar Footer Action */
.sims-sidebar-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sims-return-btn {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.80rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.sims-return-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.sims-sidebar-foot-note {
  text-align: center;
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.3;
}

.sims-sidebar-foot-note small {
  display: block;
  font-size: 0.62rem;
  color: #cbd5e1;
  margin-top: 2px;
}

/* SIMS Content Area */
.sims-main-content {
  padding: 24px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f8fafc;
  min-width: 0;
}

/* SIMS Top Navbar (Clean White Enterprise Header) */
.sims-top-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-title-box h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title-box p {
  font-size: 0.81rem;
  color: #64748b;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-semester {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #d1fae5;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sims-search-box {
  position: relative;
  min-width: 300px;
}

.sims-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
}

.sims-search-box input {
  width: 100%;
  padding: 7px 14px 7px 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #0f172a;
  transition: all 0.2s ease;
}

.sims-search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* SIMS Card Common */
.sims-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  margin-bottom: 22px;
}

.sims-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.sims-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
}

/* KPI Grid - Symmetrical 4-Column Layout */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.kpi-info {
  flex: 1;
}

.kpi-info h4 {
  font-size: 0.74rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.kpi-info .kpi-value {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 6px;
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.kpi-icon.green { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.kpi-icon.blue { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.kpi-icon.gold { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.kpi-icon.purple { background: #faf5ff; color: #7c3aed; border: 1px solid #f3e8ff; }

/* Interactive Tables */
.sims-table-container {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.sims-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.sims-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.sims-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.sims-table tbody tr:hover {
  background: #f8fafc;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.badge-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-warning { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-primary { background: var(--primary-100); color: var(--primary-800); border: 1px solid #a7f3d0; }
.badge-secondary { background: var(--slate-100); color: var(--slate-700); border: 1px solid #e2e8f0; }

/* ========================================================
   CHART & VISUAL ANALYTICS CARDS (CHART.JS)
======================================================== */
.charts-grid-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  margin-bottom: 24px;
}

.charts-grid-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  min-width: 0;
}

.chart-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 10px;
}

.chart-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.chart-title-group p {
  font-size: 0.76rem;
  color: #64748b;
  margin: 3px 0 0;
}

.chart-badge-stat {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chart-badge-stat.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.chart-badge-stat.gold {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.chart-badge-stat.purple {
  background: #faf5ff;
  color: #7c3aed;
  border-color: #f3e8ff;
}

.chart-canvas-container {
  position: relative;
  width: 100%;
  height: 250px;
}

.chart-canvas-container.tall {
  height: 280px;
}

.chart-canvas-container.compact {
  height: 210px;
}

.chart-footer-metrics {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  flex-wrap: wrap;
  gap: 12px;
}

.chart-metric-item {
  text-align: center;
}

.chart-metric-item small {
  display: block;
  font-size: 0.70rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.chart-metric-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-heading);
}

@media (max-width: 1100px) {
  .charts-grid-main,
  .charts-grid-equal {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-700);
  color: var(--white);
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
}

.btn-outline:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 0.8rem;
}

/* Filter Controls */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.search-control {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-control input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.search-control i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
}

.select-control {
  padding: 8px 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  background: var(--white);
}

/* ========================================================
   MODALS & DRAWERS
======================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--slate-400);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--danger);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: var(--slate-50);
}

/* Form Groups */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* ========================================================
   OFFICIAL PRINT LETTERHEAD & RAPORT ENGINE
======================================================== */
.print-document-sheet {
  background: var(--white);
  padding: 30px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  max-width: 800px;
}

.official-letterhead {
  border-bottom: 3px double #000;
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.letterhead-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.letterhead-text {
  flex: 1;
}

.letterhead-text h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #1e293b;
  font-weight: 700;
}

.letterhead-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #064e3b;
  letter-spacing: 0.5px;
}

.letterhead-text p {
  font-size: 0.78rem;
  color: #334155;
  margin-top: 2px;
}

.doc-title-bar {
  text-align: center;
  margin-bottom: 20px;
}

.doc-title-bar h4 {
  font-size: 1.2rem;
  text-decoration: underline;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.doc-title-bar span {
  font-size: 0.85rem;
  color: #475569;
}

.signature-row {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 0 30px;
  text-align: center;
}

.sig-box {
  min-width: 200px;
}

.sig-space {
  height: 60px;
}

/* ========================================================
   TOAST NOTIFICATION
======================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--slate-900);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  border-left: 4px solid var(--primary-500);
  animation: toastIn 0.3s ease;
}

.toast.toast-success { border-color: var(--success); }
.toast.toast-warning { border-color: var(--warning); }
.toast.toast-danger { border-color: var(--danger); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================================
   RESPONSIVE DESIGN & MOBILE ADAPTATION SYSTEM
======================================================== */

/* Mobile Backdrop Overlays */
.sims-sidebar-backdrop,
.public-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.sims-sidebar-backdrop.active,
.public-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.public-nav-backdrop {
  z-index: 890;
}

body.sims-drawer-active,
body.public-drawer-active {
  overflow: hidden !important;
}

/* Mobile Toggle Hamburger & Close Buttons */
.btn-public-hamburger,
.btn-sidebar-mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  font-size: 1.15rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-public-hamburger:hover,
.btn-sidebar-mobile-toggle:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

.btn-drawer-close,
.btn-public-nav-close {
  display: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-drawer-close:hover,
.btn-public-nav-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.mobile-nav-header,
.mobile-nav-cta {
  display: none;
}

/* Floating Mobile Action Trigger for SIMS */
.floating-sims-menu-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 18px;
  z-index: 1950;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  animation: floatPulse 3s infinite ease-in-out;
}

.floating-sims-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.6);
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Breakpoint: <= 1366px (Laptops & Small Desktops) */
@media (max-width: 1366px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  .nav-item a {
    font-size: 0.78rem;
    padding: 5px 7px;
  }
  .brand-text h1 {
    font-size: 1.18rem;
  }
  .brand-text span {
    font-size: 0.64rem;
  }
  .btn-ppdb-cta, .btn-portal-cta {
    padding: 6px 11px;
    font-size: 0.76rem;
    gap: 5px;
  }
}

/* Breakpoint: <= 1200px (Large Tablets Landscape) */
@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .nav-item a {
    font-size: 0.74rem;
    padding: 5px 6px;
  }
  .brand-text span {
    display: none;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .btn-ppdb-cta, .btn-portal-cta {
    padding: 5px 10px;
    font-size: 0.73rem;
  }
  .ticker-item span {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Breakpoint: <= 1024px (Tablets & Mobile - Off-Canvas SIMS Sidebar) */
@media (max-width: 1024px) {
  /* SIMS Layout Transforms to Single Column with Off-Canvas Drawer */
  .sims-layout {
    grid-template-columns: 1fr;
  }

  .sims-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2100;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 14px 0 35px rgba(0, 0, 0, 0.28);
    display: flex !important;
    flex-direction: column;
    background: #ffffff;
    border-right: none;
  }

  .sims-sidebar.drawer-open {
    transform: translateX(0);
  }

  .btn-drawer-close {
    display: inline-flex;
  }

  .btn-sidebar-mobile-toggle {
    display: inline-flex;
  }

  .floating-sims-menu-btn {
    display: inline-flex;
  }

  .sims-main-content {
    padding: 16px 18px 80px 18px;
  }

  .charts-grid-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .charts-grid-equal {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-grid,
  .welcome-grid,
  .ekskul-grid,
  .ppdb-action-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-grid,
  .footer-grid,
  .ppdb-requirements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Breakpoint: <= 991px (Public Website Mobile Navigation Drawer) */
@media (max-width: 991px) {
  .btn-public-hamburger {
    display: inline-flex;
  }

  .header-actions .btn-ppdb-cta,
  .header-actions .btn-portal-cta {
    display: none;
  }

  .header-inner {
    padding: 8px 0;
  }

  /* Public Main Nav turns into Off-Canvas Slide Drawer */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 310px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 950;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .main-nav.drawer-open {
    transform: translateX(0);
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
  }

  .mobile-nav-header .brand-text span {
    display: block;
    color: #059669;
    font-weight: 700;
  }

  .btn-public-nav-close {
    display: inline-flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    padding: 10px 14px;
    font-size: 0.92rem;
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .nav-item a:hover,
  .nav-item a.active {
    background: #ecfdf5;
    color: #047857;
  }

  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
  }

  .mobile-nav-cta button {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.88rem;
    border-radius: 8px;
  }
}

/* Breakpoint: <= 768px (Mobile Phones & Small Tablets) */
@media (max-width: 768px) {
  /* Global Control Bar Mobile Polish */
  .global-control-bar {
    padding: 6px 12px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }

  .global-control-bar .brand-badge {
    font-size: 11px;
    gap: 5px;
  }

  .view-toggle-group {
    margin-left: auto;
  }

  .btn-mode-toggle {
    font-size: 9.5px;
    padding: 3px 8px;
  }

  .role-switcher-container {
    order: 3;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 6px;
  }

  .role-switcher-container .btn-role-pill {
    flex-shrink: 0;
    font-size: 10px;
    padding: 3px 8px;
  }

  /* Top Info Ticker Mobile Optimization */
  .top-info-ticker {
    font-size: 10.5px;
    padding: 6px 0;
  }

  .ticker-content {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .ticker-left {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    font-size: 10.5px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .ticker-left::-webkit-scrollbar {
    display: none;
  }

  .ticker-right {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
    display: flex;
    align-items: center;
  }

  .ticker-right::-webkit-scrollbar {
    display: none;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 32px 0 24px;
  }

  .hero-badge-wrap {
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-buttons button,
  .hero-buttons a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-box {
    padding: 12px 10px;
  }

  .stat-box h4 {
    font-size: 1.35rem;
  }

  .stat-box span {
    font-size: 0.72rem;
  }

  /* Grid Layouts Stack Cleanly */
  .ppdb-waves-box,
  .news-grid,
  .footer-grid,
  .denah-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .welcome-photo-card {
    max-width: 290px;
    margin: 0 auto;
  }

  .denah-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .denah-tabs::-webkit-scrollbar {
    display: none;
  }

  .btn-floor-tab {
    flex-shrink: 0;
  }

  .workflow-stepper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 10px 4px;
    gap: 12px;
    scrollbar-width: none;
  }

  .workflow-stepper::-webkit-scrollbar {
    display: none;
  }

  .step-node {
    flex-shrink: 0;
    min-width: 78px;
  }

  /* SIMS Top Navbar on Mobile */
  .sims-top-navbar {
    padding: 12px 14px;
    gap: 12px;
    align-items: stretch;
  }

  .page-title-box {
    flex: 1;
    min-width: 0;
  }

  .page-title-box h2 {
    font-size: 1.12rem;
  }

  .sims-search-box {
    order: 3;
    width: 100%;
    min-width: 100%;
  }

  .top-nav-actions {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .top-nav-actions .btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  /* SIMS Cards & Actions */
  .sims-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .sims-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .filter-bar,
  .sims-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filter-bar input,
  .filter-bar select,
  .sims-action-bar input,
  .sims-action-bar select {
    width: 100% !important;
  }

  .filter-group {
    flex-wrap: wrap;
    width: 100%;
  }

  /* Tables Fluid Scroll */
  .sims-table th,
  .sims-table td {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  /* Modals on Mobile */
  .modal-dialog {
    max-width: 95vw;
    width: 95vw;
    margin: 10px auto;
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .form-input,
  .form-select,
  .form-textarea,
  .sims-search-box input {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
  }
}

/* Breakpoint: <= 480px (Extra Small Phone Screens) */
@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 14px;
  }

  .kpi-info .kpi-value {
    font-size: 1.65rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-box {
    padding: 10px 8px;
  }

  .stat-box h4 {
    font-size: 1.2rem;
  }

  .chart-card {
    padding: 14px 12px;
  }

  .chart-canvas-container {
    height: 220px;
  }

  .chart-canvas-container.tall {
    height: 240px;
  }

  .chart-canvas-container.compact {
    height: 190px;
  }

  .chart-footer-metrics {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .sims-main-content {
    padding: 12px 10px 85px 10px;
  }

  .page-title-box h2 {
    font-size: 1.02rem;
  }
}

/* ========================================================
   PRINT STYLESHEET
======================================================== */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .global-control-bar,
  .top-info-ticker,
  .main-header,
  .sims-sidebar,
  .sims-top-navbar,
  .filter-bar,
  .btn,
  .main-footer,
  .modal-footer {
    display: none !important;
  }
  .sims-app-wrapper,
  .modal-overlay,
  .modal-dialog {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .print-document-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
}
