/* style.css - Jeol Smart Stock Control */
:root {
  --jeol-red: #B5212A;
  --jeol-red-dark: #8F171F;
  --jeol-red-soft: #FEF2F2;
  --marine-900: #0A192F;
  --marine-800: #0F2C59;
  --marine-700: #1E4E8C;
  --accent-blue: #3A86FF;
  --rag-green: #10B981;
  --rag-amber: #F59E0B;
  --rag-red: #EF4444;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #FFFDFC 0%, #F8FAFC 55%, #F1F5F9 100%);
  color: #1e293b;
  overflow-x: hidden;
}

/* Warm Login Ambient Backdrop */
.jeol-login-bg {
  background:
    radial-gradient(circle at 15% 15%, rgba(181, 33, 42, 0.10) 0%, transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.11) 0%, transparent 38%),
    radial-gradient(circle at 50% 90%, rgba(58, 134, 255, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #FFF9F7 0%, #F8FAFC 100%);
}

/* Touch targets >= 52px for kitchen safety and ease of use */
.touch-target {
  min-height: 52px;
}

/* Custom Scrollbars */
.custom-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Sidebar & Drawer Transitions */
.sidebar-drawer {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-backdrop {
  transition: opacity 0.3s ease-in-out;
}

/* Sidebar Active Indicator Pill — JEOL Crimson Accent */
.sidebar-link {
  transition: all 0.2s ease;
  position: relative;
}
.sidebar-link.active {
  background: linear-gradient(90deg, #FEF2F2 0%, #FFF7ED 100%);
  color: #9F1239;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(181, 33, 42, 0.15);
}
.sidebar-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: linear-gradient(180deg, #B5212A 0%, #E11D48 100%);
  border-radius: 0 4px 4px 0;
}

/* Subtle interactive card polish */
.card-lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card-lift:hover {
  transform: translateY(-2px);
}

/* Reason chips */
.reason-pill {
  transition: all 0.15s ease-in-out;
}
.reason-pill:active {
  transform: scale(0.97);
}

/* Smooth fade */
.fade-in {
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
