/* ==========================================================================
   AREA KASIR - Unique Non-Generic Tailwind & Premium Typography System
   ========================================================================== */

/* --- Distinctive Fonts Import: Outfit (Headings) & Plus Jakarta Sans (Body) --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Colors - Dominant Royal Purple Palette */
  --primary: #6d28d9;          /* Royal Violet */
  --primary-hover: #5b21b6;
  --primary-light: #8b5cf6;
  --primary-subtle: #f5f3ff;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  --hero-gradient: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);

  /* Accent Colors */
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;

  /* Typography Tokens */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Borders & Custom Shadows */
  --border-light: #e2e8f0;
  --border-purple: #e9d5ff;
  --radius-md: 12px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-purple-glow: 0 10px 30px rgba(109, 40, 217, 0.25);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Typography Overrides --- */
body {
  font-family: var(--font-main);
  color: #334155;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

/* --- Tailored Utility Enhancements --- */
.text-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(233, 213, 255, 0.6);
}

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

/* --- Unique Modern Layout Helper Classes --- */
.badge-purple {
  background-color: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #e9d5ff;
}

.badge-green {
  background-color: #ecfdf5;
  color: #10b981;
  border: 1px solid #a7f3d0;
}

/* --- Toast Notification Ungu (< 5 detik) --- */
.toast-purple {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  color: #ffffff;
  padding: 1rem 1.6rem;
  border-radius: 14px;
  font-size: 0.925rem;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(109, 40, 217, 0.45);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-main);
}

.toast-purple.show {
  transform: translateY(0);
  opacity: 1;
}
