/* ==========================================================================
   ACCBAOHANH — Account Dashboard Modal Design System
   Impeccable Craft / Linear-grade SaaS Dashboard
   ========================================================================== */

/* Universal Reset inside Dashboard */
.acc-dash-modal,
.acc-dash-modal *,
.acc-dash-backdrop * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent !important;
}

.acc-dash-modal button,
.acc-dash-sidebar button,
.acc-dash-modal a,
.acc-dash-modal [role="tab"],
.acc-dash-tab-btn,
.acc-dash-nav-item,
.acc-dash-btn-primary,
.acc-dash-btn-outline,
.acc-dash-btn-filter,
.acc-dash-side-toggle,
.acc-dash-close-btn,
.acc-dash-btn-icon-more {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: inherit !important;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
}

/* Eliminate all click/tap shadows, focus halos, and outline rings */
.acc-dash-modal button,
.acc-dash-modal button:focus,
.acc-dash-modal button:active,
.acc-dash-sidebar button,
.acc-dash-sidebar button:focus,
.acc-dash-sidebar button:active,
.acc-dash-modal a,
.acc-dash-modal a:focus,
.acc-dash-modal a:active,
.acc-dash-modal [role="tab"],
.acc-dash-modal [role="tab"]:focus,
.acc-dash-modal [role="tab"]:active,
.acc-dash-tab-btn,
.acc-dash-tab-btn:focus,
.acc-dash-tab-btn:active,
.acc-dash-nav-item,
.acc-dash-nav-item:focus,
.acc-dash-nav-item:active,
.acc-dash-btn-primary,
.acc-dash-btn-primary:focus,
.acc-dash-btn-primary:active,
.acc-dash-btn-outline,
.acc-dash-btn-outline:focus,
.acc-dash-btn-outline:active,
.acc-dash-btn-filter,
.acc-dash-btn-filter:focus,
.acc-dash-btn-filter:active,
.acc-dash-side-toggle,
.acc-dash-side-toggle:focus,
.acc-dash-side-toggle:active,
.acc-dash-close-btn,
.acc-dash-close-btn:focus,
.acc-dash-close-btn:active,
.acc-dash-btn-icon-more,
.acc-dash-btn-icon-more:focus,
.acc-dash-btn-icon-more:active,
.acc-dash-mob-tab,
.acc-dash-mob-tab:focus,
.acc-dash-mob-tab:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* ==========================================================================
   Backdrop & Modal Container
   ========================================================================== */
.acc-dash-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), visibility 200ms;
}

.acc-dash-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.acc-dash-modal {
  position: relative;
  width: 95vw;
  max-width: 1120px;
  height: 740px;
  max-height: calc(100vh - 36px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: scale(0.98) translateY(6px);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #111827;
}

.acc-dash-backdrop.is-open .acc-dash-modal {
  transform: scale(1) translateY(0);
}

/* ==========================================================================
   Left Sidebar Navigation
   ========================================================================== */
.acc-dash-sidebar {
  width: 245px;
  height: 100%;
  background: #ffffff;
  border-right: 1px solid #f1f5f9;
  padding: 16px 12px 14px 12px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 220ms cubic-bezier(0.16, 1, 0.3, 1), padding 220ms ease, opacity 160ms ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.acc-dash-sidebar.is-collapsed {
  width: 0 !important;
  padding: 0 !important;
  border-right: none !important;
  opacity: 0;
  pointer-events: none;
}

/* User Card in Sidebar */
.acc-dash-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
  margin-bottom: 14px;
}

.acc-dash-user-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.acc-dash-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  overflow: hidden;
}

.acc-dash-user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-dash-user-role {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

/* Sidebar Search Row */
.acc-dash-side-search {
  width: 100%;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 8px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  transition: border-color 140ms ease, box-shadow 140ms ease;
  cursor: text;
}

.acc-dash-side-search:focus-within {
  border-color: #0f172a;
  box-shadow: 0 0 0 1px #0f172a;
}

.acc-dash-side-search-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #94a3b8;
  pointer-events: none;
}

.acc-dash-side-search-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
  line-height: normal;
}

.acc-dash-side-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.acc-dash-side-kbd {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.1;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  transition: all 120ms ease;
}

