/* Modern, Clean & Minimalist Theme for SPMB */
@import url('../fonts/plus-jakarta-sans/font.css');

:root {
  /* Brand Primary Colors */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #eff6ff;
  --color-dark: #0f172a;
  --color-slate: #334155;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-focus: #cbd5e1;

  /* Accent Colors */
  --color-emerald: #059669;
  --color-emerald-light: #ecfdf5;
  --color-amber: #d97706;
  --color-amber-light: #fffbeb;
  --color-red: #dc2626;
  --color-red-light: #fef2f2;
  --color-indigo: #4f46e5;
  --color-indigo-light: #eef2ff;
  --color-sky: #0284c7;

  /* Gradients - Subtle & Professional */
  --grad-primary: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  --grad-indigo: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  --grad-blue: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  --grad-purple: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
  --grad-pink: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
  --grad-orange: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  --grad-emerald: linear-gradient(135deg, #047857 0%, #059669 100%);
  --grad-cyan: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  /* Base Surfaces */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #475569;

  --border-light: #e2e8f0;
  --border-colored: #cbd5e1;

  /* Elevation Shadows - Clean Minimalist */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.02);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  background-image: radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.05) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
                    radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
  position: relative;
}

/* Canvas Screensaver Interaktif Cerah di Background */
#interactiveScreensaverCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* Memastikan Konten Tampil di Atas Screensaver */
.neo-nav,
.container,
footer,
.neo-modal-backdrop {
  position: relative;
  z-index: 10;
}

h1, h2, h3, h4, .font-heading {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Minimalist Navbar */
.neo-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
  box-shadow: var(--shadow-xs);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
}

.brand-badge {
  background: #2563eb;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
}

/* Clean Minimalist Cards */
.neo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.neo-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

/* Minimalist Deep Navy Hero Card */
.neo-card-blue {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.25rem 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.neo-box-flat {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.neo-box-flat:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

/* Minimalist & Cohesive Buttons */
.neo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  user-select: none;
  text-align: center;
  box-shadow: var(--shadow-xs);
  line-height: 1.4;
}

.neo-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.neo-btn:active {
  transform: translateY(0);
}

/* Button Variants */
.neo-btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
}

.neo-btn-primary:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.neo-btn-secondary {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}

.neo-btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.neo-btn-dark {
  background: #0f172a;
  color: #f8fafc;
  border-color: #1e293b;
}

.neo-btn-dark:hover {
  background: #1e293b;
  color: #ffffff;
}

.neo-btn-purple {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4338ca;
}

.neo-btn-purple:hover {
  background: #4338ca;
  color: #ffffff;
}

.neo-btn-emerald, .neo-btn-success {
  background: #059669;
  color: #ffffff;
  border-color: #047857;
}

.neo-btn-emerald:hover, .neo-btn-success:hover {
  background: #047857;
  color: #ffffff;
}

.neo-btn-orange {
  background: #ea580c;
  color: #ffffff;
  border-color: #c2410c;
}

.neo-btn-orange:hover {
  background: #c2410c;
  color: #ffffff;
}

.neo-btn-danger {
  background: #dc2626;
  color: #ffffff;
  border-color: #b91c1c;
}

.neo-btn-danger:hover {
  background: #b91c1c;
  color: #ffffff;
}

.neo-btn-accent {
  background: #0284c7;
  color: #ffffff;
  border-color: #0369a1;
}

.neo-btn-accent:hover {
  background: #0369a1;
  color: #ffffff;
}

.neo-btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.neo-btn-lg {
  padding: 0.75rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* Highlight Action Buttons & Container */
.action-highlight-container {
  background: #ffffff;
  border: 1.5px solid var(--border-colored);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
}

.btn-highlight-daftar {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.95rem 2.85rem;
  border-radius: 12px;
  border: 1.5px solid #1e40af;
  box-shadow: 0 8px 24px -2px rgba(37, 99, 235, 0.4);
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
}

.btn-highlight-daftar:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -2px rgba(37, 99, 235, 0.5);
  color: #ffffff !important;
}

.btn-highlight-status {
  background: #0f172a;
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.95rem 2.35rem;
  border-radius: 12px;
  border: 1.5px solid #1e293b;
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.3);
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
}

