/* =============================================
   APOTEK & KLINIK 4.0 - PREMIUM DESIGN SYSTEM
   ============================================= */

:root {
  /* Color Palette - Dark Pharma Theme */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a2035;
  --bg-card-hover: #1f2847;
  --bg-sidebar: #0d1321;
  --bg-input: #151c2e;
  --bg-modal: #151d30;

  /* Accent Colors */
  --accent-primary: #3b82f6;
  --accent-primary-hover: #2563eb;
  --accent-primary-glow: rgba(59, 130, 246, 0.3);
  --accent-success: #10b981;
  --accent-success-glow: rgba(16, 185, 129, 0.3);
  --accent-warning: #f59e0b;
  --accent-warning-glow: rgba(245, 158, 11, 0.3);
  --accent-danger: #ef4444;
  --accent-danger-glow: rgba(239, 68, 68, 0.3);
  --accent-info: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-teal: #14b8a6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  --gradient-sidebar: linear-gradient(180deg, #0d1321 0%, #111827 100%);
  --gradient-card: linear-gradient(145deg, #1a2035 0%, #151c2e 100%);

  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #93c5fd;

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(59, 130, 246, 0.3);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

  /* Spacing */
  --sidebar-width: 260px;
  --titlebar-height: 38px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============ TITLEBAR ============ */
.titlebar {
  height: var(--titlebar-height);
  background: var(--bg-sidebar);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  user-select: none;
}

.titlebar-drag {
  flex: 1;
  -webkit-app-region: drag;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 16px;
}

.titlebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-logo-small {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.titlebar-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.titlebar-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.titlebar-action {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
}
.titlebar-action:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.titlebar-action .material-icons-round { font-size: 18px; }

.notif-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--accent-danger);
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid var(--bg-sidebar);
}

.titlebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 100%;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.titlebar-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.titlebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.titlebar-user {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.titlebar-controls {
  display: flex;
  height: 100%;
  -webkit-app-region: no-drag;
}

.web-runtime .titlebar-controls {
  display: none;
}

.titlebar-btn {
  width: 46px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.titlebar-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.titlebar-btn .material-icons-round { font-size: 18px; }
.titlebar-close:hover { background: var(--accent-danger) !important; color: white !important; }

.titlebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
  -webkit-app-region: no-drag;
  transition: var(--transition-fast);
}

.titlebar-profile:hover {
  background: rgba(255, 255, 255, 0.05);
}

.titlebar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.titlebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.titlebar-user {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ============ LOGIN ============ */
.login-screen, .license-screen {
  position: fixed;
  top: var(--titlebar-height);
  left: 0; right: 0; bottom: 0;
  background: url('../assets/login_bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

body.logged-in #login-screen,
body.logged-in #license-screen {
  display: none !important;
}

body.logged-in #app-container {
  display: flex !important;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  z-index: 10;
}

.floating-icons {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  font-size: 80px;
  color: rgba(59, 130, 246, 0.05); /* Very subtle */
  animation: float-around 20s linear infinite;
}

@keyframes float-around {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-50px) translateX(30px) rotate(90deg) scale(1.1); }
  50% { transform: translateY(0) translateX(60px) rotate(180deg) scale(1); }
  75% { transform: translateY(50px) translateX(30px) rotate(270deg) scale(0.9); }
  100% { transform: translateY(0) rotate(360deg) scale(1); }
}

.login-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(14, 21, 44, 0.4) 0%, rgba(10, 14, 26, 0.95) 100%);
  z-index: 2;
}

.login-card {
  background: rgba(26, 32, 53, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  animation: modal-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-appear {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.login-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 24px var(--accent-primary-glow); }
  50% { box-shadow: 0 8px 40px var(--accent-primary-glow), 0 0 60px rgba(59, 130, 246, 0.15); }
}

.login-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.login-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff; /* Brighter white */
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.login-header p {
  font-size: 14px;
  color: var(--text-secondary); /* More contrast than muted */
  font-weight: 500;
}

.login-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 24px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 50px;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fca5a5;
  font-size: 13px;
  animation: shake 0.5s ease;
}

.login-error .material-icons-round { font-size: 18px; color: var(--accent-danger); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ============ FORM ELEMENTS ============ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary); /* High contrast */
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.input-icon {
  position: relative;
}

.input-icon .material-icons-round {
  position: absolute;
  left: 16px; /* Slightly more inside */
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-secondary); /* Brighter icon */
  transition: var(--transition-fast);
  pointer-events: none;
  z-index: 2;
}

.input-icon input {
  padding-left: 52px; /* Increased padding to prevent overlap */
}

.input-icon:focus-within .material-icons-round {
  color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-fast);
  outline: none;
}

.login-screen input, .license-screen input {
  background: #ffffff !important;
  color: #0f172a !important;
  padding-left: 52px !important;
  font-weight: 600;
  height: 52px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
}

