/* ═══════════════════════════════════════════════════════
   OneBank — Dark Fintech Dashboard Theme
   NiCE Demo Builder × Deloitte Connect Sydney
   ═══════════════════════════════════════════════════════ */

:root {
  /* ── Brand (green theme matching reference) ── */
  --ob-primary: #00e2a0;
  --ob-primary-light: #33eab6;
  --ob-primary-dark: #00c78a;
  --ob-accent: #00e2a0;

  /* ── Status ── */
  --ob-success: #00e2a0;
  --ob-success-light: rgba(0, 226, 160, 0.12);
  --ob-danger: #ff5b8a;
  --ob-danger-light: rgba(255, 91, 138, 0.12);
  --ob-warning: #FF991F;
  --ob-warning-light: rgba(255, 153, 31, 0.12);
  --ob-info-light: rgba(0, 226, 160, 0.12);

  /* ── Dark Theme Surfaces ── */
  --ob-bg: #0a0e14;
  --ob-bg-secondary: #10151d;
  --ob-surface: rgba(255, 255, 255, 0.04);
  --ob-surface-hover: rgba(255, 255, 255, 0.07);
  --ob-surface-border: rgba(255, 255, 255, 0.08);
  --ob-glass-blur: blur(20px);

  /* ── Text ── */
  --ob-text: #E8E8ED;
  --ob-text-secondary: #7B7D8E;
  --ob-text-muted: #4E5060;

  /* ── Borders & Shadows ── */
  --ob-border: rgba(255, 255, 255, 0.06);
  --ob-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --ob-card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.4);

  /* ── Typography ── */
  --ob-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Layout ── */
  --ob-sidebar-width: 72px;
  --ob-radius: 16px;
  --ob-radius-sm: 10px;
  --ob-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  height: -webkit-fill-available;
}

body {
  font-family: var(--ob-font);
  background: var(--ob-bg);
  color: var(--ob-text);
  display: flex;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Green ambient glow matching reference */
  background-image:
    radial-gradient(ellipse at 15% 50%, rgba(0, 226, 160, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(0, 226, 160, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(0, 226, 160, 0.03) 0%, transparent 40%);
}

a { color: var(--ob-accent); text-decoration: none; }
a:hover { color: var(--ob-primary-light); }

/* ═══════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════ */

.ob-sidebar {
  width: var(--ob-sidebar-width);
  height: 100vh;
  background: var(--ob-bg-secondary);
  border-right: 1px solid var(--ob-surface-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
}

.ob-sidebar.hidden { display: none; }

.ob-sidebar-logo {
  margin-bottom: 36px;
}

.ob-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ob-sidebar-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-text-secondary);
  transition: var(--ob-transition);
  cursor: pointer;
  text-decoration: none;
}

.ob-sidebar-link:hover {
  background: var(--ob-surface-hover);
  color: var(--ob-text);
}

.ob-sidebar-link.active {
  background: rgba(0, 226, 160, 0.15);
  color: var(--ob-accent);
}

.ob-sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════ */

.ob-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--ob-border);
  flex-shrink: 0;
}

.ob-topbar-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ob-text);
}

.ob-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ob-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ob-surface);
  border: 1px solid var(--ob-surface-border);
  border-radius: 10px;
  color: var(--ob-text-secondary);
  font-size: 13px;
  min-width: 180px;
}

.ob-topbar-icons {
  display: flex;
  gap: 4px;
}

.ob-topbar-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-text-secondary);
  background: var(--ob-surface);
  border: 1px solid var(--ob-surface-border);
  cursor: pointer;
  transition: var(--ob-transition);
}

.ob-topbar-icon-btn:hover {
  background: var(--ob-surface-hover);
  color: var(--ob-text);
}

.ob-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.ob-user-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-text);
}

.ob-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 226, 160, 0.15);
  color: var(--ob-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: background var(--ob-transition);
}

.ob-avatar:hover,
.ob-avatar:focus-visible {
  background: rgba(0, 226, 160, 0.25);
  outline: none;
}

.ob-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--ob-bg-secondary);
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  box-shadow: var(--ob-card-shadow);
  padding: 14px;
  z-index: 50;
}

.ob-user-menu.hidden { display: none; }

.ob-user-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: var(--ob-bg-secondary);
  border-top: 1px solid var(--ob-border);
  border-left: 1px solid var(--ob-border);
  transform: rotate(45deg);
}

.ob-user-menu-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ob-text-muted);
  margin-bottom: 4px;
}

.ob-user-menu-username {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-text);
  margin-bottom: 12px;
  word-break: break-word;
}

.ob-user-menu-logout {
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  color: var(--ob-danger);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--ob-transition), border-color var(--ob-transition);
}

.ob-user-menu-logout:hover:not(:disabled) {
  background: var(--ob-danger-light);
  border-color: rgba(255, 91, 138, 0.4);
}

.ob-user-menu-logout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ob-user-menu-divider {
  height: 1px;
  background: var(--ob-border);
  margin: 4px 0 12px;
}

.ob-user-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ob-user-menu-row-label {
  font-size: 12px;
  color: var(--ob-text-secondary);
}

.ob-user-menu-select,
.ob-settings-select {
  background: var(--ob-surface);
  border: 1px solid var(--ob-surface-border);
  border-radius: 8px;
  color: var(--ob-text);
  font-family: inherit;
  font-size: 13px;
  padding: 6px 10px;
  cursor: pointer;
}

