/* ============================================
   GLOBAL — iOS Style · Light Default · Dark Toggle
   ============================================ */

/* ── Light Mode (default) ── */
:root,
[data-theme="light"] {
  /* Background overlay on top of bg image */
  --bg-overlay: rgba(241, 243, 250, 0.72);
  --bg: #F1F3F9;

  /* Surfaces — fully solid in light mode, no glass */
  --surface:   #FFFFFF;
  --surface-2: #F8F9FC;
  --card:            #FFFFFF;
  --card-hover:      #F8F9FC;
  --card-elevated:   #FFFFFF;
  --card-border:     rgba(0, 0, 0, 0.08);

  /* Nav/Bars — solid white */
  --sidebar-bg:  #FFFFFF;
  --topbar-bg:   #FFFFFF;
  --mobile-nav-bg: #FFFFFF;

  /* Accent */
  --blue:        #007AFF;
  --blue-dim:    rgba(0, 122, 255, 0.10);
  --blue-glow:   0 0 24px rgba(0, 122, 255, 0.28), 0 0 48px rgba(0, 122, 255, 0.10);
  --blue-glow-sm:0 0 12px rgba(0, 122, 255, 0.18);

  --green:       #34C759;
  --green-dim:   rgba(52, 199, 89, 0.10);
  --green-glow:  0 0 16px rgba(52, 199, 89, 0.22);

  --red:         #FF3B30;
  --red-dim:     rgba(255, 59, 48, 0.10);

  --purple:      #5E5CE6;
  --purple-dim:  rgba(94, 92, 230, 0.10);
  --purple-glow: 0 0 24px rgba(94, 92, 230, 0.28);

  --yellow:      #FF9F0A;
  --orange:      #FF6B00;

  /* Text — solid, high-contrast for light mode */
  --text:   #111827;
  --text-2: #6B7280;
  --text-3: #9CA3AF;
  --text-4: #D1D5DB;

  /* Borders */
  --border:       rgba(0, 0, 0, 0.10);
  --border-focus: rgba(0, 122, 255, 0.50);

  /* Inputs — solid for light mode */
  --input-bg:       #F3F4F6;
  --input-bg-focus: rgba(0, 122, 255, 0.05);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.09);

  /* Radii */
  --radius-xs:   8px;
  --radius-sm:   12px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   30px;
  --radius-full: 999px;

  /* Transitions */
  --transition:        0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg-overlay: rgba(0, 0, 0, 0.58);
  --bg: #000000;

  --surface:   #0C0C0F;
  --surface-2: #111115;
  --card:            rgba(24, 24, 30, 0.88);
  --card-hover:      rgba(34, 34, 42, 0.93);
  --card-elevated:   rgba(30, 30, 38, 0.92);
  --card-border:     rgba(255, 255, 255, 0.08);

  --sidebar-bg:    rgba(8, 8, 12, 0.95);
  --topbar-bg:     rgba(0, 0, 0, 0.72);
  --mobile-nav-bg: rgba(12, 12, 16, 0.96);

  --blue-dim:    rgba(0, 122, 255, 0.15);
  --blue-glow:   0 0 24px rgba(0, 122, 255, 0.40), 0 0 48px rgba(0, 122, 255, 0.15);
  --blue-glow-sm:0 0 12px rgba(0, 122, 255, 0.30);

  --green-dim:   rgba(52, 199, 89, 0.14);
  --green-glow:  0 0 16px rgba(52, 199, 89, 0.35);

  --red-dim:     rgba(255, 59, 48, 0.14);
  --purple-dim:  rgba(94, 92, 230, 0.15);
  --purple-glow: 0 0 24px rgba(94, 92, 230, 0.40);

  --text:   #FFFFFF;
  --text-2: rgba(235, 235, 245, 0.65);
  --text-3: rgba(235, 235, 245, 0.35);
  --text-4: rgba(235, 235, 245, 0.18);

  --border:       rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 122, 255, 0.60);

  --input-bg:       rgba(255, 255, 255, 0.06);
  --input-bg-focus: rgba(0, 122, 255, 0.08);

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.42), 0 1px 4px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.52), 0 2px 8px rgba(0,0,0,0.30);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.62), 0 4px 16px rgba(0,0,0,0.40);
}