.login-screen input:focus, .license-screen input:focus {
  border-color: var(--accent-primary);
  background: #ffffff !important;
}

.login-screen .input-icon .material-icons-round, .license-screen .input-icon .material-icons-round {
  color: #64748b;
  font-size: 20px;
}

.hardware-id-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.hardware-id-box code {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  word-break: break-all;
  user-select: all;
}

.btn-copy-hwid {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.btn-copy-hwid:hover {
  color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.15);
}

.license-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fca5a5;
  font-size: 13px;
  animation: shake 0.5s ease;
}

.license-error .material-icons-round { font-size: 18px; color: var(--accent-danger); }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-glow);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

textarea { resize: vertical; min-height: 80px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn .material-icons-round { font-size: 18px; }

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px var(--accent-primary-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-primary-glow); }

.btn-success {
  background: var(--gradient-success);
  color: white;
  box-shadow: 0 4px 12px var(--accent-success-glow);
}
.btn-success:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-success-glow); }

.btn-warning {
  background: var(--gradient-warning);
  color: white;
}

.btn-danger {
  background: var(--gradient-danger);
  color: white;
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-sm .material-icons-round { font-size: 16px; }

.btn-block { width: 100%; }

.btn:active { transform: scale(0.97); }

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading span {
  visibility: hidden;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: white;
  border-right-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ APP CONTAINER ============ */
.app-container {
  display: flex;
  height: calc(100vh - var(--titlebar-height));
  margin-top: var(--titlebar-height);
}

/* ============ SIDEBAR ============ */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--gradient-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-profile {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info { display: flex; flex-direction: column; overflow: hidden; }
.profile-name { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-role { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 4px;
}

.nav-section-title {
  display: block;
  padding: 12px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  margin: 1px 8px;
  border-radius: var(--radius-sm);
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-item.active {
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--accent-primary);
  border-radius: 0 3px 3px 0;
}

.nav-item .material-icons-round { font-size: 20px; }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md);
  color: #fca5a5;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.btn-logout:hover { background: rgba(239, 68, 68, 0.15); color: #fecaca; }
.btn-logout .material-icons-round { font-size: 20px; }

/* ============ MAIN CONTENT ============ */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  background: var(--bg-primary);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-header h2 .material-icons-round {
  font-size: 28px;
  color: var(--accent-primary);
}

.page-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ============ SEARCH BAR ============ */
.search-bar {
  position: relative;
  width: 300px;
}

.search-bar .material-icons-round {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
  pointer-events: none;
}

.search-bar input {
  padding-left: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

/* ============ STAT CARDS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  border-radius: 50%;
  opacity: 0.05;
  transform: translate(30%, -30%);
}

.stat-card.blue::after { background: var(--accent-primary); }
.stat-card.green::after { background: var(--accent-success); }
.stat-card.yellow::after { background: var(--accent-warning); }
.stat-card.red::after { background: var(--accent-danger); }
.stat-card.purple::after { background: var(--accent-purple); }

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-icon .material-icons-round { font-size: 22px; color: white; }

.stat-card.blue .stat-card-icon { background: var(--gradient-primary); }
.stat-card.green .stat-card-icon { background: var(--gradient-success); }
.stat-card.yellow .stat-card-icon { background: var(--gradient-warning); }
.stat-card.red .stat-card-icon { background: var(--gradient-danger); }
.stat-card.purple .stat-card-icon { background: var(--gradient-purple); }

.stat-card-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ DATA TABLE ============ */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-table {
  padding: 0 !important;
  overflow: hidden;
}

.table-container table, .card-table table {
  width: 100%;
  border-collapse: collapse;
}

.table-container th, .card-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.table-container td, .card-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.table-container tr:last-child td, .card-table tr:last-child td { border-bottom: none; }

.table-container tr:hover td, .card-table tr:hover td {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

/* Utils */
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.font-bold { font-weight: 700 !important; }
.underline { text-decoration: underline; }
.bg-light { background: rgba(255,255,255,0.03) !important; }
.mt-4 { margin-top: 1.5rem !important; }
.p-0 { padding: 0 !important; }

.table-actions {
  display: flex;
  gap: 6px;
}

.table-actions button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.table-actions button .material-icons-round { font-size: 16px; }

.btn-edit {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
}
.btn-edit:hover { background: rgba(59, 130, 246, 0.2); }

.btn-delete {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-danger);
}
.btn-delete:hover { background: rgba(239, 68, 68, 0.2); }

.btn-view {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-info);
}
.btn-view:hover { background: rgba(99, 102, 241, 0.2); }

/* Table scroll */
.table-scroll {
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 300px);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .material-icons-round {
  font-size: 64px;
  opacity: 0.3;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
}

/* ============ BADGE ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-success { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.badge-info { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 200ms ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp 250ms ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover { background: rgba(239, 68, 68, 0.15); color: var(--accent-danger); }
.modal-close .material-icons-round { font-size: 20px; }

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
}

/* Form grid in modal */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  top: calc(var(--titlebar-height) + 16px);
  right: 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 300ms ease;
  min-width: 280px;
  max-width: 400px;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast .material-icons-round { font-size: 22px; flex-shrink: 0; }
.toast-success .material-icons-round { color: var(--accent-success); }
.toast-error .material-icons-round { color: var(--accent-danger); }
.toast-warning .material-icons-round { color: var(--accent-warning); }
.toast-info .material-icons-round { color: var(--accent-info); }

.toast-message { font-size: 13px; color: var(--text-primary); }

/* ============ POS / KASIR ============ */
.pos-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  height: calc(100vh - var(--titlebar-height) - 56px);
}

.pos-products {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pos-search-bar {
  margin-bottom: 16px;
}

.pos-product-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pos-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.pos-product-item:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.pos-product-item .product-info { flex: 1; }
.pos-product-item .product-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.pos-product-item .product-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.pos-product-item .product-price { font-size: 14px; font-weight: 700; color: var(--accent-success); white-space: nowrap; }
.pos-product-item .product-stock { font-size: 11px; color: var(--text-muted); text-align: right; }

.pos-cart {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pos-cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pos-cart-header h3 { font-size: 15px; font-weight: 700; }
.pos-cart-header .material-icons-round { color: var(--accent-primary); }

.pos-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.pos-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.pos-cart-item:hover { background: rgba(255,255,255,0.03); }

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.cart-item-price { font-size: 11px; color: var(--text-muted); }
.cart-item-subtotal { font-size: 13px; font-weight: 700; color: var(--accent-success); white-space: nowrap; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-fast);
}

.cart-item-qty button:hover { background: var(--bg-card-hover); }

.cart-item-qty span {
  font-size: 13px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-danger);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.cart-item-remove:hover { background: rgba(239, 68, 68, 0.2); }
.cart-item-remove .material-icons-round { font-size: 16px; }

.pos-cart-summary {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(0,0,0,0.15);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.pos-cart-actions {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
}

.pos-cart-actions .btn { flex: 1; }

/* ============ CHART CONTAINER ============ */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.chart-area {
  height: 250px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 0;
}

.chart-bar {
  flex: 1;
  min-width: 20px;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: var(--transition-normal);
  cursor: pointer;
}

.chart-bar:hover { opacity: 0.8; }

.chart-bar-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.chart-bar-value {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition-fast);
}

.chart-bar:hover .chart-bar-value { opacity: 1; }

/* ============ ALERT CARDS ============ */
.alert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.alert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.alert-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.alert-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.alert-card-header .material-icons-round { font-size: 22px; }

.alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
}

.alert-item:last-child { border-bottom: none; }

/* ============ ANIMATIONS ============ */
.fade-in {
  animation: fadeIn 300ms ease;
}

.slide-in {
  animation: slideUp 300ms ease;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .pos-container {
    grid-template-columns: 1fr 320px;
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 900px) {
  .alert-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 40px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Currency helper */
.currency { font-variant-numeric: tabular-nums; }

/* ============ TITLEBAR RIGHT ============ */
.titlebar-right {
  display: flex;
  align-items: center;
  height: 100%;
  -webkit-app-region: no-drag;
}

.titlebar-action {
  width: 38px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
}

.titlebar-action:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.titlebar-action .material-icons-round { font-size: 18px; }

.notif-badge {
  position: absolute;
  top: 6px; right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--accent-danger);
  color: white;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  animation: pulse-notif 2s ease infinite;
}

@keyframes pulse-notif {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.titlebar-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 100%;
  cursor: default;
}

.titlebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-item-simple {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.nav-item-simple:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.nav-item-simple.active {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
}

.nav-item-simple .material-icons-round { font-size: 18px; }

/* Sub Navigation */
.nav-sub {
  margin-left: 36px;
  border-left: 1px solid var(--border-color);
  padding-left: 12px;
  margin-top: -4px;
  margin-bottom: 8px;
}

.nav-item-sub {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-item-sub:hover { color: var(--accent-primary); }
.nav-item-sub.active { color: var(--accent-primary); font-weight: 600; }

.titlebar-user {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ SETTINGS CARD ============ */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.settings-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-card h3 .material-icons-round {
  font-size: 22px;
  color: var(--accent-primary);
}

.settings-card .form-group { margin-bottom: 14px; }

/* ============ LIGHT THEME ============ */
[data-theme="light"] {
  --bg-primary: #f1f5f9;
  --bg-secondary: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-sidebar: #ffffff;
  --bg-input: #f1f5f9;
  --bg-modal: #ffffff;

  --gradient-sidebar: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(0, 0, 0, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .titlebar { background: #ffffff; }
[data-theme="light"] .titlebar-btn:hover { background: rgba(0,0,0,0.06); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }
[data-theme="light"] .table-container th { background: rgba(0,0,0,0.03); }
[data-theme="light"] .table-container tr:hover td { background: rgba(0,0,0,0.02); }
[data-theme="light"] .nav-item:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .nav-item.active { background: rgba(59, 130, 246, 0.08); }
[data-theme="light"] .btn-ghost { background: rgba(0,0,0,0.04); color: var(--text-secondary); }
[data-theme="light"] .btn-ghost:hover { background: rgba(0,0,0,0.08); }
[data-theme="light"] .btn-logout { background: rgba(239, 68, 68, 0.06); color: #dc2626; border-color: rgba(239, 68, 68, 0.12); }
[data-theme="light"] .login-error { color: #dc2626; }
[data-theme="light"] .badge-success { background: rgba(16, 185, 129, 0.12); color: #059669; }
[data-theme="light"] .badge-warning { background: rgba(245, 158, 11, 0.12); color: #d97706; }
[data-theme="light"] .badge-danger { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
[data-theme="light"] .badge-info { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
[data-theme="light"] .titlebar-action:hover { background: rgba(0,0,0,0.04); }
/* ============ BADGE EXTENSIONS ============ */
.badge.aktiva { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge.kewajiban { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.badge.modal { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.badge.pendapatan { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.badge.hpp { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge.biaya { background: rgba(100, 116, 139, 0.15); color: #64748b; }

.badge.antri { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge.diperiksa { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.badge.selesai { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge.batal { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.badge.manual { background: rgba(100, 116, 139, 0.1); color: var(--text-secondary); border: 1px solid var(--border-color); }
.badge.auto { background: rgba(59, 130, 246, 0.1); color: var(--accent-primary); border: 1px solid rgba(59, 130, 246, 0.2); }

.badge.income { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.badge.expense { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.jurnal-detail-popup { padding: 10px; }
.table-minimal { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-minimal th, .table-minimal td { padding: 10px; border-bottom: 1px solid var(--border-color); }
.table-minimal th { font-weight: 700; color: var(--text-secondary); text-align: left; }

.examine-info { background: var(--bg-secondary); padding: 12px; border-radius: var(--radius-md); border-left: 4px solid var(--accent-primary); }

/* Jurnal Badges */
.badge.manual { background: rgba(59, 130, 246, 0.1); color: var(--accent-primary); }
.badge.auto { background: rgba(16, 185, 129, 0.1); color: var(--accent-success); }

.text-xs { font-size: 11px; }
.underline { border-bottom: 2px solid var(--border-color); }

.avatar {
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 4px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Report Typography */
.report-title { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 4px; }
.report-subtitle { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 24px; }

/* Neraca Layout */
.bg-light { background: rgba(0,0,0,0.03); }
[data-theme="dark"] .bg-light { background: rgba(255,255,255,0.03); }

.row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.col-6 { flex: 1; min-width: 400px; }

/* Help & Manual Styles */
.help-layout { display: flex; gap: 24px; height: calc(100vh - 160px); }
.help-sidebar { width: 220px; flex-shrink: 0; padding: 12px; }
.help-nav { list-style: none; }
.help-nav li { 
  padding: 10px 16px; 
  border-radius: var(--radius-md); 
  cursor: pointer; 
  margin-bottom: 4px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.help-nav li:hover { background: var(--bg-secondary); color: var(--text-primary); }
.help-nav li.active { background: var(--accent-primary); color: white; font-weight: 600; box-shadow: var(--shadow-glow); }
.help-content { flex: 1; padding: 32px; overflow-y: auto; line-height: 1.6; }
.help-content h3 { font-size: 20px; margin-bottom: 16px; color: var(--accent-primary); }
.help-content h4 { font-size: 16px; margin: 20px 0 10px 0; color: var(--text-primary); }
.help-content p { color: var(--text-secondary); margin-bottom: 12px; }
.help-content ul, .help-content ol { padding-left: 20px; color: var(--text-secondary); margin-bottom: 16px; }
.help-content li { margin-bottom: 8px; }
/* ============ HELP LAYOUT ============ */
.help-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

.help-nav {
  list-style: none;
  padding: 10px;
}

.help-nav li {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  margin-bottom: 4px;
}

.help-nav li:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.help-nav li.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px var(--accent-primary-glow);
}

.help-content {
  padding: 30px;
  min-height: 500px;
}

.help-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-primary);
  display: inline-block;
  padding-bottom: 5px;
}

.help-content h4 {
  margin: 24px 0 12px;
  color: var(--accent-primary);
  font-size: 15px;
}

.help-content p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.help-content ul, .help-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.help-content li {
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text-secondary);
}