.ob-user-menu-select:focus,
.ob-settings-select:focus {
  outline: none;
  border-color: var(--ob-primary);
}

/* ═══════════════════════════════════════════════════════
   SETTINGS SCREEN
   ═══════════════════════════════════════════════════════ */

.ob-settings {
  max-width: 560px;
  margin-top: 12px;
  background: var(--ob-surface);
  border: 1px solid var(--ob-surface-border);
  border-radius: var(--ob-radius);
  padding: 28px 28px 24px;
}

.ob-settings-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ob-text);
}

.ob-settings-sub {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--ob-text-secondary);
}

.ob-settings-section {
  margin-bottom: 24px;
}

.ob-settings-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ob-text-muted);
  margin-bottom: 8px;
}

.ob-settings-select {
  width: 100%;
  font-size: 14px;
  padding: 10px 12px;
}

.ob-settings-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ob-text-muted);
}

.ob-settings-destination {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: var(--ob-bg-soft, #f4f6f8);
  border: 1px solid var(--ob-border, #d8dee4);
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.ob-settings-destination span {
  color: var(--ob-text-muted);
}
.ob-settings-destination strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  color: var(--ob-text);
}

.ob-settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════ */

.ob-main {
  flex: 1;
  margin-left: var(--ob-sidebar-width);
  height: 100vh;
  height: -webkit-fill-available;
  overflow-y: auto;
  background: transparent;
  transition: margin-left var(--ob-transition);
}

/* When sidebar is hidden (login), main takes full width */
.ob-sidebar.hidden ~ .ob-main {
  margin-left: 0;
}

.ob-screen { display: none; }
.ob-screen.active { display: block; }

.ob-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 48px;
}

/* ═══════════════════════════════════════════════════════
   LOGIN SCREEN
   ═══════════════════════════════════════════════════════ */

.ob-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 226, 160, 0.08), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0, 226, 160, 0.05), transparent 50%),
              var(--ob-bg);
  width: 100%;
}

.ob-login-card {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
}

.ob-login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.ob-login-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 8px;
}

.ob-login-subtitle {
  font-size: 14px;
  color: var(--ob-text-secondary);
  margin-bottom: 32px;
}

.ob-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ob-input-group {
  text-align: left;
}

.ob-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ob-text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ob-input-group input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ob-radius-sm);
  font-size: 14px;
  font-family: var(--ob-font);
  color: var(--ob-text);
  outline: none;
  transition: var(--ob-transition);
}

.ob-input-group input::placeholder {
  color: var(--ob-text-muted);
}

.ob-input-group input:focus {
  border-color: var(--ob-accent);
  box-shadow: 0 0 0 3px rgba(0, 226, 160, 0.15);
}

.ob-btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--ob-accent);
  color: #0d0d12;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--ob-font);
  border: none;
  border-radius: var(--ob-radius-sm);
  cursor: pointer;
  transition: var(--ob-transition);
  margin-top: 8px;
}

.ob-btn-primary:hover {
  background: var(--ob-primary-dark);
  box-shadow: 0 4px 16px rgba(0, 226, 160, 0.3);
}

.ob-forgot-link {
  font-size: 13px;
  color: var(--ob-text-secondary);
}

.ob-forgot-link:hover {
  color: var(--ob-primary);
}

/* ═══════════════════════════════════════════════════════
   DASHBOARD — Multi-Panel Grid (Dribbble Reference)
   ═══════════════════════════════════════════════════════ */

/* 3-column flex layout */
.db-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;     /* don't stretch wrapped rows to fill min-height */
  gap: 20px;
  padding: 20px 24px 24px;
  min-height: calc(100vh - 65px);
  min-height: calc(-webkit-fill-available - 65px);
  overflow-y: auto;
}

/* ── Mortgage Pre-Qualification Card ─────────────────────────────────
   Full-width parent card that slides in at the top of the dashboard
   the moment the AI Agent fires the handover (step: "summary"). Shows
   the six fields collected during the wizard as a grid of mini-tiles,
   so the data the customer just answered persists visually as part of
   their account view — not just a transient modal. */
.db-mortgage-card {
  flex: 0 0 100%;
  background: linear-gradient(135deg,
              rgba(0, 226, 160, 0.10) 0%,
              rgba(54, 148, 252, 0.08) 60%,
              rgba(97, 0, 255, 0.06) 100%);
  border: 1px solid rgba(0, 226, 160, 0.25);
  border-radius: 18px;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: mortgageCardSlideIn 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}
.db-mortgage-card::before {
  /* Decorative accent line on the left edge */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #00e2a0 0%, #3694fc 100%);
}
@keyframes mortgageCardSlideIn {
  0%   { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.db-mortgage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.db-mortgage-head-text { flex: 1; min-width: 0; }
.db-mortgage-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00e2a0;
  margin-bottom: 6px;
}
.db-mortgage-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.db-mortgage-sub {
  font-size: 13px;
  color: var(--ob-text-secondary);
  margin-top: 4px;
}

.db-mortgage-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0, 226, 160, 0.15);
  border: 1px solid rgba(0, 226, 160, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #00e2a0;
  white-space: nowrap;
}
.db-mortgage-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e2a0;
  box-shadow: 0 0 0 0 rgba(0, 226, 160, 0.6);
  animation: mortgageStatusPulse 2s infinite;
}
@keyframes mortgageStatusPulse {
  0%   { box-shadow: 0 0 0 0   rgba(0, 226, 160, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 226, 160, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(0, 226, 160, 0);   }
}

/* Tile grid — fluid auto-fit so it adapts to dashboard width without media queries. */
.db-mortgage-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.db-mortgage-tile {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.db-mortgage-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 226, 160, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.db-mortgage-tile-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ob-text-muted);
}
.db-mortgage-tile-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--ob-text);
  letter-spacing: -0.01em;
  word-break: break-word;
}
.db-mortgage-tile-value.is-pending {
  color: var(--ob-text-muted);
  font-weight: 400;
  font-style: italic;
}