/* ─── Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Background */
  background-color: #F5F5F7;
  background-image: url('/background_dekstop.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Mobile background image */
@media (max-width: 768px) {
  body {
    background-image: url('/background_mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
}

/* App Body Flex Layout */
body.app-body, .app-body {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

@media (max-width: 900px) {
  body.app-body, .app-body {
    flex-direction: column;
  }
}

/* All content sits above the overlay */
body > * { position: relative; z-index: 1; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover { opacity: 0.8; }

img { display: block; max-width: 100%; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(128,128,128,0.4); }

/* ── Selection ── */
::selection { background: rgba(0, 122, 255, 0.25); }

/* ─── Card — solid light / glass dark ─── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}

/* Keep glass blur only in dark mode */
[data-theme="dark"] .card {
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--shadow-sm);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--blue-glow-sm);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: var(--blue-glow);
  transform: translateY(-1px) scale(1.01);
}
.btn-primary:active { transform: scale(0.97); filter: brightness(0.95); }

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--card-hover);
  border-color: var(--border-focus);
}

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(255, 59, 48, 0.22);
}
.btn-danger:hover { background: rgba(255, 59, 48, 0.18); }

.btn-success {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(52, 199, 89, 0.22);
}
.btn-success:hover { background: rgba(52, 199, 89, 0.18); }

.btn-warning {
  background: rgba(255, 159, 10, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(255, 159, 10, 0.25);
}
.btn-warning:hover { background: rgba(255, 159, 10, 0.22); }

.btn-purple {
  background: var(--purple-dim);
  color: var(--purple);
  border: 1px solid rgba(94, 92, 230, 0.22);
}
.btn-purple:hover { background: rgba(94, 92, 230, 0.18); }

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  gap: 5px;
}
.btn-sm svg { width: 14px; height: 14px; }

.btn-lg {
  padding: 15px 32px;
  font-size: 17px;
}

.btn-block { width: 100%; }

.btn:disabled {
  opacity: 0.40;
  pointer-events: none;
}

/* Icon-only square button */
.btn-icon {
  padding: 9px;
  border-radius: var(--radius-sm);
}
.btn-icon svg { width: 18px; height: 18px; }

/* ─── Form ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input {
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-4); }
.form-input:focus {
  border-color: var(--border-focus);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.10);
}
.form-input:hover:not(:focus) {
  border-color: rgba(0, 122, 255, 0.22);
}

textarea.form-input {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

select.form-input {
  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 24 24' fill='none' stroke='%23999' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ─── Badge / Chip ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge svg { width: 11px; height: 11px; }

.badge-connected {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(52, 199, 89, 0.22);
}
.badge-disconnected {
  background: rgba(142, 142, 147, 0.12);
  color: #8E8E93;
  border: 1px solid rgba(142, 142, 147, 0.18);
}
.badge-connecting {
  background: rgba(255, 159, 10, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(255, 159, 10, 0.22);
}
.badge-blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(0, 122, 255, 0.22);
}

/* ─── Status Dot ─── */
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-green  { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-gray   { background: #8E8E93; }
.dot-yellow { background: var(--yellow); animation: pulse-dot 1.6s infinite; }
.dot-red    { background: var(--red); box-shadow: 0 0 8px var(--red); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ─── Alert ─── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  box-shadow: var(--shadow-xs);
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; }
.alert-error {
  background: var(--red-dim);
  border: 1px solid rgba(255, 59, 48, 0.22);
  color: var(--red);
}
.alert-success {
  background: var(--green-dim);
  border: 1px solid rgba(52, 199, 89, 0.22);
  color: var(--green);
}
.alert-info {
  background: var(--blue-dim);
  border: 1px solid rgba(0, 122, 255, 0.22);
  color: var(--blue);
}
.alert-warning {
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid rgba(255, 159, 10, 0.25);
  color: var(--yellow);
}

/* ─── Toast Notification ─── */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  max-width: 380px;
  pointer-events: all;
  animation: toastIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.toast.hiding { animation: toastOut 0.22s ease both; }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-info    { border-left: 3px solid var(--blue); }
.toast-warning { border-left: 3px solid var(--yellow); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px) scale(0.94); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(24px) scale(0.93); }
}

