/* Modern Design System - LPJ PC ISNU Kota Surabaya 2022 - 2026 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-nu: #006837;
  --primary-dark: #004d28;
  --primary-light: #059669;
  --primary-subtle: #e6f4ed;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-hover: #b45309;
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(0, 104, 55, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* Header & Top Bar */
.top-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-nu) 100%);
  color: var(--text-inverse);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 77, 40, 0.25);
  width: 100%;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand-info h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
  color: #ffffff;
}

.brand-info p {
  font-size: 0.825rem;
  opacity: 0.9;
  color: #e2e8f0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #334155; /* Abu-abu gelap agar selalu terbaca jelas! */
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
  background: #f1f5f9;
  color: var(--primary-nu);
  border-color: var(--primary-light);
}

.nav-item.active {
  background: var(--primary-dark);
  color: #ffffff; /* Putih bersih ketika tombol aktif! */
  border-color: #fbbf24;
  box-shadow: 0 4px 12px rgba(0, 77, 40, 0.4);
}

/* Main Layout Container */
.main-wrapper {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  min-height: calc(100vh - 200px);
  width: 100%;
}

/* Tab Views */
.tab-view {
  display: none;
  animation: fadeIn 0.35s ease-in-out forwards;
}

.tab-view.active {
  display: block;
}

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

/* Section Header & Hero */
.hero-banner {
  background: linear-gradient(135deg, rgba(0, 104, 55, 0.08) 0%, rgba(217, 119, 6, 0.08) 100%), #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 104, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.025rem;
  color: var(--text-muted);
  max-width: 950px;
  line-height: 1.7;
}

/* Stat Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
  width: 100%;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-icon.green { background: #dcfce7; color: #15803d; }
.stat-icon.gold { background: #fef3c7; color: #b45309; }
.stat-icon.blue { background: #dbeafe; color: #1d4ed8; }
.stat-icon.purple { background: #f3e8ff; color: #7e22ce; }

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

/* 3-Column Charts & Cards Row */
.charts-grid-3 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

@media (max-width: 1200px) {
  .charts-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

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

.chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow: hidden;
}

.chart-card.full-width {
  grid-column: 1 / -1;
  margin-bottom: 2.5rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.75rem;
}

.chart-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 320px;
}

/* Seksi Link Box inside Card 3 */
.seksi-list-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  width: 100%;
}

.seksi-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.seksi-link-item:hover {
  background: #ffffff;
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.seksi-link-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seksi-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.seksi-link-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-main);
}

.seksi-link-badge {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--primary-nu);
  background: var(--primary-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* SK & Structure Cards */
.sk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.doc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: var(--primary-subtle);
  color: var(--primary-nu);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.doc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.doc-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-hover);
  margin-bottom: 0.75rem;
}

.doc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-nu);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Image preview box */
.image-viewer-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
}

.image-viewer-box img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-md);
}

.image-viewer-box img:hover {
  transform: scale(1.01);
}

/* SOP & Roadmap Section */
.sop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.sop-list-items {
  list-style: none;
  margin: 1rem 0;
}

.sop-list-items li {
  font-size: 0.875rem;
  color: var(--text-main);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.sop-list-items li::before {
  content: "✓";
  color: var(--primary-nu);
  font-weight: 800;
}

/* JOSHNU Grid */
.joshnu-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

@media (max-width: 900px) {
  .joshnu-container {
    grid-template-columns: 1fr;
  }
}

.joshnu-scopes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.scope-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.scope-card h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.scope-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sub-nav Seksi Tabs */
.seksi-tabs-wrapper {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
  scroll-behavior: smooth;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.seksi-tab-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  background: #ffffff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.seksi-tab-btn:hover {
  color: var(--primary-nu);
  background: var(--primary-subtle);
}

.seksi-tab-btn.active {
  color: var(--primary-dark);
  background: #ffffff;
  border-bottom: 3px solid var(--primary-nu);
  box-shadow: var(--shadow-sm);
}

/* Search & Filter Controls */
.filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.search-input-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-input-box input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

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

.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-selects {
  display: flex;
  gap: 0.75rem;
}

.filter-selects select {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

/* Activity Cards Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.activity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

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

.card-header-bar {
  padding: 1rem 1.25rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.role-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.role-badge.penyelenggara { background: #dcfce7; color: #166534; }
.role-badge.pembicara { background: #fef3c7; color: #92400e; }
.role-badge.peserta { background: #dbeafe; color: #1e40af; }

.act-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-body {
  padding: 0.5rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.act-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.act-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.seksi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.output-preview {
  background: #f8fafc;
  border-left: 3px solid var(--primary-nu);
  padding: 0.75rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-bar {
  padding: 0.85rem 1.25rem;
  background: #fafafa;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.media-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.modal-body {
  padding: 1.75rem;
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.modal-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.modal-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-gallery-item img:hover {
  transform: scale(1.05);
}

/* Lightbox Image Zoom Modal */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Footer Styling */
footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 3.5rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--accent-gold);
  width: 100%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h3 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-section-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-info-list li {
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-link {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Mobile Responsiveness Enhancements (Zero Horizontal Scroll, Vertical-Only Scroll) */
@media (max-width: 768px) {
  .top-header {
    padding: 0.75rem 1rem;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 130px;
  }

  .brand-info h1 {
    font-size: 0.95rem;
  }

  .brand-info p {
    font-size: 0.7rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
    border-radius: var(--radius-sm);
    justify-content: center;
  }

  .main-wrapper {
    padding: 0 0.75rem;
    margin: 1rem auto;
  }

  .hero-banner {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .stat-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .charts-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .chart-card {
    padding: 1rem;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .chart-container {
    height: 280px;
    width: 100%;
    max-width: 100%;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .activity-card {
    border-radius: var(--radius-md);
  }

  .filter-bar {
    padding: 0.85rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-input-box {
    min-width: 100%;
  }

  .filter-selects {
    flex-direction: column;
    width: 100%;
  }

  .filter-selects select {
    width: 100%;
  }

  .seksi-tabs-wrapper {
    margin-bottom: 1rem;
  }

  .sk-grid, .sop-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .joshnu-container {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .modal-container {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem;
  }
}