.acc-dash-side-kbd:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Nav Section Group */
.acc-dash-nav-section {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.acc-dash-nav-heading {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  padding: 0 8px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.acc-dash-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acc-dash-nav-item {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background-color 100ms ease, color 100ms ease;
  cursor: pointer;
  text-align: left;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.acc-dash-nav-item:hover {
  background: #f8fafc;
  color: #0f172a;
  outline: none !important;
  box-shadow: none !important;
}

.acc-dash-nav-item:active {
  background: #f1f5f9;
  outline: none !important;
  box-shadow: none !important;
  transform: scale(0.99);
}

.acc-dash-nav-item.is-active {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.acc-dash-item-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: inherit;
}

.acc-dash-item-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-dash-badge-count {
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 9999px;
  padding: 1px 7px;
  line-height: 1.25;
  min-width: 18px;
  text-align: center;
}

.acc-dash-badge-wallet {
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1px 7px;
  line-height: 1.35;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
}

.acc-dash-nav-item.is-active .acc-dash-badge-wallet {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Bottom Sidebar Nav */
.acc-dash-sidebar-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acc-dash-nav-item.is-logout {
  color: #ef4444;
}

.acc-dash-nav-item.is-logout .acc-dash-item-icon {
  color: #ef4444;
}

.acc-dash-nav-item.is-logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.acc-dash-nav-item.is-logout:hover .acc-dash-item-icon {
  color: #dc2626;
}

/* ============================================================
   Right Main Panel & Top Bar
   ============================================================ */
.acc-dash-main {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.acc-dash-topbar {
  height: 48px;
  border-bottom: 1px solid #f1f5f9;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: #ffffff;
}

/* Breadcrumbs */
.acc-dash-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}

.acc-dash-side-toggle {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  margin-right: 2px;
  transition: all 100ms ease;
}

.acc-dash-side-toggle:hover {
  background: #f3f4f6;
  color: #111827;
}

.acc-dash-bc-brand {
  font-weight: 600;
  color: #4b5563;
}

.acc-dash-bc-sep {
  color: #d1d5db;
  font-size: 11px;
}

.acc-dash-bc-current {
  color: #4b5563;
}

.acc-dash-bc-sub {
  color: #111827;
  font-weight: 600;
}

/* Top Actions */
.acc-dash-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-dash-top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 32px;
  padding: 0 8px 0 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 120ms ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.acc-dash-top-search:hover,
.acc-dash-top-search:focus-within {
  border-color: #cbd5e1;
}

.acc-dash-top-search-icon {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

.acc-dash-top-search-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
  outline: none !important;
  cursor: pointer;
}

.acc-dash-top-search-input::placeholder {
  color: #94a3b8;
}

.acc-dash-top-kbd {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1.5px 5px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  line-height: 1.1;
  flex-shrink: 0;
}

.acc-dash-top-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6366f1;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: default;
}

.acc-dash-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 100ms ease;
}

.acc-dash-close-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

/* ============================================================
   Content Area & Tab Views
   ============================================================ */
.acc-dash-content {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px 36px 26px;
}

.acc-dash-view {
  display: none;
  animation: accDashFadeIn 150ms cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-dash-view.is-active {
  display: block;
}

@keyframes accDashFadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Standard Header for Screens 2, 3, 4, 5, 6 */
.acc-dash-view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.acc-dash-view-title {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}

.acc-dash-view-subtitle {
  font-size: 12.5px;
  color: #6b7280;
  margin: 3px 0 0 0;
}

/* ============================================================
   SCREEN 1: TỔNG QUAN (Overview)
   ============================================================ */
.acc-dash-greeting {
  margin-bottom: 18px;
}

.acc-dash-greeting-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}

.acc-dash-greeting-desc {
  font-size: 12.5px;
  color: #6b7280;
  margin: 3px 0 0 0;
}

/* 4 Stat Metric Cards Grid */
.acc-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.acc-dash-stat-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: all 120ms ease;
}

.acc-dash-stat-card.is-active {
  background: #eff6ff !important;
  border-color: #dbeafe !important;
}

.acc-dash-stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f8fafc;
}

.acc-dash-stat-card.is-active .acc-dash-stat-icon-wrap {
  background: #ffffff;
}

.acc-dash-stat-icon {
  width: 18px;
  height: 18px;
}

