/* ADD STOK REYY FREELANCE - Dark Liquid Glass POS Theme */

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

* { font-family: 'Inter', sans-serif; }
.font-title { font-family: 'Plus Jakarta Sans', sans-serif; }

body {
  background-color: #09090b;
  color: rgba(255, 255, 255, 0.7);
}

/* Custom Scrollbars */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* Active sidebar */
.sidebar-active {
  background: rgba(255,255,255,0.06) !important;
  color: #ffffff !important;
  font-weight: 600;
  border-left: 3px solid #F59E0B !important;
  backdrop-filter: blur(8px);
}

/* ── LIQUID GLASS ── */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 8px 32px rgba(0,0,0,0.4),
    0 0 80px rgba(255,255,255,0.01) inset;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 4px 24px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 8px 40px rgba(0,0,0,0.45),
    0 0 60px rgba(255,255,255,0.015) inset;
  transform: translateY(-1px);
}

.glass-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.2s;
}
.glass-input::placeholder { color: rgba(255,255,255,0.3); }
.glass-input:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.2s;
}
.glass-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-btn-primary {
  background: rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  font-weight: 600;
  transition: all 0.2s;
}
.glass-btn-primary:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

/* Grid Table for dark theme */
.grid-table { border-collapse: collapse; width: 100%; }
.grid-table th, .grid-table td {
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.grid-table th {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.grid-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* LIVE pulse dot */
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.live-dot {
  animation: livePulse 1.5s ease-in-out infinite;
}

/* Ambient glow orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Badge styles for dark theme */
.badge-safe { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-low { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-empty { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: #f87171; }
.badge-active { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-draft { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

/* Select & option styles for native dropdowns */
select {
  color-scheme: dark;
}
select option {
  background: #1a1a2e;
  color: #ffffff;
}
