/* LMSt-OJK Solo — Modern App-Shell + Bento Dashboard Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --ojk-crimson: #8B1E24;
  --ojk-crimson-dark: #681419;
  --solo-gold: #C9A227;
  --solo-gold-soft: #FBF6E6;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Subtle Geometric Batik Kawung Pattern (OJK Solo Signature) */
.batik-kawung {
  background-image: radial-gradient(circle at 0 0, rgba(201, 162, 39, 0.14) 2px, transparent 2.5px),
                    radial-gradient(circle at 16px 16px, rgba(201, 162, 39, 0.14) 2px, transparent 2.5px);
  background-size: 32px 32px;
}

.solo-hero-gradient {
  background: radial-gradient(circle at 85% 15%, rgba(201, 162, 39, 0.22) 0%, transparent 45%),
              linear-gradient(135deg, #5C1116 0%, #8B1E24 55%, #3B0A0D 100%);
}

/* Bento Card Elevation */
.bento-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover {
  border-color: rgba(139, 30, 36, 0.35);
}

/* Sidebar Active Link */
.nav-item {
  transition: all 0.16s ease;
}
.nav-item.active {
  background-color: rgba(139, 30, 36, 0.1);
  color: #8B1E24;
  font-weight: 600;
}
html.dark .nav-item.active {
  background-color: rgba(139, 30, 36, 0.32);
  color: #FDA4AF;
}

/* View Transition */
.view-panel {
  animation: viewFade 0.18s ease-out;
}
@keyframes viewFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Solid Modal Surfaces */
.modal-overlay {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.15s ease-out;
}
.modal-panel {
  background-color: #ffffff;
  animation: scaleUp 0.18s ease-out;
}
html.dark .modal-panel {
  background-color: #111827;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.97) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

/* Print / PDF Export */
.print-only-header {
  display: none;
}
@media print {
  aside, header, #mobileBottomNav, .no-print, #toastContainer {
    display: none !important;
  }
  .print-only-header {
    display: block !important;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B1E24;
  }
  main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  body, html {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