.acc-dash-stat-icon-wrap.text-blue { color: #2563eb; }
.acc-dash-stat-icon-wrap.text-amber { color: #d97706; }
.acc-dash-stat-icon-wrap.text-purple { color: #7c3aed; }
.acc-dash-stat-icon-wrap.text-teal { color: #0284c7; }

.acc-dash-stat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acc-dash-stat-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-dash-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

/* Section: Overview Accounts */
.acc-dash-section {
  margin-bottom: 20px;
}

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

.acc-dash-section-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.acc-dash-link-more {
  font-size: 12px;
  font-weight: 500;
  color: #2563eb;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 100ms ease;
}

.acc-dash-link-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Card Table for Overview */
.acc-dash-card-table {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.acc-dash-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 100ms ease;
}

.acc-dash-product-row:last-child {
  border-bottom: none;
}

.acc-dash-product-row:hover {
  background-color: #fbfbfd;
}

.acc-dash-prod-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.acc-dash-prod-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.acc-dash-prod-icon.sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.acc-dash-prod-icon svg {
  width: 100%;
  height: 100%;
}

.acc-dash-prod-icon.bg-chatgpt {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 3px;
}

.acc-dash-prod-icon.bg-canva {
  background: transparent;
}

.acc-dash-prod-icon.bg-netflix {
  background: #000000;
  padding: 2px;
}

.acc-dash-prod-icon.bg-spotify {
  background: transparent;
}

.acc-dash-prod-icon.bg-microsoft {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 3px;
}

.acc-dash-prod-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.acc-dash-prod-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.acc-dash-prod-meta {
  font-size: 11.5px;
  color: #6b7280;
  margin-top: 1px;
}

.acc-dash-prod-mid {
  display: flex;
  align-items: center;
  gap: 16px;
}

.acc-dash-prod-status {
  padding: 0;
}

.acc-dash-prod-duration {
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
  padding: 0;
}

.acc-dash-prod-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bottom 2-Col Grid */
.acc-dash-bottom-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: flex-start;
  margin-top: 4px;
}

.acc-dash-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.acc-dash-col .acc-dash-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 24px !important;
  margin-bottom: 12px !important;
}

.acc-dash-col .acc-dash-section-header .acc-dash-section-title {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
}

.acc-dash-card-box {
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Guide Rows - Explicit High Specificity to defeat resets */
.acc-dash-modal .acc-dash-guide-row,
.acc-dash-card-box .acc-dash-guide-row,
a.acc-dash-guide-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 13px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  text-decoration: none !important;
  color: inherit !important;
  background: #ffffff !important;
  transition: background-color 140ms ease !important;
  position: relative !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.acc-dash-modal .acc-dash-guide-row:last-child,
.acc-dash-card-box .acc-dash-guide-row:last-child,
a.acc-dash-guide-row:last-child {
  border-bottom: none !important;
}

.acc-dash-modal .acc-dash-guide-row:hover,
.acc-dash-card-box .acc-dash-guide-row:hover,
a.acc-dash-guide-row:hover {
  background-color: #f8fafc !important;
}

.acc-dash-modal .acc-dash-guide-icon,
.acc-dash-guide-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  flex-shrink: 0 !important;
  transition: transform 140ms ease !important;
}

.acc-dash-modal .acc-dash-guide-icon.is-blue,
.acc-dash-guide-icon.is-blue {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #dbeafe !important;
}

.acc-dash-modal .acc-dash-guide-icon.is-green,
.acc-dash-guide-icon.is-green {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #a7f3d0 !important;
}

.acc-dash-modal .acc-dash-guide-icon.is-purple,
.acc-dash-guide-icon.is-purple {
  background: #faf5ff !important;
  color: #7c3aed !important;
  border-color: #e9d5ff !important;
}

.acc-dash-modal .acc-dash-guide-row:hover .acc-dash-guide-icon,
a.acc-dash-guide-row:hover .acc-dash-guide-icon {
  transform: scale(1.05) !important;
}

.acc-dash-modal .acc-dash-guide-meta,
.acc-dash-guide-meta {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 0 !important;
  gap: 2px !important;
}

.acc-dash-modal .acc-dash-guide-title,
.acc-dash-guide-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: block !important;
}

.acc-dash-modal .acc-dash-guide-desc,
.acc-dash-guide-desc {
  font-size: 11.5px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  display: block !important;
}

.acc-dash-modal .acc-dash-guide-arrow,
.acc-dash-guide-arrow {
  width: 14px !important;
  height: 14px !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
  transition: transform 140ms ease, color 140ms ease !important;
}

.acc-dash-modal .acc-dash-guide-row:hover .acc-dash-guide-arrow,
a.acc-dash-guide-row:hover .acc-dash-guide-arrow {
  transform: translateX(3px) !important;
  color: #0f172a !important;
}

/* Ticket Preview Card */
.acc-dash-modal .acc-dash-ticket-card,
.acc-dash-ticket-card {
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 12px !important;
  padding: 15px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: all 140ms ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.acc-dash-modal .acc-dash-ticket-card:hover,
.acc-dash-ticket-card:hover {
  background-color: #fbfbfd !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.acc-dash-modal .acc-dash-ticket-left,
.acc-dash-ticket-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.acc-dash-modal .acc-dash-ticket-icon,
.acc-dash-ticket-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  background: #f5f3ff !important;
  color: #7c3aed !important;
  border: 1px solid #ede9fe !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 140ms ease !important;
}

.acc-dash-modal .acc-dash-ticket-card:hover .acc-dash-ticket-icon,
.acc-dash-ticket-card:hover .acc-dash-ticket-icon {
  background: #ede9fe !important;
  transform: scale(1.05) !important;
}

.acc-dash-modal .acc-dash-ticket-meta,
.acc-dash-ticket-meta {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  flex: 1 !important;
  gap: 2px !important;
}

.acc-dash-modal .acc-dash-ticket-title,
.acc-dash-ticket-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
}

.acc-dash-modal .acc-dash-ticket-sub,
.acc-dash-ticket-sub {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  font-variant-numeric: tabular-nums !important;
}

.acc-dash-modal .acc-dash-ticket-card .pill-blue,
.acc-dash-ticket-card .pill-blue {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #dbeafe !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 9px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

.acc-dash-pulse-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  display: inline-block !important;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7) !important;
  animation: accPulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
}

