/* Custom Styles for Jadwal Mingguan Dikpa Jurnalistik TA 2026 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-rgb: 16, 185, 129; /* Emerald-500 */
  --accent-military: #1e3a2b;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Glassmorphism & Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .glass-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

.glass-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dark .glass-header {
  background: rgba(15, 23, 42, 0.9);
}

/* Custom Military Ribbon & Glow */
.military-badge {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.military-badge-gold {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
}

.glow-emerald {
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.3);
}

/* Tab Navigation Indicator & Panes */
.tab-btn {
  cursor: pointer !important;
  user-select: none;
  position: relative;
  z-index: 10;
}

.tab-btn.active {
  color: #10b981 !important;
  border-bottom: 3px solid #10b981 !important;
  font-weight: 700 !important;
}

.dark .tab-btn.active {
  color: #34d399 !important;
  border-bottom-color: #34d399 !important;
}

.tab-pane.hidden {
  display: none !important;
}

.tab-pane:not(.hidden) {
  display: block !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.6);
}

.dark ::webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.6);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.dark ::webkit-scrollbar-thumb {
  background: #475569;
}

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

/* Pulse animation for live sync dot */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-dot {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  
  .no-print, header, footer, .sync-banner, .filter-controls, .theme-toggle {
    display: none !important;
  }
  
  .tab-content {
    display: block !important;
  }
  
  .glass-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    background: #fff !important;
  }
  
  .print-page-break {
    page-break-before: always;
  }
}
