:root {
  --bg-base: #090d16;
  --bg-surface: rgba(17, 24, 39, 0.78);
  --bg-card: rgba(22, 31, 50, 0.72);
  --bg-card-hover: rgba(30, 42, 68, 0.92);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(99, 102, 241, 0.55);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-secondary: #0ea5e9;
  --status-running: #10b981;
  --status-deploying: #3b82f6;
  --status-degraded: #f59e0b;
  --status-stopped: #ef4444;
  --status-unknown: #64748b;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Ambient glow background */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}
.bg-glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -180px;
  left: -120px;
}
.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  bottom: -160px;
  right: -100px;
}

.hidden {
  display: none !important;
}

.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.muted-xs {
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ─── Login View ──────────────────────────────────────────────────────── */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}

.login-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.login-brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  padding-right: 2.8rem;
}

.icon-btn-inline {
  position: absolute;
  right: 0.6rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
}

/* ─── Dashboard Layout ────────────────────────────────────────────────── */
.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.security-banner {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}
.security-banner code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* Top Header */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

.title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.title-row h1 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.domain-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.32);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.provider-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.provider-pill:hover {
  border-color: var(--border-highlight);
  color: var(--text-main);
}
.provider-pill strong {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Status Dots */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-unknown);
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.running {
  background: var(--status-running);
  box-shadow: 0 0 8px var(--status-running);
}
.status-dot.deploying {
  background: var(--status-deploying);
  box-shadow: 0 0 8px var(--status-deploying);
  animation: pulse 1.2s infinite ease-in-out;
}
.status-dot.degraded {
  background: var(--status-degraded);
  box-shadow: 0 0 8px var(--status-degraded);
}
.status-dot.stopped {
  background: var(--status-stopped);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.spinning {
  display: inline-block;
  animation: spin 0.9s linear infinite;
}

/* ─── Toolbar (Search & Filters) ──────────────────────────────────────── */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.7;
}

.search-box input {
  width: 100%;
  padding: 0.72rem 2.8rem 0.72rem 2.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 22, 0.65);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-kbd {
  position: absolute;
  right: 0.85rem;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  font-family: monospace;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}
.filter-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}
.filter-tab.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.4);
  color: #e0e7ff;
}

.tab-count {
  font-size: 0.72rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.select-control {
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  cursor: pointer;
}
.select-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.select-control.full-width {
  width: 100%;
  padding: 0.6rem 0.75rem;
}

/* ─── Onboarding Card ─────────────────────────────────────────────────── */
.onboarding-card {
  padding: 1.75rem;
  border: 1px dashed rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.06));
}
.onboarding-content h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.onboarding-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.onboarding-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ─── App Groups & Cards Grid ─────────────────────────────────────────── */
.apps-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.app-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.group-count {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1rem;
}

.app-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.app-card:hover,
.app-card.kb-focused {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.app-card.is-hidden {
  opacity: 0.58;
  border-style: dashed;
}

.app-card.no-url {
  opacity: 0.82;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-main-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}
.card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.card-info {
  min-width: 0;
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pin-indicator {
  font-size: 0.8rem;
  color: #fbbf24;
}

.card-hostname {
  font-size: 0.78rem;
  color: #818cf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Quick Controls (top-right) */
.card-controls {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  opacity: 0.65;
  transition: opacity 0.15s ease;
}
.app-card:hover .card-controls {
  opacity: 1;
}

.card-ctrl-btn {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.card-ctrl-btn:hover {
  color: var(--text-main);
  border-color: var(--border-subtle);
  background: rgba(30, 41, 59, 0.95);
}
.card-ctrl-btn.pinned {
  color: #fbbf24;
}

/* Extra URLs row if app has multiple domains */
.extra-urls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.extra-url-pill {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  text-decoration: none;
  border: 1px solid rgba(99, 102, 241, 0.25);
  transition: background 0.15s;
}
.extra-url-pill:hover {
  background: rgba(99, 102, 241, 0.25);
  color: #fff;
}

/* Card Footer: Status, Badges, Coolify Actions */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  flex-wrap: wrap;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.card-badges {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.69rem;
  font-weight: 600;
  padding: 0.12rem 0.48rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.badge-coolify {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.badge-cf {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.badge-manual {
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.badge-info {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

/* Coolify Quick Action Buttons on Card */
.coolify-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.action-chip {
  font-size: 0.7rem;
  padding: 0.16rem 0.48rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.action-chip:hover {
  color: var(--text-main);
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.2);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--text-muted);
}
.empty-state h3 {
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

/* ─── Buttons & Inputs ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
  color: var(--text-main);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--accent-primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-primary-hover);
}
.btn-secondary {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--border-subtle);
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--border-highlight);
  background: rgba(51, 65, 85, 0.85);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
.btn-ghost:hover:not(:disabled) {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}
.btn-ghost.active {
  border-color: var(--accent-primary);
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.16);
}
.btn-icon {
  padding: 0.55rem 0.7rem;
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--border-subtle);
}
.btn-icon:hover {
  border-color: var(--border-highlight);
}
.btn-block {
  width: 100%;
  padding: 0.75rem;
}
.btn-sm {
  padding: 0.38rem 0.7rem;
  font-size: 0.82rem;
}

.text-danger {
  color: #f87171 !important;
}
.text-warning {
  color: #fbbf24 !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.62rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 22, 0.8);
  color: var(--text-main);
  font-size: 0.9rem;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.form-group input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.flex-1 {
  flex: 1;
  min-width: 200px;
}
.icon-field-group {
  width: 170px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #cbd5e1;
  cursor: pointer;
}

.form-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.quick-emoji-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.emoji-pick {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.2rem 0.42rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.12s;
}
.emoji-pick:hover {
  transform: scale(1.15);
  border-color: var(--accent-primary);
}

/* ─── Modals ──────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 50;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-card.modal-lg {
  max-width: 680px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-header h3 {
  font-size: 1.08rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.settings-section h4 {
  font-size: 0.95rem;
  color: #e2e8f0;
}

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

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0.25rem 0;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  gap: 0.5rem;
}
.modal-footer-left,
.modal-footer-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert {
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ─── Footer & Toasts ─────────────────────────────────────────────────── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer kbd {
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-size: 0.72rem;
}
.dot-sep {
  margin: 0 0.4rem;
}

.toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}
.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-highlight);
  color: var(--text-main);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.toast.error {
  border-color: var(--status-stopped);
  color: #fca5a5;
}

@media (max-width: 720px) {
  .dashboard-container {
    padding: 0.9rem;
  }
  .top-header {
    padding: 1rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