@keyframes accPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Button: Gửi yêu cầu hỗ trợ */
.acc-dash-col .acc-dash-open-ticket-btn,
.acc-dash-col .acc-dash-btn-primary.full-width {
  height: 38px !important;
  border-radius: 8px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: 10px !important;
  border: 1px solid #0f172a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: background-color 100ms ease, transform 80ms ease, box-shadow 100ms ease !important;
  cursor: pointer !important;
  width: 100% !important;
}

.acc-dash-col .acc-dash-open-ticket-btn:hover,
.acc-dash-col .acc-dash-btn-primary.full-width:hover {
  background: #1e293b !important;
  border-color: #1e293b !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

.acc-dash-col .acc-dash-open-ticket-btn:active,
.acc-dash-col .acc-dash-btn-primary.full-width:active {
  transform: scale(0.985) !important;
}

/* ============================================================
   Tables, Filters & Pagination (Screens 2, 3, 4)
   ============================================================ */
.acc-dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.acc-dash-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc-dash-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.acc-dash-search-icon {
  position: absolute;
  left: 9px;
  width: 13px;
  height: 13px;
  color: #9ca3af;
  pointer-events: none;
}

.acc-dash-input-search {
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 0 10px 0 28px;
  font-size: 12px;
  color: #111827;
  background: #ffffff;
  width: 240px;
  transition: border-color 100ms ease;
}

.acc-dash-input-search:focus {
  outline: none;
  border-color: #0f172a;
}

.acc-dash-btn-filter {
  height: 32px;
  border: 1px solid #e5e7eb !important;
  border-radius: 7px;
  padding: 0 10px !important;
  background: #ffffff !important;
  color: #111827;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 100ms ease;
}

.acc-dash-btn-filter:hover {
  background: #f9fafb !important;
  border-color: #cbd5e1 !important;
}

/* Table Container */
.acc-dash-table-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.acc-dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.acc-dash-table thead th {
  font-size: 11.5px;
  font-weight: 600;
  color: #6b7280;
  padding: 9px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  white-space: nowrap;
}

.acc-dash-th-sort {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.acc-dash-sort-icon {
  width: 11px;
  height: 11px;
  color: #9ca3af;
}

.acc-dash-table tbody td {
  padding: 10px 12px;
  font-size: 12px;
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.acc-dash-table tbody tr:last-child td {
  border-bottom: none;
}

.acc-dash-table tbody tr:hover {
  background-color: #fbfbfd;
}

/* Custom Checkbox */
.acc-dash-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  accent-color: #0f172a;
  cursor: pointer;
  margin: 0;
  display: block;
}

/* Table Specific Cells */
.acc-dash-table-prod {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc-dash-table-prod-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
}

.acc-dash-table-prod-sub {
  font-size: 11px;
  color: #6b7280;
  margin-left: 3px;
}

.acc-dash-copyable {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4b5563;
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 4px;
  transition: all 100ms ease;
}

.acc-dash-copyable:hover {
  background: #f1f5f9;
  color: #111827;
}

.acc-dash-code-order {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  background: none;
  padding: 0;
}

.acc-dash-cell-date {
  color: #4b5563;
  font-size: 12px;
}

.acc-dash-cell-price {
  font-weight: 600;
  color: #111827;
  font-size: 12px;
}

.acc-dash-table-ticket-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
}

.acc-dash-ticket-prod-name {
  color: #4b5563;
  font-size: 12px;
}

/* Table Pagination Footer */
.acc-dash-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.acc-dash-page-count {
  font-size: 11.5px;
  color: #6b7280;
}

.acc-dash-page-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-dash-per-page {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 2px 7px;
  background: #ffffff;
  cursor: pointer;
}

.acc-dash-page-btns {
  display: flex;
  align-items: center;
  gap: 3px;
}

.acc-dash-page-arrow {
  width: 22px;
  height: 22px;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px;
  background: #ffffff !important;
  color: #6b7280;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.acc-dash-page-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.acc-dash-page-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: transparent !important;
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.acc-dash-page-num.is-active {
  background: #6366f1 !important;
  color: #ffffff !important;
}

/* ============================================================
   SCREEN: VÍ CỦA TÔI (Wallet & Transactions)
   ============================================================ */
.acc-dash-wallet-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .acc-dash-wallet-overview-grid {
    grid-template-columns: 1fr;
  }
}

.acc-dash-wallet-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.acc-dash-wallet-balance-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
}

