/* ==========================================================================
   Kost Griya Metro Pekayon - Main Design System (kostgm.com)
   Palette: Emerald Luxury (#006948), Slate, Surface-Card, Glassmorphism
   Typography: Plus Jakarta Sans & Inter
   ========================================================================== */

:root {
  --primary: #006948;
  --primary-container: #00855d;
  --primary-light: #85f8c4;
  --on-primary: #ffffff;
  --secondary: #855300;
  --secondary-container: #fea619;
  --bg-surface: #f7f9fb;
  --surface-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-soft: #e2e8f0;
  --status-available: #059669;
  --status-occupied: #e11d48;
  --status-reserved: #d97706;
  --badge-security: #047857;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

/* Watermark Seal */
.watermark-seal {
  background-image: radial-gradient(#006948 0.75px, transparent 0.75px);
  background-size: 8px 8px;
}

/* Audio Wave Animation */
@keyframes audioWave {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.wave-bar {
  display: inline-block;
  width: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  animation: audioWave 1.2s infinite ease-in-out;
}
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }

/* Pulse Glow */
.pulse-glow {
  box-shadow: 0 0 0 0 rgba(0, 105, 72, 0.5);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(0, 105, 72, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 105, 72, 0); }
  100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(0, 105, 72, 0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