/* ── Mortgage Decision Card ────────────────────────────────────────
   The "you've been pre-qualified / requires review / not approved"
   card the Cognigy Task Assist flow renders after the home-loan
   specialist submits the borrowing-capacity assessment form. Same
   full-width slot as the in-progress card; replaces it. Different
   visual treatment so the audience can see the "before/after" of
   the agent's review at a glance. */
.db-mortgage-decision-card {
  flex: 0 0 100%;
  background: linear-gradient(135deg,
              rgba(54, 148, 252, 0.10) 0%,
              rgba(0, 226, 160, 0.08) 60%,
              rgba(54, 148, 252, 0.06) 100%);
  border: 1px solid rgba(54, 148, 252, 0.28);
  border-radius: 18px;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: mortgageCardSlideIn 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.db-mortgage-decision-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #3694fc 0%, #00e2a0 100%);
}

.db-decision-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.db-decision-head-text { flex: 1; min-width: 0; }
.db-decision-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3694fc;
  margin-bottom: 6px;
}
.db-decision-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.db-decision-sub {
  font-size: 13px;
  color: var(--ob-text-secondary);
  margin-top: 4px;
}

.db-decision-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.db-decision-status-pill.decision-status-approved {
  background: rgba(0, 226, 160, 0.15);
  border-color: rgba(0, 226, 160, 0.4);
  color: #00e2a0;
}
.db-decision-status-pill.decision-status-review {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.4);
  color: #ffb800;
}
/* "Pre-approved subject to final review" — the over-stretched case. Wording
   is positive-leaning so the pill colour is amber, not coral. */
.db-decision-status-pill.decision-status-declined {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.4);
  color: #ffb800;
}
.db-decision-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.db-decision-headline {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(54, 148, 252, 0.2);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-decision-headline-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ob-text-muted);
}
.db-decision-headline-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--ob-text);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.db-decision-headline-foot {
  font-size: 13px;
  color: var(--ob-text-secondary);
}
.db-decision-headline-foot strong {
  color: var(--ob-text);
  font-weight: 600;
}

.db-decision-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.db-decision-tile {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.db-decision-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(54, 148, 252, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.db-decision-tile-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ob-text-muted);
}
.db-decision-tile-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--ob-text);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
}

.db-decision-footnote {
  font-size: 11.5px;
  color: var(--ob-text-muted);
  font-style: italic;
}

/* ── Appointment Confirmation Banner ── */
.db-appointment-banner {
  flex: 0 0 100%;
  background: linear-gradient(135deg, rgba(0,226,160,0.12) 0%, rgba(0,160,226,0.10) 100%);
  border: 1px solid rgba(0,226,160,0.3);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bannerSlideIn 0.5s ease-out;
  backdrop-filter: blur(12px);
}
.db-appointment-banner .banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(0,226,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00e2a0;
}
.db-appointment-banner .banner-content {
  flex: 1;
}
.db-appointment-banner .banner-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ob-text-primary);
  margin-bottom: 2px;
}
.db-appointment-banner .banner-detail {
  font-size: 13px;
  color: var(--ob-text-secondary);
}
.db-appointment-banner .banner-detail span {
  color: #00e2a0;
  font-weight: 500;
}
.db-appointment-banner .banner-badge {
  padding: 6px 14px;
  background: rgba(0,226,160,0.15);
  border: 1px solid rgba(0,226,160,0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #00e2a0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.db-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.db-col-left  { flex: 0.85; min-width: 0; }
.db-col-center { flex: 1; min-width: 0; }
.db-col-right  { flex: 0.9; min-width: 0; }

/* Shared panel/card base */
.db-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.db-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 20px;
}

/* ═══ LEFT COLUMN ═══ */

/* Card panel header with arrows */
.db-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.db-card-header-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
}

.db-card-arrows {
  display: flex;
  gap: 6px;
}

.db-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ob-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: var(--ob-transition);
}

.db-card-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ob-text);
}

/* Credit Card — Hosted image */
.db-credit-card-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}


/* ── Card Info Panel (separate panel below card) ── */
.db-card-info-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.db-card-info-title span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
}

.db-card-info-edit {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--ob-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.db-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.db-info-row:last-child { border-bottom: none; }

.db-info-label {
  font-size: 13px;
  color: var(--ob-text-secondary);
}

.db-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ob-text);
}

.db-details-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 32px;
  border: 1.5px solid var(--ob-accent);
  border-radius: 20px;
  background: transparent;
  color: var(--ob-accent);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ob-font);
  cursor: pointer;
  transition: var(--ob-transition);
}