.acc-dash-wallet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.acc-dash-wallet-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-dash-wallet-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.acc-dash-wallet-amount {
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.acc-dash-wallet-desc {
  font-size: 12px;
  color: #64748b;
  margin: 8px 0 0;
  line-height: 1.45;
}

.acc-dash-wallet-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.acc-dash-wallet-info-header-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #0f172a;
}

.acc-dash-wallet-info-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0;
}

.acc-dash-wallet-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 10px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.acc-dash-wallet-info-item.highlight {
  background: #fef2f2;
  border: 1px solid #fee2e2;
}

.acc-dash-wallet-info-label {
  color: #64748b;
  font-size: 11.5px;
}

.acc-dash-wallet-info-val {
  color: #0f172a;
  margin-left: auto;
  margin-right: 6px;
}

.acc-dash-wallet-info-footer {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.35;
}

/* Wallet Table Rows */
.acc-dash-wallet-tx-type {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-dash-tx-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acc-dash-tx-badge.tx-in {
  background: #ecfdf5;
  color: #059669;
}

.acc-dash-tx-badge.tx-out {
  background: #f1f5f9;
  color: #64748b;
}

.acc-dash-tx-name {
  display: block;
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.25;
}

.acc-dash-tx-sub {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.acc-dash-btn-copy-mini {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 20px;
  height: 20px;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.15s ease;
  line-height: 1;
}

.acc-dash-btn-copy-mini:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05) !important;
}

/* ============================================================
   SCREEN 5: THÔNG TIN TÀI KHOẢN (Profile)
   ============================================================ */
.acc-dash-form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 32px;
}

