/* Color System and Design Tokens */
:root {
  --bg-primary: #ffffff;
  --bg-sidebar: #f7f7f7;
  --bg-bubble-user: #f3f4f6;
  --bg-bubble-agent: #ffffff;
  --text-primary: #111111;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;

  --btn-dark-bg: #111111;
  --btn-dark-text: #ffffff;
  --btn-dark-hover: #000000;

  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
}

/* Accessibility Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* Workspace Layout */
.workspace-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

/* Sidebar Drawer Backdrop for Mobile */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

/* Left Sidebar Styles */
.sidebar {
  width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  z-index: 1000;
}

.sidebar-top {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.brand {
  margin-bottom: 20px;
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.new-conversation-btn {
  width: 100%;
  padding: 10px 14px;
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  outline: none;
}

.new-conversation-btn:hover {
  background-color: var(--border-light);
  border-color: var(--text-muted);
}

/* Static History Navigation */
.history-nav {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-section-header {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  padding-left: 8px;
}

.history-item {
  background: none;
  border: none;
  text-align: left;
  padding: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.history-item:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

/* Sidebar Bottom details */
.sidebar-bottom {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.sidebar-actions {
  display: flex;
  gap: 8px;
}

.sidebar-action-btn {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s ease;
}

.sidebar-action-btn:hover {
  background-color: var(--border-light);
}

/* Main Workspace */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

/* Header in main chat space */
.main-header {
  height: 56px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background-color: #ffffff;
  z-index: 100;
}

.brand-header-mobile {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: none;
}

.mobile-menu-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: none;
  outline: none;
}

.mobile-menu-btn:hover {
  background-color: var(--bg-sidebar);
}

.settings-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s ease;
}

.settings-toggle-btn:hover {
  background-color: var(--bg-sidebar);
}

/* Loading Spinner */
.initial-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

.spinner {
  border: 2px solid var(--border-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border-left-color: var(--text-primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.initial-loader p {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Onboarding Screen (Disconnected State) */
.onboarding-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.onboarding-card {
  max-width: 360px;
  width: 100%;
  text-align: center;
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: #ffffff;
}

.onboarding-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.onboarding-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.onboarding-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Chat Shell Layout */
.chat-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* Outer scrollable chat history viewport */
.chat-history {
  flex: 1;
  overflow-y: auto;
  padding: 32px 24px;
  scroll-behavior: smooth;
}

/* Message Bubble Entrance Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Empty State Suggestions */
.chat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  max-width: 500px;
  margin: 60px auto 0 auto;
  animation: fadeInUp 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.chat-empty-state h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.example-prompts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.example-btn {
  background-color: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  text-align: left;
  outline: none;
}

.example-btn:hover {
  background-color: var(--border-color);
}

/* Centered single column conversation container layout */
.conversation-content {
  width: min(100%, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px; /* turn gap */
}

/* Horizontal message row wrapper */
.message-row {
  display: flex;
  width: 100%;
  animation: fadeInUp 0.18s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.message-row.assistant {
  justify-content: flex-start;
}

.message-row.user {
  justify-content: flex-end;
}

/* Message Bubble */
.message-bubble {
  display: flex;
  flex-direction: column;
  gap: 6px; /* small gap inside turn */
  width: fit-content;
}

.bubble-user {
  max-width: 72%;
  align-items: flex-end;
}

.bubble-user .bubble-content {
  background-color: var(--bg-bubble-user);
  color: var(--text-primary);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid var(--border-color);
}

.bubble-agent {
  max-width: 85%;
  align-items: flex-start;
}

.bubble-agent .bubble-content {
  background-color: var(--bg-bubble-agent);
  color: var(--text-primary);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid var(--border-color);
}

/* Scheduling Action Event Cards */
.bubble-action-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  max-width: 320px;
  margin-top: 4px;
}

.action-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.action-desc {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.action-card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.action-card-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-card-btn:hover {
  background-color: var(--border-light);
}

.action-card-btn.cancel-btn {
  color: #ef4444;
}

.action-card-btn.cancel-btn:hover {
  background-color: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

/* Conflict resolution Prompt Card */
.prompt-options-container {
  max-width: 380px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #ffffff;
}

.prompt-label {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}

.prompt-buttons {
  display: flex;
  gap: 6px;
}

/* General Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  outline: none;
  gap: 6px;
  text-decoration: none;
}

.btn-dark {
  background-color: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border: none;
}

.btn-dark:hover:not(:disabled) {
  background-color: var(--btn-dark-hover);
}

.btn-dark:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--bg-sidebar);
}

.btn-outline:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 11px;
}

/* Chat Input Footer container */
.chat-footer {
  border-top: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 20px 24px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  background-color: #ffffff;
  transition: border-color 0.15s ease;
}

.chat-form:focus-within {
  border-color: var(--text-primary);
}

.chat-form textarea {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 13px;
  color: var(--text-primary);
  padding: 4px 0;
  max-height: 120px;
  line-height: 1.5;
  background-color: transparent;
}

.chat-form textarea::placeholder {
  color: var(--text-muted);
}

.chat-form textarea:disabled {
  cursor: not-allowed;
}

.chat-form button {
  padding: 6px 12px;
  font-size: 12px;
  height: 32px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.chat-form button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Input Examples footer */
.examples-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
}

.examples-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.example-link-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
  padding: 2px 4px;
  transition: color 0.15s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.example-link-btn:hover {
  color: var(--text-primary);
}

/* Settings Dropdown Overlay Modal */
.settings-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.settings-dropdown-content {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 380px;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.settings-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.settings-dropdown-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.close-settings-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-secondary);
  outline: none;
}

.close-settings-btn:hover {
  color: var(--text-primary);
}

.settings-dropdown-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-dropdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.settings-dropdown-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.settings-dropdown-row .settings-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.settings-dropdown-row .settings-value {
  color: var(--text-primary);
  font-weight: 600;
}

.settings-dropdown-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.settings-dropdown-actions .btn {
  width: 100%;
  padding: 8px;
  font-size: 12px;
}

/* Typing loading indicator bubble - aligned left with Chitti */
.typing-bubble {
  background-color: var(--bg-bubble-agent);
  border: 1px solid var(--border-color);
  border-radius: 12px 12px 12px 4px;
  width: fit-content;
  min-width: 64px;
  height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 12px;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Alert Banner */
.alert {
  padding: 10px 14px;
  font-size: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 12px 24px;
  background-color: var(--bg-sidebar);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.hidden {
  display: none !important;
}

/* Responsive Grid and Mobile Layout Rules */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .brand-header-mobile {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -260px;
    width: 260px;
    transform: translateX(0);
    transition: transform 0.2s ease;
  }

  .sidebar.mobile-open {
    transform: translateX(260px);
  }

  .chat-history {
    padding: 20px;
  }

  .chat-footer {
    padding: 16px;
  }
}

/* Page Container & Card for Login */
.page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  background-color: var(--bg-sidebar);
}

.page-container .card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 400px;
  width: 100%;
}

.page-container .card h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-align: center;
}

.page-container .card h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-align: center;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  border-color: var(--text-primary);
}

.form-link {
  color: var(--accent-blue);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
}

.form-footer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* Primary Button compatibility */
.btn-primary {
  background-color: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border: none;
}

.btn-primary:hover {
  background-color: var(--btn-dark-hover);
}

/* Explicit overrides to defeat browser caching of old loader absolute positioning */
#chat-loading {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
}

/* Task Status & Paused Indicator Styles */
.paused-indicator-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-bubble-user);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.paused-indicator-btn:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

.paused-count {
  background-color: var(--text-secondary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
}

.paused-popover {
  position: absolute;
  top: 56px;
  right: 24px;
  width: 320px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  z-index: 1100;
  overflow: hidden;
}

.paused-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-sidebar);
}

.paused-popover-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.close-popover-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.paused-popover-body {
  max-height: 280px;
  overflow-y: auto;
  padding: 8px 12px;
}

.paused-task-card {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background-color: var(--bg-bubble-agent);
}

.paused-task-card:last-child {
  margin-bottom: 0;
}

.paused-task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.paused-task-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.paused-task-status {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #f3f4f6;
  color: #6b7280;
  font-weight: 500;
}

.paused-task-context {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paused-task-actions {
  display: flex;
  gap: 8px;
}

.btn-pause {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-pause:hover {
  background-color: #e5e7eb;
  color: #111827;
}

.active-task-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-secondary);
}

.task-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.task-status-dot.active {
  background-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.task-status-dot.paused {
  background-color: var(--text-muted);
}

.task-status-dot.completed {
  background-color: #10b981;
}

.task-status-dot.blocked {
  background-color: #ef4444;
}