.db-details-btn:hover {
  background: rgba(0, 226, 160, 0.1);
}

/* ── Upcoming Payments (no panel wrapper) ── */
.db-upcoming-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 16px;
}

.db-payment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.db-payment-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--ob-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}

.db-payment-info { flex: 1; }

.db-payment-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-text);
}

.db-payment-date {
  font-size: 11px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

.db-payment-amount {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-text);
  font-variant-numeric: tabular-nums;
}

/* ═══ CENTER COLUMN ═══ */

/* Balance Panel */
.db-balance-total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 8px;
}

.db-balance-total {
  font-size: 36px;
  font-weight: 700;
  color: var(--ob-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 4px;
}

.db-balance-subtitle {
  font-size: 13px;
  color: var(--ob-text-secondary);
  margin-bottom: 20px;
}

/* Income / Outcome sub-cards (stacked rows) */
.db-io-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-bottom: 12px;
}

.db-io-row:last-child { margin-bottom: 0; }

.db-io-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.db-io-text { flex: 1; }

.db-io-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
  font-variant-numeric: tabular-nums;
}

.db-io-label {
  font-size: 12px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

/* Small donut on right of each I/O row */
.db-io-donut {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.db-io-donut svg {
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
}

.db-io-donut-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 5;
}

.db-io-donut-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.db-io-donut-fill.income { stroke: var(--ob-accent); }
.db-io-donut-fill.outcome { stroke: var(--ob-accent); }

/* ── Transactions Panel ── */
.db-txn-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.db-txn-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-text);
}

.db-txn-viewall {
  font-size: 12px;
  font-weight: 500;
  color: var(--ob-primary);
  text-decoration: none;
  cursor: pointer;
}

.db-txn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.db-txn-item:last-child { border-bottom: none; }

.db-txn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.db-txn-icon.income { background: rgba(0, 226, 160, 0.15); color: var(--ob-accent); }
.db-txn-icon.groceries { background: rgba(255, 91, 138, 0.15); color: var(--ob-danger); }
.db-txn-icon.entertainment { background: rgba(138, 128, 255, 0.15); color: #8a80ff; }
.db-txn-icon.transport { background: rgba(255, 153, 31, 0.15); color: var(--ob-warning); }
.db-txn-icon.transfer { background: rgba(0, 226, 160, 0.15); color: var(--ob-accent); }
.db-txn-icon.bills { background: rgba(255, 153, 31, 0.15); color: var(--ob-warning); }
.db-txn-icon.shopping { background: rgba(255, 153, 31, 0.15); color: #f59e0b; }
.db-txn-icon.home { background: rgba(0, 226, 160, 0.15); color: var(--ob-accent); }
.db-txn-icon.food { background: rgba(255, 91, 138, 0.15); color: var(--ob-danger); }
.db-txn-icon.dining { background: rgba(255, 153, 31, 0.15); color: var(--ob-warning); }
.db-txn-icon.office { background: rgba(138, 128, 255, 0.15); color: #8a80ff; }

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

.db-txn-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-text);
}

.db-txn-cat {
  font-size: 11px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

.db-txn-right { text-align: right; }

.db-txn-amount {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-text);
  font-variant-numeric: tabular-nums;
}

.db-txn-amount.positive { color: var(--ob-accent); }

.db-txn-date {
  font-size: 11px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

/* ═══ RIGHT COLUMN ═══ */

/* Balance History — bar chart with line overlay */
/* Balance History panel — dark green gradient background */
.db-col-right > .db-panel:first-child {
  background:
    radial-gradient(ellipse at 10% 90%, rgba(0, 226, 160, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 226, 160, 0.05) 0%, transparent 40%),
    linear-gradient(160deg, rgba(8, 116, 56, 0.15) 0%, rgba(3, 60, 30, 0.25) 40%, rgba(10, 14, 20, 0.95) 100%);
  border: 1px solid rgba(0, 226, 160, 0.1);
}

.db-chart-area {
  position: relative;
  display: flex;
  height: 240px;
}

/* Y-axis labels */
.db-chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 28px;
  margin-right: 8px;
}

.db-chart-yaxis span {
  font-size: 10px;
  color: var(--ob-text-muted);
  text-align: right;
  min-width: 32px;
}

/* Bar chart container */
.db-bar-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 28px;
  position: relative;
}

/* Horizontal grid lines */
.db-chart-gridlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.db-chart-gridlines span {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.db-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.db-bar {
  width: 70%;
  max-width: 28px;
  border-radius: 6px 6px 3px 3px;
  transition: height 0.6s ease;
  background: linear-gradient(180deg, var(--ob-accent), rgba(0, 226, 160, 0.3));
}

.db-bar.light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.db-bar-label {
  font-size: 10px;
  color: var(--ob-text-muted);
  text-align: center;
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* Line chart overlay (SVG) */
.db-line-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 28px;
  pointer-events: none;
}

.db-line-overlay svg {
  width: 100%;
  height: 100%;
}

.db-line-path {
  fill: none;
  stroke: var(--ob-accent);
  stroke-width: 2;
}

.db-line-dot {
  fill: var(--ob-accent);
  stroke: var(--ob-bg);
  stroke-width: 2;
}

/* Calendar icon button */
.db-cal-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--ob-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ── Conversion Panel — bright green gradient ── */
.db-convert-panel {
  background: linear-gradient(160deg, #7DAA8D 0%, #087438 35%, #13AA52 65%, #033C1E 100%);
  border: none;
  border-radius: 20px;
  padding: 24px;
  color: #e0f0e8;
}

.db-convert-title {
  font-size: 18px;
  font-weight: 700;
  color: #e0f0e8;
  margin-bottom: 16px;
}

.db-convert-field-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(224, 240, 232, 0.6);
  margin-bottom: 6px;
}

.db-convert-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.db-convert-input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--ob-font);
  color: #e0f0e8;
  outline: none;
}

