/* style.css - Tema 'Premium Glass & Indigo' */

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

:root {
  --kalku-primary: #2563EB;     /* Indigo modern */
  --kalku-primary-hover: #1D4ED8; 
  --kalku-bg: #F8FAFC;          /* Slate 50 - Sangat bersih untuk background utama */
  --kalku-surface: rgba(255, 255, 255, 0.85); /* Semi transparan untuk glass */
  --kalku-text-main: #0F172A;   /* Slate 900 */
  --kalku-text-muted: #64748B;  /* Slate 500 */
  --kalku-border: rgba(226, 232, 240, 0.6);   /* Border halus tembus pandang */
}

/* Kustomisasi Scrollbar Minimalis */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--kalku-bg);
  /* Mesh gradient sangat tipis dan halus untuk background body */
  background-image: 
    radial-gradient(at 0% 0%, hsla(253,16%,7%,0.02) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(225,39%,30%,0.03) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(339,49%,30%,0.02) 0, transparent 50%);
  color: var(--kalku-text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Judul/Heading spesifik font Outfit */
h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Utilitas Glassmorphism Reusable */
.glass-panel {
  background: var(--kalku-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--kalku-border);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Animasi & Interaksi */
.hover-scale {
  transition: transform 0.2s ease;
}
.hover-scale:hover {
  transform: scale(1.02);
}

.btn-glow {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  background-size: 200% auto;
  color: white !important;
  border: none;
}

.btn-glow:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.6);
}

/* Input Fields Premium */
.input-premium {
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #E2E8F0;
}

.input-premium:focus {
  background-color: #ffffff;
  border-color: var(--kalku-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* Sidebar Specifics */
.sidebar-link {
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  background: linear-gradient(90deg, rgba(79,70,229,0.05) 0%, rgba(79,70,229,0) 100%);
  color: var(--kalku-primary);
  transform: translateX(4px);
  border-left-color: var(--kalku-primary);
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(79,70,229,0.1) 0%, rgba(79,70,229,0.02) 100%);
  color: var(--kalku-primary);
  border-left-color: var(--kalku-primary);
  font-weight: 600;
}

/* Efek saat diklik */
.sidebar-link:active {
  transform: scale(0.95);
  background: rgba(79,70,229,0.15);
}

/* Table Premium */
.table-premium th {
  background-color: rgba(248, 250, 252, 0.8);
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--kalku-text-muted);
}
.table-premium tr {
  transition: all 0.2s ease;
}
.table-premium tbody tr:hover {
  background-color: rgba(37, 99, 235, 0.02);
}
