:root {
  --bg-base: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-raised: #1f293d;
  --bg-surface-hover: #26334d;
  --border-subtle: #2d3748;
  --border-active: #4a5568;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blurple: #5865f2;
  --accent-blurple-hover: #4752c4;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-yellow: #f59e0b;
  --accent-purple: #8b5cf6;
  --accent-orange: #f97316;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-active);
}

/* Typography & Utilities */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hidden {
  display: none !important;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--accent-blurple);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-blurple-hover);
}

.btn-secondary {
  background: var(--bg-surface-raised);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-active);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}
.btn-outline:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

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

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-surface-raised);
  color: var(--text-secondary);
}

.badge-status {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-status.approved {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-status.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-status.deleted {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Status Indicator */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* Login Overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.login-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.login-header h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.login-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.input-group {
  text-align: left;
  margin-bottom: 18px;
}
.input-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.input-group input, .input-group select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.input-group input:focus, .input-group select:focus {
  border-color: var(--accent-blurple);
  box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.login-error {
  padding: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  margin-bottom: 18px;
  text-align: left;
}

/* App Container */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-blurple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-info h3 {
  font-size: 0.9375rem;
  line-height: 1.2;
}

.sidebar-nav {
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}
.nav-item:hover {
  background: var(--bg-surface-raised);
  color: var(--text-primary);
}
.nav-item.active {
  background: rgba(88, 101, 242, 0.15);
  color: #818cf8;
  font-weight: 600;
}
.nav-item .badge {
  margin-left: auto;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 32px 40px;
  max-width: 1300px;
  overflow-y: auto;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.header-title h1 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}
.header-title p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Tab Panes */
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.icon-purple { background: rgba(139, 92, 246, 0.15); }
.icon-green { background: rgba(16, 185, 129, 0.15); }
.icon-yellow { background: rgba(245, 158, 11, 0.15); }
.icon-blue { background: rgba(88, 101, 242, 0.15); }
.icon-red { background: rgba(239, 68, 68, 0.15); }
.icon-orange { background: rgba(249, 115, 22, 0.15); }

.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kpi-value {
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 2px 0;
  font-family: var(--font-mono);
}
.kpi-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Dashboard Split Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.card-header h3 {
  font-size: 1rem;
}

.card-body {
  padding: 20px;
}

.quick-actions-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hourly Trend Bar */
.hourly-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.8125rem;
}
.hourly-label {
  width: 100px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}
.hourly-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--bg-surface-raised);
  border-radius: 4px;
  overflow: hidden;
}
.hourly-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blurple), var(--accent-purple));
  border-radius: 4px;
}
.hourly-count {
  width: 40px;
  text-align: right;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Toolbar & Filters */
.table-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: 320px;
  flex: 1;
}
.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-box input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
}
.search-box input:focus {
  border-color: var(--accent-blurple);
}

.select-filter {
  padding: 8px 12px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
}

/* Confessions Stream */
.confessions-stream {
  display: flex;
  flex-direction: column;
  divide-y: 1px solid var(--border-subtle);
}

.confession-card {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 18px;
  transition: background-color 0.15s ease;
}
.confession-card:hover {
  background: rgba(255, 255, 255, 0.015);
}

.confession-main {
  flex: 1;
}

.confession-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
}
.confession-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-blurple);
}
.confession-author {
  color: var(--text-secondary);
}
.confession-server {
  color: var(--text-muted);
}
.confession-time {
  margin-left: auto;
  color: var(--text-muted);
}

.confession-content {
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg-base);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-blurple);
}

.confession-attachment {
  margin-top: 10px;
}
.confession-attachment img {
  max-width: 280px;
  max-height: 180px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.confession-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

/* Pagination Footer */
.pagination-footer {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
}

/* Servers Grid */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.server-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.server-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.server-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-surface-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.server-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.server-title h3 {
  font-size: 1.125rem;
  margin-bottom: 2px;
}
.server-title span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.server-stats {
  background: var(--bg-base);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.server-stat-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}
.server-stat-item b {
  color: var(--text-primary);
}

.server-actions {
  display: flex;
  gap: 10px;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
.data-table th {
  padding: 12px 18px;
  background: var(--bg-surface-raised);
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text-primary);
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

/* Toast Alerts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.success {
  border-left: 4px solid var(--accent-green);
}
.toast.error {
  border-left: 4px solid var(--accent-red);
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Empty / Loading States */
.loading-state, .empty-state {
  text-align: center;
  padding: 36px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ==========================================
   MESSENGER / DM INBOX STYLES
   ========================================== */
.messenger-container {
  display: flex;
  height: calc(100vh - 160px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Left: Threads List */
.messenger-threads {
  width: 320px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  background: var(--bg-surface);
}

.messenger-threads-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
  align-items: center;
}
.messenger-threads-header .search-box {
  min-width: 0;
  flex: 1;
}

.threads-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.thread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.thread-item:hover {
  background: var(--bg-surface-raised);
}
.thread-item.active {
  background: rgba(88, 101, 242, 0.15);
  border-left: 3px solid var(--accent-blurple);
}

.thread-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.thread-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thread-info {
  flex: 1;
  min-width: 0;
}
.thread-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}
.thread-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.thread-snippet {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right: Chat Panel */
.messenger-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  position: relative;
}

.chat-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}
.chat-placeholder-icon {
  font-size: 54px;
  margin-bottom: 12px;
  opacity: 0.8;
}
.chat-placeholder h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.chat-placeholder p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 380px;
}

.chat-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-blurple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-user-info h3 {
  font-size: 0.9375rem;
  line-height: 1.2;
}
.chat-user-info span {
  font-size: 0.75rem;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 75%;
}
.chat-bubble-row.user {
  align-self: flex-start;
}
.chat-bubble-row.bot {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.4;
  word-break: break-word;
}
.chat-bubble-row.user .chat-bubble {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
}
.chat-bubble-row.bot .chat-bubble {
  background: var(--accent-blurple);
  color: #fff;
  border-bottom-right-radius: 2px;
}

.chat-bubble-time {
  font-size: 0.6875rem;
  margin-top: 4px;
  opacity: 0.7;
  text-align: right;
}

.chat-input-bar {
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  align-items: center;
}
.chat-input-bar input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
}
.chat-input-bar input:focus {
  border-color: var(--accent-blurple);
}