.db-convert-input::placeholder {
  color: rgba(224, 240, 232, 0.4);
}

.db-convert-currency-select {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ob-font);
  color: #e0f0e8;
  outline: none;
  cursor: pointer;
  min-width: 80px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23e0f0e8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

.db-convert-visa {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: #a0c4ff;
  flex-shrink: 0;
}

.db-convert-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.db-convert-rate-amount {
  font-size: 22px;
  font-weight: 700;
  color: #e0f0e8;
}

.db-convert-rate-label {
  font-size: 11px;
  color: rgba(224, 240, 232, 0.5);
  margin-top: 2px;
}

.db-convert-btn {
  padding: 12px 32px;
  background: rgba(0, 0, 0, 0.3);
  color: #e0f0e8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ob-font);
  cursor: pointer;
  transition: var(--ob-transition);
}

.db-convert-btn:hover {
  background: #152820;
}

/* ── Sections (used in detail screens) ── */
.ob-section {
  margin-bottom: 28px;
}

.ob-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ob-section-header h2,
.ob-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ob-text);
}

.ob-view-all {
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-primary);
}

/* ── Transactions (detail screens) ── */
.ob-transactions-list {
  background: var(--ob-surface);
  backdrop-filter: var(--ob-glass-blur);
  -webkit-backdrop-filter: var(--ob-glass-blur);
  border: 1px solid var(--ob-surface-border);
  border-radius: var(--ob-radius);
  overflow: hidden;
}

.ob-transaction {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ob-border);
  transition: var(--ob-transition);
}

.ob-transaction:last-child { border-bottom: none; }

.ob-transaction:hover {
  background: var(--ob-surface-hover);
}

.ob-txn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ob-text-secondary);
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.ob-txn-info { flex: 1; }

.ob-txn-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-text);
}

.ob-txn-category {
  font-size: 12px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

.ob-txn-right {
  text-align: right;
}

.ob-txn-amount {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-text);
  font-variant-numeric: tabular-nums;
}

.ob-txn-amount.positive { color: var(--ob-success); }
.ob-txn-amount.negative { color: var(--ob-text); }

.ob-txn-date {
  font-size: 12px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   DETAIL SCREENS
   ═══════════════════════════════════════════════════════ */

.ob-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  background: none;
  border: none;
  color: var(--ob-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--ob-font);
  cursor: pointer;
  transition: var(--ob-transition);
  margin-bottom: 20px;
}

.ob-back-btn:hover {
  color: var(--ob-primary-light);
}

.ob-detail-header {
  margin-bottom: 24px;
}

.ob-detail-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 4px;
}

.ob-detail-header p {
  font-size: 14px;
  color: var(--ob-text-secondary);
}

.ob-detail-card {
  background: var(--ob-surface);
  backdrop-filter: var(--ob-glass-blur);
  -webkit-backdrop-filter: var(--ob-glass-blur);
  border: 1px solid var(--ob-surface-border);
  border-radius: var(--ob-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.ob-detail-card h3 {
  color: var(--ob-text);
}

.ob-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--ob-border);
  font-size: 14px;
}

.ob-detail-row:last-child { border-bottom: none; }

.ob-detail-label {
  color: var(--ob-text-secondary);
  font-weight: 400;
}

.ob-detail-value {
  color: var(--ob-text);
  font-weight: 600;
  text-align: right;
}

/* ── Alert Banners ── */
.ob-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--ob-radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid;
}

.ob-alert-banner.danger {
  background: rgba(255, 91, 138, 0.06);
  color: var(--ob-danger);
  border-color: rgba(255, 91, 138, 0.15);
}

.ob-alert-banner.success {
  background: rgba(0, 226, 160, 0.06);
  color: var(--ob-success);
  border-color: rgba(0, 226, 160, 0.15);
}

.ob-alert-banner.info {
  background: rgba(54, 148, 252, 0.06);
  color: var(--ob-primary-light);
  border-color: rgba(54, 148, 252, 0.12);
}

.ob-alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.ob-alert-banner.danger .ob-alert-icon { background: rgba(255, 91, 138, 0.15); }
.ob-alert-banner.success .ob-alert-icon { background: rgba(0, 226, 160, 0.15); }
.ob-alert-banner.info .ob-alert-icon { background: rgba(54, 148, 252, 0.15); }

/* ── Badges ── */
.ob-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.ob-badge.success { background: rgba(0, 226, 160, 0.12); color: var(--ob-success); }
.ob-badge.danger { background: rgba(255, 91, 138, 0.12); color: var(--ob-danger); }
.ob-badge.warning { background: rgba(255, 153, 31, 0.12); color: var(--ob-warning); }
.ob-badge.info { background: rgba(54, 148, 252, 0.12); color: var(--ob-primary); }

/* ── Timeline ── */
.ob-timeline {
  position: relative;
  padding-left: 28px;
}