.btn-highlight-status:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -2px rgba(15, 23, 42, 0.4);
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .action-highlight-container {
    padding: 1rem 0.85rem;
    gap: 0.75rem;
  }
  .btn-highlight-daftar,
  .btn-highlight-status {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1.02rem;
  }
}

/* Banner Sekolah / PPDB Proporsional */
.banner-ppdb-wrapper {
  max-width: 980px;
  margin: 0 auto 1.75rem auto;
}

.banner-ppdb-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-ppdb-img {
  width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .banner-ppdb-wrapper {
    margin-bottom: 1.25rem;
  }
  .banner-ppdb-img {
    max-height: 180px;
  }
}

/* Badges - Subtle, Clean & Legible */
.neo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
}

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

.badge-purple {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.badge-pink {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.badge-orange {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

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

.badge-warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Minimalist Icon Containers */
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.icon-purple { background: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.icon-emerald { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.icon-orange { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.icon-pink { background: #fff1f2; color: #e11d48; border: 1px solid #fecdd3; }
.icon-cyan { background: #f0fdf4; color: #0284c7; border: 1px solid #bae6fd; }

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.stat-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  position: relative;
  min-height: 104px;
}

.stat-card-modern:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.stat-modern-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-modern-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
}

.stat-pendaftar-breakdown {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

.stat-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.stat-sub-verified {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.stat-sub-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.stat-sub-info {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.3rem;
  line-height: 1.35;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.86rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-label i {
  color: #2563eb;
}

.form-label .required {
  color: #dc2626;
  font-weight: 800;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-xs);
}

.form-control:focus, .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 1rem;
  margin: 1.85rem 0 1.2rem 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.form-section-number {
  background: #2563eb;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }

.form-grid-rt-rw {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.responsive-2col {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.responsive-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Minimalist Step Wizard (2 Step Form) */
.step-wizard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 1.75rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  transition: all 0.2s ease;
}

.step-item.active .step-circle {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.step-item.completed .step-circle {
  background: #059669;
  color: #ffffff;
  border-color: #047857;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
}

.step-item.active .step-badge-text {
  color: #2563eb;
}

.step-title-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.step-connector {
  flex-grow: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 1.25rem;
  position: relative;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.step-connector.active {
  background: #2563eb;
}

@media (max-width: 640px) {
  .step-wizard {
    padding: 0.75rem 1rem;
  }
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
  }
  .step-info {
    display: none;
  }
  .step-connector {
    margin: 0 0.5rem;
  }
}

/* Minimalist & Professional: Jadwal Pendaftaran dan Biaya Daftar Ulang */
.jadwal-biaya-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.jadwal-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.15rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jadwal-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.jadwal-header-title i {
  color: #2563eb;
}

.jadwal-row-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  position: relative;
  transition: all 0.2s ease;
  min-height: 54px;
  margin-bottom: 0.65rem;
}

.jadwal-row-bar:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.jadwal-row-bar.row-active {
  background: #fff8f8;
  border: 1.5px solid #dc2626;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.08);
}

.pill-badge {
  border-radius: var(--radius-md);
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  min-width: 140px;
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pill-red {
  background: #dc2626;
  color: #ffffff;
}

.pill-yellow {
  background: #d97706;
  color: #ffffff;
}

.pill-green {
  background: #16a34a;
  color: #ffffff;
}

.pill-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 1rem;
  flex-grow: 1;
}

.pill-content i {
  font-size: 1.05rem;
  color: #64748b;
}

.pill-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 170px;
  flex-shrink: 0;
}

.pill-price-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.pill-price {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-md);
  text-align: center;
  letter-spacing: 0.01em;
  display: inline-block;
  min-width: 150px;
}

.row-active .pill-price {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
  font-weight: 900;
}

@media (max-width: 860px) {
  .jadwal-row-bar {
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    gap: 0.65rem;
  }
  .pill-badge {
    width: 100%;
    min-width: auto;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }
  .pill-content {
    padding: 0;
    font-size: 0.9rem;
    justify-content: center;
  }
  .pill-price-box {
    align-items: stretch;
    min-width: auto;
    width: 100%;
  }
  .pill-price {
    width: 100%;
    min-width: auto;
    padding: 0.45rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .responsive-2col,
  .responsive-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .neo-nav {
    padding: 0.65rem 0;
  }
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .nav-brand {
    justify-content: space-between;
    width: 100%;
  }
  .nav-menu {
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-start;
  }
  .nav-menu li {
    flex-shrink: 0;
  }
  .neo-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
  }
  .neo-card-blue {
    padding: 2rem 1.25rem !important;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
  }
  .neo-card-blue h1 {
    font-size: 1.6rem !important;
  }
  .form-grid-2, .form-grid-3, .form-grid-4 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .form-grid-rt-rw {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .stat-card-modern {
    padding: 1rem 0.95rem;
    gap: 0.75rem;
  }
  .stat-modern-value {
    font-size: 1.45rem;
  }
  .stat-modern-label {
    font-size: 0.72rem;
  }
  .neo-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
  }
  .neo-btn-lg {
    padding: 0.65rem 1.25rem;
    font-size: 0.92rem;
  }
  .form-control, .form-select {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }
  .form-section-title {
    font-size: 0.95rem;
    padding: 0.55rem 0.85rem;
    margin: 1.5rem 0 1rem 0;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 0.75rem;
  }
  .neo-card-blue {
    padding: 1.5rem 1rem !important;
  }
  .neo-card-blue h1 {
    font-size: 1.35rem !important;
  }
  .brand-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.76rem;
  }
  .nav-menu {
    gap: 0.35rem;
  }
  .neo-btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  .stat-card-modern {
    padding: 1rem;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .stat-card-modern .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .stat-modern-value {
    font-size: 1.45rem;
  }
}

/* Custom Minimalist Confirmation Modal Dialog */
.neo-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.neo-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.neo-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  max-width: 440px;
  width: 100%;
  padding: 2.25rem 2rem 2rem 2rem;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.neo-modal-backdrop.show .neo-modal-dialog {
  transform: scale(1);
}

.neo-modal-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem auto;
}

.neo-modal-icon-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
}

.neo-modal-icon-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1.5px solid #fcd34d;
}

.neo-modal-icon-info {
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
}

.neo-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.neo-modal-message {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.neo-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.neo-modal-actions .neo-btn {
  flex: 1;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  font-size: 0.94rem;
}

/* Modern Minimalist Tables */
.neo-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-md);
  background: #ffffff;
  margin-bottom: 1.5rem;
}

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

.neo-table th {
  background: #f8fafc;
  color: #475569;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
}

.neo-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

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

/* Minimalist Alerts */
.neo-alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xs);
}

.neo-alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.neo-alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.neo-alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.neo-alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* Print Optimization */
@media print {
  body {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    font-size: 11pt;
    padding: 0 !important;
    margin: 0 !important;
  }
  .no-print, .neo-nav, footer, .btn-print, .brand-badge {
    display: none !important;
  }
  .print-sheet, .surat-container {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5cm !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  @page {
    size: 8.5in 13in;
    margin: 1cm;
  }
}

/* ==========================================================================
   CUSTOM INTERACTIVE CURSOR & DECORATION
   ========================================================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.9), 0 0 20px rgba(56, 189, 248, 0.6);
  opacity: 0;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease,
              box-shadow 0.25s ease;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
  opacity: 0;
  will-change: transform;
}

/* Hover State on Interactive Elements */
.cursor-active.cursor-hover .cursor-dot {
  width: 6px;
  height: 6px;
  background: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 1);
}

.cursor-active.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: #2563eb;
  background-color: rgba(37, 99, 235, 0.1);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.35);
}

/* Click Active State */
.cursor-active.cursor-clicking .cursor-ring {
  transform: translate(-50%, -50%) scale(0.85);
  border-color: #ea580c;
  background-color: rgba(234, 88, 12, 0.15);
}

/* Sparkle Trail Particle */
.cursor-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 99997;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: cursorSparkleFade 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cursorSparkleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) translateY(14px);
  }
}

/* Click Burst Particle */
.cursor-burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 99997;
  border-radius: 50%;
  animation: cursorBurst 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cursorBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0);
  }
}

/* Disable on touch devices and print */
@media (hover: none) and (pointer: coarse), print {
  .cursor-dot,
  .cursor-ring,
  .cursor-sparkle,
  .cursor-burst-particle {
    display: none !important;
  }
}
