.dashboard-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.view-site {
  color: #475569;
  font-size: 13px;
  text-decoration: none;
}

.icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #ffffff;
  cursor: pointer;
  font-size: 18px;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.business-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.business-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
}

.business-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.business-user-info strong {
  font-size: 13px;
}

.business-user-info span {
  color: #64748b;
  font-size: 11px;
}

.logout-button {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 13px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  font-weight: 600;
}

.dashboard-layout {
  min-height: calc(100vh - 64px);
  display: flex;
  background: #f8fafc;
}

.sidebar {
  width: 245px;
  flex: 0 0 245px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
}

.sidebar-title {
  padding: 22px 20px 12px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 12px;
  gap: 3px;
}

.nav-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.nav-item:hover {
  background: #f8fafc;
  color: #2563eb;
}

.nav-item.active {
  background: #eff6ff;
  color: #2563eb;
}

.nav-item span:first-child {
  width: 18px;
  text-align: center;
}

.nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 10px;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 15px 12px;
  border-top: 1px solid #e5e7eb;
}

.profile-link,
.sidebar-logout {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.profile-link {
  margin-bottom: 8px;
  background: #eff6ff;
  color: #2563eb;
}

.sidebar-logout {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
}

.dashboard-main {
  width: 100%;
  min-width: 0;
  padding: 28px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.breadcrumb {
  margin-bottom: 7px;
  color: #94a3b8;
  font-size: 11px;
}

.page-heading h1 {
  margin: 0 0 7px;
  font-size: 28px;
  color: #0f172a;
}

.page-heading p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.heading-actions {
  display: flex;
  gap: 9px;
}

.primary-button,
.secondary-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.primary-button {
  background: #2563eb;
  color: #ffffff;
}

.secondary-button {
  border: 1px solid #dbe3ec;
  background: #ffffff;
  color: #334155;
}

.account-status-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 11px;
  background: #eff6ff;
}

.status-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #2563eb;
  font-weight: 800;
}

.status-content {
  flex: 1;
}

.status-content strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.status-content p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.status-badge,
.verification-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 20px;
  background: #dcfce7;
  color: #166534;
  font-size: 10px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
}

.stat-card:hover {
  border-color: #bfdbfe;
}

.stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 17px;
}

.stat-card span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
}

.stat-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 20px;
}

.stat-card small {
  color: #94a3b8;
  font-size: 10px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  gap: 20px;
}

.main-column,
.side-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel {
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  background: #ffffff;
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 18px;
  border-bottom: 1px solid #eef2f7;
}

.panel-header h2 {
  margin: 0;
  font-size: 15px;
}

.panel-header p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 11px;
}

.panel-header a {
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.profile-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
}

.profile-logo {
  width: 65px;
  height: 65px;
  flex: 0 0 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
}

.profile-info h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.profile-info p {
  margin: 3px 0;
  color: #64748b;
  font-size: 12px;
}

.profile-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.completion-text {
  color: #64748b;
  font-size: 10px;
}

.data-list {
  min-height: 80px;
}

.loading-row,
.empty-row {
  padding: 25px 18px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
}

.lead-row,
.review-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  border-bottom: 1px solid #f1f5f9;
}

.lead-row:last-child,
.review-row:last-child {
  border-bottom: 0;
}

.row-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.row-main {
  min-width: 0;
  flex: 1;
}

.row-main strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.row-main p {
  margin: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-meta {
  color: #94a3b8;
  font-size: 10px;
}

.plan-box {
  padding: 20px;
}

.plan-label {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 11px;
}

.plan-box > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
}

.plan-box > span:not(.plan-label) {
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
}

.plan-divider {
  height: 1px;
  margin: 18px 0;
  background: #eef2f7;
}

.plan-detail {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #64748b;
  font-size: 11px;
}

.plan-detail strong {
  color: #334155;
}

.upgrade-button {
  width: 100%;
  min-height: 40px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.quick-actions {
  padding: 7px 10px;
}

.quick-actions a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.quick-actions a:last-child {
  border-bottom: 0;
}

.quick-actions a span {
  width: 20px;
  color: #2563eb;
  text-align: center;
}

.completion-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.completion-circle {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #dbeafe;
  border-radius: 50%;
}

.completion-circle strong {
  font-size: 14px;
  color: #2563eb;
}

.completion-box strong {
  font-size: 12px;
}

.completion-box p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.complete-profile-button {
  display: block;
  margin: 0 18px 18px;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #2563eb;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}

.help-panel {
  display: flex;
  gap: 13px;
  padding: 18px;
}

.help-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f1f5f9;
  color: #2563eb;
  font-weight: 800;
}

.help-panel h3 {
  margin: 0 0 5px;
  font-size: 13px;
}

.help-panel p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.help-panel a {
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.dashboard-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
  padding: 15px 0 0;
  border-top: 1px solid #e5e7eb;
  color: #94a3b8;
  font-size: 10px;
}

.dashboard-message {
  margin-bottom: 18px;
  padding: 12px 15px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12px;
}

.mobile-overlay {
  display: none;
}

@media (max-width: 1100px) {

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 800px) {

  .menu-toggle {
    display: block;
  }

  .view-site,
  .business-user-info {
    display: none;
  }

  .sidebar {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: -260px;
    z-index: 90;
    transition: left .2s ease;
  }

  .sidebar.open {
    left: 0;
  }

  .mobile-overlay {
    position: fixed;
    inset: 64px 0 0;
    z-index: 80;
    background: rgba(15, 23, 42, .35);
  }

  .mobile-overlay.visible {
    display: block;
  }

  .dashboard-main {
    padding: 20px 15px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 550px) {

  .dashboard-header {
    padding: 0 12px;
  }

  .header-right {
    gap: 7px;
  }

  .logout-button {
    padding: 8px 9px;
    font-size: 11px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .heading-actions {
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    flex: 1;
  }

  .profile-preview {
    align-items: flex-start;
  }

  .dashboard-footer-note {
    flex-direction: column;
  }

}