.ob-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
}

.ob-timeline-item {
  position: relative;
  padding: 12px 0;
}

.ob-timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ob-bg);
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.ob-timeline-item.done::before {
  background: var(--ob-success);
  border-color: var(--ob-bg);
}

.ob-timeline-item.active::before {
  background: var(--ob-primary);
  border-color: var(--ob-bg);
  box-shadow: 0 0 0 4px rgba(54, 148, 252, 0.2);
}

.ob-timeline-step {
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-text);
}

.ob-timeline-item:not(.done) .ob-timeline-step {
  color: var(--ob-text-secondary);
}

.ob-timeline-date {
  font-size: 12px;
  color: var(--ob-text-secondary);
  margin-top: 2px;
}

/* ── Confirmation Card ── */
.ob-confirm-card {
  background: rgba(0, 226, 160, 0.04);
  border: 1px solid rgba(0, 226, 160, 0.12);
  border-radius: var(--ob-radius);
  padding: 28px;
  text-align: center;
  margin-bottom: 16px;
}

.ob-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 226, 160, 0.12);
  color: var(--ob-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.ob-confirm-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ob-success);
  margin-bottom: 6px;
}

.ob-confirm-ref {
  font-size: 14px;
  color: var(--ob-text-secondary);
}

/* ── Gauge / Progress ── */
.ob-gauge {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ob-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ob-primary), var(--ob-accent));
  border-radius: 5px;
  transition: width 0.8s ease;
}

.ob-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ob-text-secondary);
}

/* ── Credit Card Visual ── */
.ob-card-visual {
  background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ob-radius);
  padding: 24px;
  margin-top: 16px;
  color: white;
}

.ob-card-visual-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.ob-card-visual-number {
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 400;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.ob-card-visual-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════ */

.ob-toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ob-bg-secondary);
  color: var(--ob-text);
  padding: 12px 28px;
  border-radius: var(--ob-radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--ob-surface-border);
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 600;
  white-space: nowrap;
}

.ob-toast.show {
  bottom: 28px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — iPad Landscape (~1366px with sidebar)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1360px) {
  .db-grid { gap: 16px; padding: 20px 20px 40px; }
  .db-balance-total { font-size: 30px; }
}

@media (max-width: 1024px) {
  .ob-content { padding: 20px 24px 40px; }
  .db-grid { flex-wrap: wrap; }
  .db-col-left  { flex: 0 0 48%; }
  .db-col-center { flex: 0 0 48%; }
  .db-col-right { flex: 0 0 100%; flex-direction: row; }
}

/* ═══════════════════════════════════════════════════════
   FACE ID BIOMETRIC OVERLAY
   ═══════════════════════════════════════════════════════ */

.faceid-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.faceid-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.faceid-content {
  text-align: center;
}

/* ── Scanning Phase ── */
.faceid-scanning {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faceid-scanning.hidden { display: none; }

.faceid-frame {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

/* Corner brackets */
.faceid-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--ob-accent);
  border-style: solid;
  border-width: 0;
}

.faceid-corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-radius: 12px 0 0 0; }
.faceid-corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-radius: 0 12px 0 0; }
.faceid-corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 12px; }
.faceid-corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 12px 0; }

/* Scanning line animation */
.faceid-scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ob-accent), transparent);
  box-shadow: 0 0 12px rgba(0, 226, 160, 0.6), 0 0 24px rgba(0, 226, 160, 0.3);
  animation: faceidScan 3s ease-in-out infinite;
  border-radius: 1px;
}

@keyframes faceidScan {
  0%   { top: 10%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 85%; opacity: 0; }
}

/* Face icon */
.faceid-icon {
  width: 96px;
  height: 96px;
  color: var(--ob-accent);
  animation: faceidPulse 2s ease-in-out infinite;
}

@keyframes faceidPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Labels */
.faceid-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 8px;
  font-family: var(--ob-font);
}

.faceid-sublabel {
  font-size: 14px;
  color: var(--ob-text-secondary);
  margin-bottom: 28px;
  font-family: var(--ob-font);
}

/* Progress bar */
.faceid-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.faceid-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--ob-accent), var(--ob-primary-light));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ── Success Phase ── */
.faceid-success {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: faceidFadeIn 0.4s ease;
}

.faceid-success.visible {
  display: flex;
}

@keyframes faceidFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.faceid-check-circle {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  color: var(--ob-accent);
}

.faceid-check-circle svg {
  width: 80px;
  height: 80px;
}

.faceid-check-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: faceidCheckDraw 0.5s ease forwards 0.2s;
}

@keyframes faceidCheckDraw {
  to { stroke-dashoffset: 0; }
}

/* ═══ Transaction Detail Modal ═══ */
.txn-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.txn-detail-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.txn-detail-modal {
  width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ob-bg-secondary);
  border: 1px solid var(--ob-surface-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.txn-detail-overlay.active .txn-detail-modal {
  transform: translateY(0);
}

.txn-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--ob-text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}
.txn-detail-close:hover {
  background: var(--ob-surface-hover, rgba(255,255,255,0.08));
  color: var(--ob-text);
}

