/* 
 * STILISTIK SISTEM JAWATANKUASA DAN TUGAS KHAS SEKOLAH
 * Mengadaptasi Tema, Tipografi & Vibe Reka Bentuk 'Nexadash' (sample_design.md):
 * - Canvas Background: #F4F5F7
 * - Card Background: #FFFFFF with 16px radius (rounded-2xl) & border: 1px solid #E5E7EB
 * - Subtle Shadow: 0 1px 3px rgba(0, 0, 0, 0.04)
 * - Modern Typography: Plus Jakarta Sans / Inter
 * - Striped Pattern bars & modern metrics
 */

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

:root {
  --app-bg: #F4F5F7;
  --card-bg: #FFFFFF;
  --border-subtle: #E5E7EB;
  --border-strong: #D1D5DB;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  
  --brand-primary: #2563EB;
  --brand-primary-light: #EFF6FF;
  
  --status-success: #10B981;
  --status-success-bg: #ECFDF5;
  --status-success-text: #059669;

  --status-warning: #F59E0B;
  --status-warning-bg: #FFFBEB;
  --status-warning-text: #D97706;

  --status-danger: #EF4444;
  --status-danger-bg: #FEF2F2;
  --status-danger-text: #DC2626;

  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-dropdown: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--app-bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Card Styling */
.nexa-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexa-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Diagonal Stripe Pattern */
.pattern-hatched-dark {
  background: repeating-linear-gradient(
    45deg,
    #1F2937,
    #1F2937 6px,
    #111827 6px,
    #111827 12px
  );
}

.pattern-hatched-gray {
  background: repeating-linear-gradient(
    45deg,
    #9CA3AF,
    #9CA3AF 6px,
    #6B7280 6px,
    #6B7280 12px
  );
}

.pattern-hatched-light {
  background: repeating-linear-gradient(
    45deg,
    #E5E7EB,
    #E5E7EB 6px,
    #D1D5DB 6px,
    #D1D5DB 12px
  );
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F4F5F7;
}
::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
}

/* Print Styling */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background-color: #FFFFFF !important;
  }
  .print-only {
    display: block !important;
  }
  .nexa-card {
    box-shadow: none !important;
    border: 1px solid #E5E7EB !important;
    break-inside: avoid;
  }
}
