:root {
  --primary: #C23B22;
  --primary-hover: #D94227;
  --bg-dark: #0B131F;
  --bg-card: #111C2E;
  --bg-input: #17243A;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --accent-blue: #38BDF8;
  --accent-green: #22C55E;
}

body {
  font-family: 'Almarai', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  direction: rtl;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.glass-panel {
  background: rgba(17, 28, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

.task-item {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.task-item:hover {
  transform: translateX(-4px);
  background: rgba(23, 36, 58, 0.9);
  border-color: rgba(194, 59, 34, 0.5);
}
.task-item.active {
  background: rgba(194, 59, 34, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(194, 59, 34, 0.25);
}

.glow-btn-record {
  background: linear-gradient(135deg, #C23B22, #EA580C);
  box-shadow: 0 4px 20px rgba(194, 59, 34, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-btn-record:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.6);
}

.live-pulse-dot {
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.85); opacity: 1; }
}

.code-editor {
  font-family: 'Fira Code', 'Cascadia Code', Consolas, Monaco, monospace;
  direction: ltr;
  text-align: left;
}