.acc-dash-profile-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.acc-dash-profile-avatar-col {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.acc-dash-avatar-large {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6366f1;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-dash-change-photo-btn {
  font-size: 11.5px;
  color: #6b7280;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 100ms ease;
}

.acc-dash-change-photo-btn:hover {
  color: #111827;
  text-decoration: underline;
}

.acc-dash-profile-fields-col {
  flex: 1;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-dash-form-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.acc-dash-form-label {
  width: 120px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acc-dash-label-icon {
  color: #6b7280;
}

.acc-dash-form-control {
  flex: 1;
  position: relative;
}

.acc-dash-input-text {
  width: 100%;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 12.5px;
  color: #111827;
  background: #ffffff;
  transition: border-color 100ms ease, box-shadow 100ms ease;
}

.acc-dash-input-text:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 1px #0f172a;
}

.acc-dash-input-with-badge {
  display: flex;
  align-items: center;
  position: relative;
}

.acc-dash-input-with-badge .acc-dash-input-text {
  padding-right: 100px;
}

.acc-dash-verified-badge {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 4px;
  padding: 2.5px 7px;
  line-height: 1.2;
}

.acc-dash-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ============================================================
   SCREEN 6: ĐỔI MẬT KHẨU (Change Password)
   ============================================================ */
.acc-dash-password-fields {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-dash-password-fields .acc-dash-form-label {
  width: 160px;
}

.acc-dash-input-with-eye {
  position: relative;
}

.acc-dash-input-with-eye .acc-dash-input-text {
  padding-right: 34px;
  font-family: inherit;
  letter-spacing: 0.1em;
}

.acc-dash-eye-toggle {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s ease;
  z-index: 2;
}

.acc-dash-eye-toggle:hover {
  color: #111827;
  background: transparent !important;
}

.acc-dash-eye-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Password Criteria Checklist */
.acc-dash-checklist-row {
  align-items: flex-start;
  margin-top: -3px;
}

.acc-dash-pwd-criteria {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acc-dash-pwd-criteria li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #16a34a;
}

.acc-dash-pwd-criteria li svg {
  flex-shrink: 0;
  color: #16a34a;
}

/* ============================================================
   Reusable Buttons & Pills
   ============================================================ */
.acc-dash-btn-primary {
  height: 34px;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  border-radius: 7px;
  padding: 0 15px !important;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background-color 100ms ease, transform 80ms ease;
  user-select: none;
}

.acc-dash-btn-primary:hover {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.acc-dash-btn-primary:active {
  background: #0f172a !important;
  transform: scale(0.98);
  box-shadow: none !important;
  outline: none !important;
}

.acc-dash-btn-primary:focus {
  outline: none !important;
  box-shadow: none !important;
}

.acc-dash-btn-primary.full-width {
  width: 100%;
}

.acc-dash-btn-outline {
  height: 30px;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 7px;
  padding: 0 12px !important;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background-color 100ms ease, border-color 100ms ease, transform 80ms ease;
  user-select: none;
}

.acc-dash-btn-outline:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

.acc-dash-btn-outline:active {
  background: #f1f5f9 !important;
  transform: scale(0.98);
  box-shadow: none !important;
  outline: none !important;
}

.acc-dash-btn-outline:focus {
  outline: none !important;
  box-shadow: none !important;
}

.acc-dash-btn-icon-more {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: all 100ms ease;
  cursor: pointer;
}

.acc-dash-btn-icon-more:hover {
  background: #f1f5f9;
  color: #0f172a;
  box-shadow: none !important;
}

.acc-dash-btn-icon-more:active {
  transform: scale(0.94);
  box-shadow: none !important;
}

/* Status Pills */
.acc-dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 2px 8px;
  line-height: 1.25;
  white-space: nowrap;
}

.acc-dash-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-green {
  background: #dcfce7;
  color: #15803d;
}
.pill-green .acc-dash-dot { background: #22c55e; }

.pill-amber {
  background: #fef3c7;
  color: #b45309;
}
.pill-amber .acc-dash-dot { background: #f59e0b; }

.pill-blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.pill-blue .acc-dash-dot { background: #3b82f6; }

.pill-red {
  background: #fee2e2;
  color: #dc2626;
}
.pill-red .acc-dash-dot { background: #ef4444; }

.pill-gray {
  background: #f1f5f9;
  color: #6b7280;
}

/* ============================================================
   Sub-Modals (Xem tài khoản & Gửi yêu cầu hỗ trợ)
   ============================================================ */
.acc-dash-submodal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 1000100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1), visibility 180ms ease !important;
}

.acc-dash-submodal-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.acc-dash-submodal-box {
  width: 100% !important;
  max-width: 440px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  z-index: 1000101 !important;
  transform: scale(0.96) !important;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.acc-dash-submodal-backdrop.is-open .acc-dash-submodal-box {
  transform: scale(1) !important;
}

.acc-dash-submodal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.acc-dash-submodal-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.acc-dash-submodal-desc {
  font-size: 11.5px;
  color: #6b7280;
  margin: 2px 0 0 0;
}

.acc-dash-submodal-close {
  font-size: 18px;
  color: #9ca3af;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.acc-dash-cred-field {
  margin-bottom: 10px;
}

.acc-dash-cred-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.acc-dash-cred-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.acc-dash-cred-input-wrap input {
  flex: 1;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 9px;
  font-size: 12px;
  color: #111827;
  background: #f8fafc;
  outline: none;
  box-sizing: border-box;
}

.acc-dash-cred-input-wrap .acc-dash-input-with-eye {
  flex: 1;
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
}

.acc-dash-cred-input-wrap .acc-dash-input-with-eye input {
  width: 100%;
  padding-right: 32px !important;
}

.acc-dash-btn-copy-cred {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px;
  background: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0 !important;
  margin: 0 !important;
}

.acc-dash-btn-copy-cred:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.acc-dash-cred-note {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 7px;
  padding: 8px 10px;
  margin: 12px 0;
}

.acc-dash-cred-note strong {
  display: block;
  font-size: 11.5px;
  color: #1e40af;
  margin-bottom: 1px;
}

.acc-dash-cred-note p {
  font-size: 11px;
  color: #3b82f6;
  margin: 0;
  line-height: 1.35;
}

.acc-dash-submodal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

/* Topup Submodal Box & Controls */
.acc-dash-topup-box {
  max-width: 480px !important;
}

.acc-dash-topup-presets-wrap {
  margin-bottom: 12px;
}

.acc-dash-topup-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.acc-dash-topup-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.acc-dash-topup-chip {
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  color: #374151 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.acc-dash-topup-chip:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

.acc-dash-topup-chip.is-active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

.acc-dash-topup-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

@media (max-width: 500px) {
  .acc-dash-topup-flex {
    flex-direction: column;
    text-align: center;
  }
}

.acc-dash-topup-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.acc-dash-topup-qr-box img {
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.acc-dash-topup-qr-sub {
  font-size: 10px;
  color: #64748b;
  text-align: center;
}

.acc-dash-topup-info-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.acc-dash-topup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 2px 0;
}

.acc-dash-topup-row.acc-dash-topup-highlight {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 6px;
  padding: 4px 8px;
}

.acc-dash-topup-k {
  color: #64748b;
  font-size: 11px;
}

.acc-dash-topup-v {
  color: #0f172a;
}

.acc-dash-topup-v-copy {
  display: flex;
  align-items: center;
  gap: 4px;
}

.acc-dash-topup-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: #1e40af;
  line-height: 1.4;
}

.acc-dash-topup-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #3b82f6;
}

/* ============================================================
   ⌘K Quick Search & Command Palette (Linear/shadcn grade)
   ============================================================ */
.acc-dash-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000050 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 16px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), visibility 160ms;
}

.acc-dash-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.acc-dash-search-box {
  width: 100%;
  max-width: 580px;
  max-height: 520px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.97) translateY(-8px);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-dash-search-overlay.is-open .acc-dash-search-box {
  transform: scale(1) translateY(0);
}

.acc-dash-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.acc-dash-search-hdr-icon {
  color: #94a3b8;
  flex-shrink: 0;
}

.acc-dash-search-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
}

.acc-dash-search-input::placeholder {
  color: #94a3b8;
}

.acc-dash-search-close {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 100ms ease;
}

.acc-dash-search-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.acc-dash-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
  max-height: 380px;
}

.acc-dash-search-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acc-dash-search-group-title {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  padding: 6px 8px 3px 8px;
  text-transform: uppercase;
}

.acc-dash-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7.5px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  transition: all 100ms ease;
  user-select: none;
}

.acc-dash-search-item:hover,
.acc-dash-search-item.is-selected {
  background: #f1f5f9;
  color: #0f172a;
}

.acc-dash-search-item-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.acc-dash-search-item-left svg {
  flex-shrink: 0;
}

.acc-dash-search-item-title {
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-dash-search-item-badge {
  font-size: 10.5px;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1.5px 6px;
  flex-shrink: 0;
}

.acc-dash-search-item-meta {
  font-size: 11.5px;
  color: #64748b;
  flex-shrink: 0;
}

.acc-dash-order-tag {
  font-size: 11px;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  background: #f1f5f9;
  color: #0f172a;
  padding: 1.5px 5px;
  border-radius: 4px;
}

.acc-dash-search-empty {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 13px;
}

.acc-dash-search-empty-hint {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 4px;
}

.acc-dash-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #94a3b8;
}

.acc-dash-search-footer-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.acc-dash-ft-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  font-size: 9.5px;
  font-family: ui-monospace, monospace;
  color: #64748b;
}