/* Merchant header */
.txn-merchant-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ob-surface-border);
  border-radius: 12px;
}
.txn-merchant-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ob-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.txn-merchant-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.txn-merchant-info { flex: 1; }
.txn-merchant-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ob-text);
  margin-bottom: 6px;
}
.txn-merchant-amount {
  font-size: 14px;
  color: var(--ob-text-secondary);
  margin-bottom: 8px;
}

/* PayPal badge */
.txn-paypal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 112, 186, 0.15);
  color: #4da6e0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* Detail sections */
.txn-detail-section {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 12px;
}
.txn-detail-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ob-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.txn-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ob-surface-border);
  font-size: 14px;
}
.txn-detail-row:last-child { border-bottom: none; }
.txn-detail-label { color: var(--ob-text-secondary); }
.txn-detail-value { color: var(--ob-text); font-weight: 500; }

/* Instalment schedule */
.txn-instalment-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ob-surface-border);
  font-size: 14px;
}
.txn-instalment-row:last-child { border-bottom: none; }
.txn-instalment-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.txn-instalment-num.paid {
  background: rgba(0, 226, 160, 0.12);
  color: var(--ob-accent);
}
.txn-instalment-num.upcoming {
  background: var(--ob-surface);
  color: var(--ob-text-secondary);
}
.txn-instalment-info { flex: 1; }
.txn-instalment-date {
  font-size: 12px;
  color: var(--ob-text-secondary);
}
.txn-instalment-amount {
  font-weight: 500;
  color: var(--ob-text);
}
.txn-instalment-status {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.txn-instalment-status.paid {
  background: rgba(0, 226, 160, 0.12);
  color: var(--ob-accent);
}
.txn-instalment-status.upcoming {
  background: var(--ob-surface);
  color: var(--ob-text-secondary);
}

/* ═══ Element Highlight Glow ═══ */
.txn-highlight {
  position: relative;
  transition: all 0.4s ease;
}
.txn-highlight::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid var(--ob-accent);
  box-shadow: 0 0 16px rgba(0, 226, 160, 0.3), inset 0 0 16px rgba(0, 226, 160, 0.05);
  animation: txnHighlightPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes txnHighlightPulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 12px rgba(0, 226, 160, 0.2); }
  50%      { opacity: 1;   box-shadow: 0 0 24px rgba(0, 226, 160, 0.4), inset 0 0 16px rgba(0, 226, 160, 0.08); }
}

/* Highlighted transaction row in dashboard list */
.db-txn-item.txn-highlight {
  background: rgba(0, 226, 160, 0.06);
  border-radius: 10px;
  padding: 12px 8px;
}

/* ═══ Appointment Wizard Modal ═══ */
.wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.wizard-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.wizard-modal {
  width: 580px;
  max-height: 88vh;
  background: var(--ob-bg-secondary);
  border: 1px solid var(--ob-surface-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.wizard-overlay.active .wizard-modal {
  transform: translateY(0);
}

/* Wizard Header & Progress */
.wizard-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--ob-surface-border);
}
.wizard-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ob-text);
  margin-bottom: 16px;
}
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0;
}
.wizard-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--ob-surface);
  color: var(--ob-text-secondary);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.wizard-step-dot.active {
  background: var(--ob-accent);
  color: #0a0e14;
  border-color: var(--ob-accent);
}
.wizard-step-dot.completed {
  background: rgba(0, 226, 160, 0.15);
  color: var(--ob-accent);
  border-color: var(--ob-accent);
}
.wizard-step-line {
  flex: 1;
  height: 2px;
  background: var(--ob-surface-border);
  transition: background 0.3s ease;
}
.wizard-step-line.completed {
  background: var(--ob-accent);
}

/* Wizard Body */
.wizard-body {
  padding: 24px 28px 28px;
  overflow-y: auto;
  flex: 1;
}

/* Step labels */
.wizard-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ob-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* ─── Step 1: Appointment Type Cards ─── */
.wizard-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wizard-type-card {
  background: var(--ob-surface);
  border: 2px solid var(--ob-surface-border);
  border-radius: 14px;
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.wizard-type-card:hover {
  border-color: rgba(0, 226, 160, 0.3);
  background: rgba(0, 226, 160, 0.04);
}
.wizard-type-card.selected {
  border-color: var(--ob-accent);
  background: rgba(0, 226, 160, 0.08);
}
.wizard-type-card.highlighted {
  border-color: var(--ob-accent);
  background: rgba(0, 226, 160, 0.08);
  box-shadow: 0 0 16px rgba(0, 226, 160, 0.2);
  animation: wizardHighlightPulse 1.5s ease-in-out 2;
}
@keyframes wizardHighlightPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 226, 160, 0.15); }
  50%      { box-shadow: 0 0 24px rgba(0, 226, 160, 0.35); }
}
.wizard-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 226, 160, 0.1);
  color: var(--ob-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 12px;
}
.wizard-type-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-text);
  margin-bottom: 4px;
}
.wizard-type-desc {
  font-size: 12px;
  color: var(--ob-text-secondary);
  line-height: 1.4;
}