@media (max-width: 600px) {
  #toast-container { top: auto; bottom: 90px; right: 12px; left: 12px; }
  .toast { min-width: unset; width: 100%; }
}

/* ─── Modal / Dialog ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.18s ease both;
}

.modal {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 420px;
  animation: modalIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  overflow: hidden;
}

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

.modal-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-body { padding: 20px 24px; }
.modal-footer {
  padding: 0 24px 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.90) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: var(--border);
}

/* ─── Avatar ─── */
.avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 122, 255, 0.22);
}

.avatar-sm { width: 32px; height: 32px; font-size: 13px; }
.avatar-lg { width: 72px; height: 72px; font-size: 26px; box-shadow: 0 0 32px rgba(0,122,255,0.28); }
.avatar-xl { width: 96px; height: 96px; font-size: 36px; box-shadow: 0 0 40px rgba(0,122,255,0.32); }

/* ─── Animations ─── */
.fade-in    { animation: fadeIn 0.4s ease both; }
.fade-in-up { animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.scale-in   { animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@keyframes fadeIn   { from { opacity: 0; }              to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn  { from { opacity: 0; transform: scale(0.90); } to { opacity: 1; transform: scale(1); } }

/* ─── Spinner ─── */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(128,128,128,0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}
.spinner-sm { width: 14px; height: 14px; border-width: 2px; }
.spinner-lg { width: 28px; height: 28px; border-width: 3px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Progress ─── */
.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 100px;
  transition: width 0.4s ease;
}
.progress-fill.active, .progress-fill.running {
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--blue));
  background-size: 200% 100%;
  animation: progressFillShimmer 1.8s infinite linear;
}
@keyframes progressFillShimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ─── Theme Toggle Switch ─── */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-track {
  width: 51px; height: 31px;
  background: rgba(120, 120, 128, 0.2);
  border-radius: 100px;
  position: relative;
  transition: background 0.25s ease;
  border: 1.5px solid var(--border);
}

[data-theme="dark"] .theme-toggle-track { background: var(--blue); border-color: var(--blue); }

.theme-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 21px; height: 21px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .theme-toggle-thumb { transform: translateX(20px); }

.theme-toggle-thumb svg { width: 12px; height: 12px; color: #FF9F0A; }
[data-theme="dark"] .theme-toggle-thumb svg { color: #5E5CE6; }

/* ─── Utility Classes ─── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-2); }
.text-xs  { font-size: 12px; }
.text-sm  { font-size: 14px; }
.text-lg  { font-size: 18px; }
.fw-500   { font-weight: 500; }
.fw-600   { font-weight: 600; }
.fw-700   { font-weight: 700; }
.fw-800   { font-weight: 800; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.gap-4  { gap: 4px; }
.gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.w-full  { width: 100%; }
.flex-1  { flex: 1; }
.hidden  { display: none !important; }
.mono    { font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── Custom Dialog (replaces native browser alert/confirm/prompt) ─── */
.dq-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease both;
}
.dq-dialog {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.10);
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  animation: modalIn 0.26s cubic-bezier(0.34,1.56,0.64,1) both;
}
.dq-dialog-body {
  padding: 24px 24px 4px;
}
.dq-dialog-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.dq-dialog-icon svg { width: 22px; height: 22px; }
.dq-dialog-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 7px;
}
.dq-dialog-msg {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  white-space: pre-line;
}
.dq-dialog-actions {
  display: flex;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.dq-dialog-actions button {
  flex: 1;
  padding: 14px 10px;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.14s;
  border-radius: 0;
}
.dq-dialog-actions button:not(:last-child) {
  border-right: 1px solid var(--border);
}
.dq-dialog-btn-cancel { color: var(--text-2); }
.dq-dialog-btn-cancel:hover { background: var(--card-hover); }
.dq-dialog-btn-ok { color: var(--blue); }
.dq-dialog-btn-ok:hover { background: var(--blue-dim); }
.dq-dialog-btn-danger { color: var(--red); }
.dq-dialog-btn-danger:hover { background: var(--red-dim); }