.acc-dash-ft-sep {
  color: #cbd5e1;
  margin: 0 2px;
}

/* ============================================================
   Toast Notification (Sonner style)
   ============================================================ */
.acc-dash-toast {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
  z-index: 1000200 !important;
  opacity: 0 !important;
  transform: translateY(12px) !important;
  pointer-events: none !important;
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), transform 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.acc-dash-toast.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.acc-dash-toast-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acc-dash-toast-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.acc-dash-toast-title {
  font-size: 12px;
  font-weight: 600;
}

.acc-dash-toast-desc {
  font-size: 11px;
  color: #cbd5e1;
  margin: 1px 0 0 0;
}

/* ============================================================
   Mobile Sidebar Drawer Backdrop & Tabs Bar
   ============================================================ */
.acc-dash-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100015;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.acc-dash-sidebar-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.acc-dash-mob-tabs-bar {
  display: none;
}

/* ============================================================
   Responsive Breakpoints (Desktop, Tablet, Mobile)
   ============================================================ */
@media (max-width: 960px) {
  .acc-dash-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .acc-dash-bottom-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .acc-dash-top-search {
    width: 170px;
  }
}

@media (max-width: 768px) {
  .acc-dash-backdrop {
    padding: 0 !important;
  }

  .acc-dash-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    flex-direction: column !important;
  }

  /* Off-canvas slide-out Sidebar on Mobile */
  .acc-dash-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 280px !important;
    max-width: 82vw !important;
    height: 100dvh !important;
    z-index: 1000020 !important;
    background: #ffffff !important;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.25) !important;
    border-right: 1px solid #e2e8f0 !important;
    transform: translateX(-100%) !important;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .acc-dash-sidebar.is-mobile-open {
    transform: translateX(0) !important;
  }

  /* Main Container */
  .acc-dash-main {
    width: 100% !important;
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* Topbar on Mobile */
  .acc-dash-topbar {
    height: 48px !important;
    padding: 0 12px 0 10px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .acc-dash-breadcrumb {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    overflow: hidden !important;
  }

  .acc-dash-bc-brand,
  .acc-dash-bc-sep:not(.is-sub) {
    display: none !important;
  }

  .acc-dash-bc-current {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    max-width: 120px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .acc-dash-bc-sep.is-sub {
    color: #cbd5e1 !important;
    font-size: 11px !important;
  }

  .acc-dash-bc-sub {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    max-width: 130px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .acc-dash-top-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .acc-dash-top-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .acc-dash-close-btn {
    width: 30px !important;
    height: 30px !important;
  }

  .acc-dash-top-search {
    display: none !important;
  }

  /* Mobile Horizontal Scrollable Tabs */
  .acc-dash-mob-tabs-bar {
    display: flex !important;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 12px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
  }

  .acc-dash-mob-tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .acc-dash-mob-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
    transition: background-color 100ms ease, color 100ms ease, transform 80ms ease;
  }

  .acc-dash-mob-tab.is-active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    font-weight: 600 !important;
  }

  /* Content Scroll Area */
  .acc-dash-content {
    flex: 1 !important;
    padding: 14px 12px 32px 12px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .acc-dash-greeting-title {
    font-size: 18px;
  }

  .acc-dash-greeting-desc {
    font-size: 12px;
  }

  .acc-dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }

  .acc-dash-stat-card {
    padding: 10px 12px;
  }

  .acc-dash-stat-number {
    font-size: 20px;
  }

  .acc-dash-stat-label {
    font-size: 11px;
  }

  /* Responsive Account Rows in Overview */
  .acc-dash-product-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
  }

  .acc-dash-prod-left {
    width: 100% !important;
    gap: 10px !important;
  }

  .acc-dash-prod-name {
    font-size: 13.5px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .acc-dash-prod-meta {
    font-size: 11px !important;
    color: #64748b !important;
    margin-top: 2px !important;
  }

  .acc-dash-prod-mid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px dashed #f1f5f9 !important;
  }

  .acc-dash-prod-status {
    padding: 0 !important;
  }

  .acc-dash-prod-duration {
    padding: 0 !important;
    font-size: 11.5px !important;
  }

  .acc-dash-prod-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .acc-dash-prod-actions .acc-dash-btn-outline {
    flex: 1 !important;
    height: 32px !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .acc-dash-prod-actions .acc-dash-btn-icon-more {
    width: 32px !important;
    height: 32px !important;
  }

  /* Table Containers on Mobile */
  .acc-dash-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
  }

  .acc-dash-table {
    min-width: 620px !important;
  }

  .acc-dash-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .acc-dash-toolbar-left {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }

  .acc-dash-search-field {
    flex: 1 !important;
  }

  .acc-dash-toolbar-right {
    width: 100% !important;
  }

  .acc-dash-toolbar-right .acc-dash-btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }

  .acc-dash-view-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .acc-dash-view-header .acc-dash-btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Profile & Password Tabs on Mobile */
  .acc-dash-profile-layout {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .acc-dash-profile-form {
    width: 100% !important;
  }

  .acc-dash-form-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .acc-dash-form-label {
    width: 100% !important;
  }

  .acc-dash-form-control {
    width: 100% !important;
  }

  /* Prevent automatic iOS Safari zoom on input focus */
  .acc-dash-input-text,
  .acc-dash-search-field input,
  .acc-dash-top-search input {
    font-size: 16px !important;
  }

  .acc-dash-checklist-row {
    margin-left: 0 !important;
  }

  .acc-dash-form-actions {
    justify-content: stretch !important;
  }

  .acc-dash-form-actions .acc-dash-btn-primary {
    width: 100% !important;
  }

  /* Command Palette on Mobile */
  .acc-dash-search-overlay {
    padding: 20px 10px !important;
  }

  .acc-dash-search-box {
    max-height: 90vh !important;
  }

  /* Toast on Mobile */
  .acc-dash-toast {
    bottom: 20px !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    justify-content: flex-start !important;
    z-index: 1000200 !important;
  }

  /* Submodal box on Mobile */
  .acc-dash-submodal-box {
    max-width: calc(100vw - 32px) !important;
    padding: 18px 16px !important;
  }
}