/* ─── Step 2: Branch Map ─── */
.wizard-map-container {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ob-surface);
  border: 1px solid var(--ob-surface-border);
}
.wizard-branch-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wizard-branch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ob-surface);
  border: 2px solid var(--ob-surface-border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.wizard-branch-card:hover {
  border-color: rgba(0, 226, 160, 0.3);
}
.wizard-branch-card.selected {
  border-color: var(--ob-accent);
  background: rgba(0, 226, 160, 0.08);
}
.wizard-branch-card.highlighted {
  border-color: var(--ob-accent);
  background: rgba(0, 226, 160, 0.08);
  box-shadow: 0 0 16px rgba(0, 226, 160, 0.2);
  animation: wizardHighlightPulse 1.5s ease-in-out 2;
}
.wizard-branch-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 226, 160, 0.12);
  color: var(--ob-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.wizard-branch-info { flex: 1; }
.wizard-branch-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-text);
  margin-bottom: 2px;
}
.wizard-branch-address {
  font-size: 12px;
  color: var(--ob-text-secondary);
}
.wizard-branch-distance {
  text-align: right;
  flex-shrink: 0;
}
.wizard-branch-dist-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-accent);
}
.wizard-branch-dist-label {
  font-size: 11px;
  color: var(--ob-text-secondary);
}

/* ─── Step 3: Calendar & Time ─── */
.wizard-calendar {
  margin-bottom: 20px;
}
.wizard-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.wizard-cal-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ob-text);
}
.wizard-cal-nav {
  background: none;
  border: none;
  color: var(--ob-text-secondary);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.wizard-cal-nav:hover {
  background: var(--ob-surface);
}
.wizard-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.wizard-cal-dow {
  font-size: 11px;
  font-weight: 600;
  color: var(--ob-text-secondary);
  text-transform: uppercase;
  padding: 6px 0;
}
.wizard-cal-day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ob-text);
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
}
.wizard-cal-day:hover:not(.disabled):not(.empty) {
  background: var(--ob-surface);
}
.wizard-cal-day.selected {
  background: var(--ob-accent);
  color: #0a0e14;
  font-weight: 700;
}
.wizard-cal-day.today {
  border: 1px solid var(--ob-accent);
}
.wizard-cal-day.disabled {
  color: rgba(255,255,255,0.15);
  cursor: default;
}
.wizard-cal-day.empty {
  cursor: default;
}

/* Time slots */
.wizard-time-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ob-text-secondary);
  margin-bottom: 10px;
  margin-top: 4px;
}
.wizard-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wizard-time-slot {
  background: var(--ob-surface);
  border: 2px solid var(--ob-surface-border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.wizard-time-slot:hover {
  border-color: rgba(0, 226, 160, 0.3);
}
.wizard-time-slot.selected {
  border-color: var(--ob-accent);
  background: rgba(0, 226, 160, 0.08);
  color: var(--ob-accent);
  font-weight: 600;
}

/* ─── Step 4: Summary ─── */
.wizard-summary-section {
  margin-bottom: 20px;
}
.wizard-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ob-surface-border);
  font-size: 14px;
}
.wizard-summary-row:last-child { border-bottom: none; }
.wizard-summary-label { color: var(--ob-text-secondary); }
.wizard-summary-value { color: var(--ob-text); font-weight: 500; text-align: right; }

.wizard-confirm-btn {
  width: 100%;
  padding: 14px;
  background: var(--ob-accent);
  color: #0a0e14;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.wizard-confirm-btn:hover {
  background: #00c98e;
  transform: translateY(-1px);
}
.wizard-confirm-btn:active {
  transform: translateY(0);
}

/* Wizard success animation */
.wizard-success {
  text-align: center;
  padding: 32px 0;
}
.wizard-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 226, 160, 0.12);
  color: var(--ob-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.wizard-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ob-text);
  margin-bottom: 8px;
}
.wizard-success-sub {
  font-size: 14px;
  color: var(--ob-text-secondary);
}

/* Mortgage wizard — placeholder rendering for fields the AI hasn't
   collected an answer for yet. Same row layout as the appointment-summary
   rows, just dimmed to convey "pending". */
.mwiz-pending {
  color: var(--ob-text-muted);
  font-weight: 400;
  font-style: italic;
}

/* Mortgage wizard layout overrides:
   Centred horizontally + vertically (the .wizard-overlay base rule uses
   align-items: center + justify-content: center, so we keep that and
   just constrain modal width). The bottom-right call widget stays
   visible/clickable via the body.mortgage-wizard-open z-index lift
   below — no need to push the modal up out of its way. */
#mortgageWizardOverlay .wizard-modal {
  max-width: 560px;
  width: calc(100% - 80px);
}

/* While the mortgage wizard is open, lift BOTH call widgets (Twilio panel
   + Cognigy WebRTC) above the modal backdrop so they remain in focus and
   fully interactive. The rest of the page (dashboard, transactions,
   charts) stays blurred and dimmed by the backdrop. */
body.mortgage-wizard-open .cw-container,
body.mortgage-wizard-open .cw-jp-container {
  z-index: 9998;
}

/* X close button in the mortgage wizard header. */
.wizard-header {
  position: relative;
}
.mwiz-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ob-surface);
  border: 1px solid var(--ob-surface-border);
  color: var(--ob-text-secondary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
}
.mwiz-close:hover {
  background: var(--ob-surface-hover, rgba(255, 255, 255, 0.08));
  color: var(--ob-text);
  transform: scale(1.05);
}
.mwiz-close:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .db-grid { flex-direction: column; }
  .db-col-left, .db-col-center, .db-col-right { flex: 0 0 100%; }
  .db-col-right { flex-direction: column; }
  .ob-sidebar { width: 56px; }
  .ob-main { margin-left: 56px; }
}
