/* Custom Styles for SUBDISBINFUNG DISPENAD - BLOGTUGAS */

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

:root {
  --emerald-dark: #022c22;
  --amber-gold: #fbbf24;
}

body.dark-theme {
  background-color: #030712;
  color: #f3f4f6;
}

body.light-theme {
  background-color: #f8fafc;
  color: #0f172a;
}

body.light-theme .glass-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: #e2e8f0;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.light-theme .nav-btn {
  color: #475569;
}

body.light-theme .nav-btn.active {
  color: #047857 !important;
  border-color: #047857 !important;
}

/* Glassmorphic Cards */
.glass-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
}

/* Military Badges */
.gold-badge {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff;
}

.army-badge {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
}

/* Filter Pill Buttons */
.filter-btn {
  padding: 0.375rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.6);
  color: #94a3b8;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: #fbbf24;
  color: #fef08a;
}

.filter-btn.active {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  border-color: #34d399;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

/* Position Cards & Hover Effects */
.position-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.position-card:hover {
  transform: translateY(-2px);
}

/* Duty Categories */
.duty-category {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.4);
}

body.light-theme .duty-category {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Modal Styling */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .glass-card {
    border: 1px solid #ddd !important;
    background: #fff !important;
    box-shadow: none !important;
  }
}
