/**
 * style.css — Radar MBG Nasional Utama
 * Badan Gizi Nasional (BGN) Republik Indonesia
 */
@import url('theme.css');

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--bgn-on-surface);
  background-color: var(--bgn-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bgn-surface-low);
}
::-webkit-scrollbar-thumb {
  background: var(--bgn-outline-variant);
  border-radius: var(--bgn-radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bgn-outline);
}

/* Header & Navigation */
.header-glass {
  background: rgba(248, 249, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* Interactive Cards */
.card-hover {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--bgn-shadow-md);
}

/* Nutrition AKG Pill */
.akg-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--bgn-radius-full);
  background: var(--bgn-surface-container);
  color: var(--bgn-primary);
  border: 1px solid var(--bgn-border);
}

/* Status Badges */
.badge-verified {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.badge-delivering {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.badge-arrived {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.badge-investigation {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Empty State Styling */
.empty-state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 1rem;
  text-align: center;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin-bottom: 1rem;
}

/* Input & Search Form Focus */
.input-bgn {
  width: 100%;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border: 1px solid var(--bgn-border);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--bgn-on-surface);
  transition: all 0.2s ease;
}
.input-bgn:focus {
  outline: none;
  border-color: var(--bgn-border-focus);
  box-shadow: 0 0 0 3px rgba(19, 64, 116, 0.15);
}

/* Button Variants */
.btn-primary-bgn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--bgn-primary);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: var(--bgn-shadow-sm);
  cursor: pointer;
}
.btn-primary-bgn:hover {
  background: var(--bgn-primary-container);
  transform: translateY(-1px);
}

.btn-secondary-bgn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bgn-primary);
  background: var(--bgn-surface-container);
  border: 1px solid var(--bgn-border);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-secondary-bgn:hover {
  background: var(--bgn-surface-high);
}

/* Smooth Pulse Animation */
@keyframes bgnPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.96); }
}
.animate-bgn-pulse {
  animation: bgnPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
