:root {
  --za-navy: #020a34;
  --za-navy-2: #041752;
  --za-blue: #005dff;
  --za-blue-2: #0a7cff;
  --za-cyan: #38c6ff;
  --za-green: #19b769;
  --za-orange: #ff7a00;
  --za-purple: #7c3aed;
  --za-red: #f51f38;
  --za-text: #050b3f;
  --za-muted: #4f5b86;
  --za-soft: #f6f9ff;
  --za-border: #d9e3f3;
  --za-border-strong: #bfd0ea;
  --za-card: #ffffff;
  --za-shadow: 0 18px 45px rgba(4, 24, 87, 0.08);
  --za-sidebar-width: 274px;
}

.feature-admin-section {
  margin-bottom: 22px;
}

.feature-admin-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
}

.feature-form {
  display: grid;
  gap: 14px;
}

.feature-form h2,
.feature-form h3 {
  font-size: 1.05rem;
  margin: 0 0 2px;
}

.usage-count {
  background: var(--za-soft);
  border: 1px solid var(--za-border);
  border-radius: 6px;
  color: var(--za-text);
  font-weight: 800;
  min-width: 64px;
  padding: 7px 10px;
  text-align: center;
}

.feature-lock-band,
.feature-empty-state {
  align-items: center;
  display: flex;
  gap: 16px;
}

.feature-lock-band {
  background: var(--za-soft);
  border: 1px solid var(--za-border);
  border-radius: 8px;
  padding: 18px;
}

.feature-lock-band > svg {
  color: var(--za-blue);
  flex: 0 0 auto;
  height: 28px;
  width: 28px;
}

.feature-lock-band div {
  display: grid;
  flex: 1;
  gap: 3px;
}

.feature-lock-band span {
  color: var(--za-muted);
}

.feature-empty-state {
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  text-align: center;
}

.feature-empty-state > svg {
  color: var(--za-blue);
  height: 42px;
  width: 42px;
}

.feature-empty-state h2,
.feature-empty-state p {
  margin: 0;
}

.branding-form {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.8fr);
}

.brand-preview {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-top: 5px solid var(--brand-preview-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 250px;
  padding: 28px;
  text-align: center;
}

.brand-preview img,
.brand-preview-mark {
  height: 64px;
  object-fit: contain;
  width: 64px;
}

.brand-preview-mark {
  align-items: center;
  background: var(--brand-preview-color);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  font-size: 1.6rem;
  font-weight: 900;
  justify-content: center;
}

.brand-preview strong {
  font-size: 1.2rem;
}

.brand-preview small {
  color: var(--za-muted);
}

.report-filter-bar {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  margin-bottom: 22px;
}

.report-filter-bar .form-control,
.report-filter-bar .form-select {
  min-height: 42px;
  padding: 9px 12px;
}

.audience-filter-bar {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
}

.audience-filter-actions {
  display: flex;
  gap: 8px;
}

.audience-workspace-grid > *,
.audience-workspace-grid .surface {
  min-width: 0;
}

.audience-workspace-grid {
  align-items: start;
}

.audience-library-empty {
  min-height: 320px;
}

.audience-library-empty .btn {
  margin-top: 10px;
}

.audience-detail-metrics {
  border-bottom: 1px solid var(--za-border);
  padding-bottom: 20px;
}

.audience-campaign-list {
  border-bottom: 1px solid var(--za-border);
  border-top: 1px solid var(--za-border);
}

.audience-campaign-list > div {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 0;
}

.audience-campaign-list > div + div {
  border-top: 1px solid var(--za-border);
}

.audience-campaign-list span,
.audience-campaign-list small {
  display: block;
}

.audience-campaign-list small {
  color: var(--za-muted);
  margin-top: 2px;
}

.audience-assignment-form > div {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.leads-workspace {
  grid-template-columns: minmax(0, 2.4fr) minmax(290px, 0.75fr);
}

.status-select-form .form-select {
  min-height: 36px;
  min-width: 120px;
  padding: 6px 28px 6px 10px;
}

.lead-filter-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.lead-funnel-panel .progress-list {
  margin-top: 22px;
}

.leads-dashboard-grid,
.leads-dashboard-grid > .surface,
.leads-dashboard-grid > .side-panel-stack,
.leads-dashboard-grid .table-responsive {
  max-width: 100%;
  min-width: 0;
}

.leads-dashboard-grid .table-responsive {
  overflow-x: auto;
}

.leads-dashboard-grid table {
  min-width: 720px;
}

.campaign-business-filter {
  min-width: 220px;
}

.campaign-business-filter .form-select {
  min-height: 38px;
  padding: 6px 32px 6px 10px;
}

.provider-connection-list {
  display: grid;
}

.provider-connection-row {
  align-items: center;
  border-bottom: 1px solid var(--za-border);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, auto);
  min-height: 78px;
  padding: 14px 0;
}

.provider-connection-row:last-child {
  border-bottom: 0;
}

.provider-connection-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.integration-filter-surface {
  padding-bottom: 16px;
  padding-top: 16px;
}

.integration-filter-bar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.45fr) minmax(150px, 0.45fr) auto auto;
}

.integration-page-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.7fr);
  min-width: 0;
}

.integration-page-grid > *,
.integration-page-grid .side-panel-stack,
.integration-page-grid .surface,
.integration-table-wrap {
  max-width: 100%;
  min-width: 0;
}

.integration-table-wrap table {
  min-width: 900px;
}

.integration-table-wrap th:last-child,
.integration-table-wrap td:last-child {
  background: #ffffff;
  box-shadow: -8px 0 12px rgba(17, 39, 91, 0.04);
  position: sticky;
  right: 0;
  z-index: 1;
}

.integration-table-wrap th:last-child {
  z-index: 2;
}

.integration-sync-progress {
  grid-template-columns: 48px minmax(90px, 1fr);
}

.integration-mobile-status {
  display: none;
}

.empty-state.compact {
  padding: 24px 18px;
}

.empty-state.compact svg {
  color: var(--za-muted);
  height: 28px;
  margin-bottom: 8px;
  width: 28px;
}

.workspace-brand-name {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .feature-admin-grid,
  .leads-workspace,
  .branding-form {
    grid-template-columns: 1fr;
  }

  .report-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-connection-row {
    grid-template-columns: 1fr auto;
  }

  .integration-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-filter-bar .search-box {
    grid-column: 1 / -1;
  }

  .integration-page-grid {
    grid-template-columns: 1fr;
  }

  .provider-connection-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .report-filter-bar {
    grid-template-columns: 1fr;
  }

  .feature-lock-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-brand-name {
    max-width: 125px;
  }

  .integration-filter-bar {
    grid-template-columns: 1fr;
  }

  .integration-filter-bar .search-box {
    grid-column: auto;
  }

  .integration-page-grid .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .integration-page-grid .health-summary {
    grid-template-columns: 1fr;
  }

  .integration-page-grid .donut-small {
    margin: 0 auto;
  }

  .integration-table-wrap table {
    min-width: 0;
    width: 100%;
  }

  .integration-table-wrap th:nth-child(n+2):not(:last-child),
  .integration-table-wrap td:nth-child(n+2):not(:last-child) {
    display: none;
  }

  .integration-table-wrap th:last-child,
  .integration-table-wrap td:last-child {
    box-shadow: none;
    position: static;
    width: 150px;
  }

  .integration-table-wrap .brand-cell {
    align-items: flex-start;
  }

  .integration-table-wrap .brand-cell > div {
    min-width: 0;
  }

  .integration-table-wrap .brand-cell strong,
  .integration-table-wrap .brand-cell small {
    overflow-wrap: anywhere;
  }

  .integration-mobile-status {
    display: inline-flex;
    margin-top: 7px;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-size: 15px;
  min-height: 100%;
}

body {
  background: #ffffff;
  color: var(--za-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--za-blue);
  text-decoration: none;
}

a:hover {
  color: #0044cf;
}

img,
svg {
  max-width: 100%;
}

.text-muted {
  color: var(--za-muted) !important;
}

.text-danger {
  color: var(--za-red) !important;
  font-size: 0.86rem;
}

.alert {
  border-radius: 8px;
  border-color: var(--za-border);
}

.campaign-form-errors {
  align-items: flex-start;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #7c2d12;
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.campaign-form-errors svg {
  color: #ea580c;
  flex: 0 0 auto;
  height: 22px;
  margin-top: 1px;
  width: 22px;
}

.campaign-form-errors strong,
.campaign-form-errors span {
  display: block;
}

.campaign-form-errors span {
  color: #9a3412;
  font-size: 0.92rem;
  margin-top: 2px;
}

.campaign-form-errors ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.campaign-form-errors li + li {
  margin-top: 4px;
}

.form-label {
  color: var(--za-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  color: var(--za-text);
  min-height: 48px;
  padding: 12px 15px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus {
  border-color: var(--za-blue);
  box-shadow: 0 0 0 3px rgba(0, 93, 255, 0.15);
}

.form-check-input {
  border-color: #9fb0d7;
}

.form-check-input:checked {
  background-color: var(--za-blue);
  border-color: var(--za-blue);
}

.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 45px;
  padding: 10px 18px;
}

.btn svg {
  height: 18px;
  width: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--za-blue), #004dff);
  border-color: var(--za-blue);
  box-shadow: 0 12px 24px rgba(0, 93, 255, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #004fe0, #003fd2);
  border-color: #004fe0;
}

.btn-outline-primary {
  border-color: var(--za-blue);
  color: var(--za-blue);
}

.btn-outline-primary:hover {
  background: var(--za-blue);
  border-color: var(--za-blue);
  color: #ffffff;
}

.btn-outline-secondary {
  border-color: var(--za-border-strong);
  color: var(--za-text);
}

.btn-outline-secondary:hover {
  background: #f1f6ff;
  border-color: var(--za-blue);
  color: var(--za-blue);
}

.btn-success-soft {
  background: #dff8ea;
  color: #007a3f;
}

.standalone-body {
  background: #ffffff;
}

.standalone-shell {
  min-height: 100vh;
}

.global-loading-overlay {
  align-items: center;
  background: rgba(2, 8, 46, 0.58);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10000;
}

.global-loading-overlay[hidden] {
  display: none;
}

.global-loading-status {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(2, 8, 46, 0.2);
  color: var(--za-text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  padding: 28px 32px;
  text-align: center;
  width: 100%;
}

.global-loading-status strong {
  font-size: 1.05rem;
}

.global-loading-status > span:last-child {
  color: var(--za-muted);
  line-height: 1.45;
}

.global-loading-spinner {
  animation: global-loading-spin 0.8s linear infinite;
  border: 4px solid #dce9ff;
  border-radius: 50%;
  border-top-color: var(--za-blue);
  height: 42px;
  margin-bottom: 4px;
  width: 42px;
}

body.is-loading {
  cursor: progress;
  overflow: hidden;
}

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

@media (prefers-reduced-motion: reduce) {
  .global-loading-spinner {
    animation-duration: 1.6s;
  }
}

.app-layout {
  background: #ffffff;
  display: grid;
  grid-template-columns: var(--za-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 116, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #061648 0%, #020a35 45%, #02082e 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 20px 18px 24px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.sidebar-backdrop {
  display: none;
}

.sidebar-close-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  display: none;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
}

body.sidebar-collapsed .app-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.sidebar-collapsed .app-sidebar {
  display: none;
}

.brand-lockup {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 1.72rem;
  font-weight: 900;
  gap: 14px;
  letter-spacing: 0;
  margin-bottom: 34px;
}

.brand-lockup:hover {
  color: #ffffff;
}

.brand-lockup > span > span {
  color: var(--za-blue-2);
}

.brand-logo {
  border-radius: 9px;
  box-shadow: 0 15px 24px rgba(0, 93, 255, 0.24);
  height: 54px;
  width: 54px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-link {
  align-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  font-size: 1rem;
  gap: 14px;
  min-height: 50px;
  padding: 0 14px;
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.side-link.active {
  background: linear-gradient(135deg, #0b77ff, #0052ff);
  box-shadow: 0 12px 26px rgba(0, 82, 255, 0.34);
  color: #ffffff;
}

.side-link svg {
  height: 22px;
  stroke-width: 2;
  width: 22px;
}

.sidebar-plan-card {
  border: 1px solid rgba(70, 128, 255, 0.35);
  border-radius: 8px;
  margin-top: auto;
  padding: 18px;
}

.sidebar-plan-card p {
  font-size: 1.04rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.sidebar-plan-card strong {
  color: #00e5a8;
  display: block;
  font-size: 0.97rem;
  margin-bottom: 8px;
}

.sidebar-plan-card span {
  color: rgba(255, 255, 255, 0.86);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.sidebar-plan-card a {
  align-items: center;
  border: 1px solid rgba(113, 158, 255, 0.45);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
}

.sidebar-plan-card svg {
  height: 17px;
  width: 17px;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--za-border);
  display: flex;
  height: 78px;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

.icon-button,
.date-range-button,
.notification-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  color: var(--za-text);
  display: inline-flex;
  justify-content: center;
  min-height: 45px;
}

.notification-button.active {
  background: #edf4ff;
  color: var(--za-blue);
}

.icon-button {
  width: 45px;
}

.icon-button svg,
.date-range-button svg,
.notification-button svg {
  height: 21px;
  width: 21px;
}

.date-range-button {
  gap: 10px;
  padding: 0 16px;
}

.date-range-button span {
  font-weight: 800;
}

.notification-button {
  border-color: transparent;
  position: relative;
  width: 45px;
}

.notification-button span {
  align-items: center;
  background: #f51025;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  position: absolute;
  right: 4px;
  top: 2px;
  width: 20px;
}

.notification-menu {
  position: relative;
}

.notification-dropdown {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(10, 25, 74, 0.14);
  display: none;
  min-width: 320px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
}

.notification-menu:hover .notification-dropdown,
.notification-menu:focus-within .notification-dropdown {
  display: block;
}

.notification-item {
  border-radius: 8px;
  color: var(--za-text);
  display: block;
  padding: 12px;
  text-decoration: none;
}

.notification-item:hover {
  background: #f5f8ff;
}

.notification-item strong,
.notification-item small,
.notification-item em {
  display: block;
}

.notification-item strong {
  font-size: 0.9rem;
}

.notification-item small {
  color: var(--za-muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: 3px;
}

.notification-item em {
  color: #0060ff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 7px;
}

.user-menu {
  align-items: center;
  color: var(--za-text);
  display: flex;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.user-menu::-webkit-details-marker,
.date-range-button::-webkit-details-marker {
  display: none;
}

.topbar-menu {
  position: relative;
}

.topbar-dropdown {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(10, 25, 74, 0.14);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
}

.date-range-dropdown {
  display: grid;
  gap: 12px;
  min-width: 320px;
  padding: 16px;
}

.date-range-dropdown label {
  display: grid;
  gap: 5px;
}

.date-range-dropdown label span {
  color: var(--za-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.user-dropdown {
  min-width: 230px;
  overflow: hidden;
  padding: 6px;
}

.user-dropdown a,
.user-dropdown button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--za-text);
  display: flex;
  font-weight: 700;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: #f5f8ff;
  color: var(--za-blue);
}

.user-dropdown svg {
  height: 18px;
  width: 18px;
}

.user-dropdown form {
  border-top: 1px solid var(--za-border);
  margin-top: 5px;
  padding-top: 5px;
}

.user-menu strong,
.user-menu small {
  display: block;
  line-height: 1.2;
}

.user-menu strong {
  font-size: 1rem;
  font-weight: 900;
}

.user-menu small {
  color: var(--za-muted);
  font-size: 0.84rem;
}

.avatar {
  align-items: center;
  background: #031257;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.content-shell {
  flex: 1;
  padding: 26px 34px 24px;
}

.app-footer {
  align-items: center;
  border-top: 1px solid var(--za-border);
  color: var(--za-muted);
  display: flex;
  font-size: 0.86rem;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 34px;
}

.app-footer span:last-child {
  display: flex;
  gap: 34px;
}

.legal-page {
  background: #f4f8ff;
  min-height: 100vh;
  padding: 34px;
}

.has-app-shell .legal-page {
  background: transparent;
  min-height: auto;
  padding: 0;
}

.legal-shell {
  margin: 0 auto;
  max-width: 1180px;
}

.legal-hero {
  margin-bottom: 22px;
}

.legal-brand {
  align-items: center;
  color: var(--za-text);
  display: inline-flex;
  font-size: 1.45rem;
  font-weight: 900;
  gap: 12px;
  margin-bottom: 28px;
}

.legal-brand img {
  border-radius: 8px;
  height: 42px;
  width: 42px;
}

.legal-brand span span {
  color: var(--za-blue);
}

.legal-kicker {
  color: var(--za-blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.legal-hero h1 {
  color: var(--za-text);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 12px;
  max-width: 780px;
}

.legal-hero > p {
  color: var(--za-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
}

.legal-meta {
  border: 1px solid var(--za-border);
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  max-width: 860px;
  overflow: hidden;
}

.legal-meta div {
  background: #ffffff;
  padding: 14px 16px;
}

.legal-meta div + div {
  border-left: 1px solid var(--za-border);
}

.legal-meta dt {
  color: var(--za-muted);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.legal-meta dd {
  color: var(--za-text);
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 240px minmax(0, 1fr);
}

.legal-toc {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 16px;
  position: sticky;
  top: 22px;
}

.has-app-shell .legal-toc {
  top: 90px;
}

.legal-toc strong {
  color: var(--za-text);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.legal-toc a {
  border-radius: 6px;
  color: var(--za-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 7px 8px;
}

.legal-toc a:hover {
  background: #eef4ff;
  color: var(--za-blue);
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: var(--za-shadow);
}

.legal-content {
  color: #26335f;
  font-size: 0.86rem;
  line-height: 1.68;
  padding: 34px 42px;
}

.legal-content section {
  border-bottom: 1px solid #e7edf8;
  padding: 0 0 22px;
  scroll-margin-top: 100px;
}

.legal-content section + section {
  padding-top: 22px;
}

.legal-content h2 {
  color: var(--za-text);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px;
}

.legal-content h3 {
  color: #17245a;
  font-size: 0.9rem;
  font-weight: 900;
  margin: 18px 0 8px;
}

.legal-content p {
  margin: 0 0 11px;
}

.legal-content ul {
  margin: 0 0 12px;
  padding-left: 19px;
}

.legal-content li + li {
  margin-top: 4px;
}

.legal-note {
  background: #f3f7ff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  color: var(--za-muted);
  font-size: 0.82rem;
  margin: 24px 0 0 !important;
  padding: 14px 16px;
}

@media (max-width: 980px) {
  .legal-page {
    padding: 22px 14px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-content {
    padding: 26px 22px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-meta div + div {
    border-left: 0;
    border-top: 1px solid var(--za-border);
  }
}

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

.page-heading h1 {
  color: var(--za-text);
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.page-heading p,
.page-subtitle {
  color: var(--za-muted);
  font-size: 1rem;
  margin: 8px 0 0;
}

.eyebrow,
.breadcrumb-line {
  align-items: center;
  color: var(--za-text);
  display: flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  margin-bottom: 15px;
  text-transform: none;
}

.breadcrumb-line svg {
  height: 14px;
  width: 14px;
}

.surface,
.metric,
.panel-card {
  background: var(--za-card);
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(4, 24, 87, 0.035);
}

.surface,
.panel-card {
  margin-bottom: 20px;
  padding: 18px;
}

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

.section-title h2,
.surface h2,
.form-section h2 {
  color: var(--za-text);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.section-title .btn {
  min-height: 40px;
}

.metric-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.metric-row.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 118px;
  padding: 18px;
}

.metric-icon,
.tile-icon,
.auth-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.metric-icon svg,
.tile-icon svg,
.auth-icon svg {
  height: 24px;
  width: 24px;
}

.metric-blue {
  background: linear-gradient(135deg, #0d7aff, #004dff);
  color: #ffffff;
}

.metric-green {
  background: linear-gradient(135deg, #20c778, #0aa85a);
  color: #ffffff;
}

.metric-purple {
  background: linear-gradient(135deg, #9d55ff, #7739df);
  color: #ffffff;
}

.metric-orange {
  background: linear-gradient(135deg, #ff7b1a, #ff4d00);
  color: #ffffff;
}

.metric-cyan {
  background: linear-gradient(135deg, #0ab8c3, #0b91bd);
  color: #ffffff;
}

.metric-soft {
  background: #edf4ff;
  color: var(--za-blue);
}

.metric span {
  color: var(--za-muted);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.metric strong {
  color: var(--za-text);
  display: block;
  font-size: 1.48rem;
  font-weight: 900;
  line-height: 1.15;
}

.metric small {
  color: var(--za-muted);
  display: block;
  font-size: 0.84rem;
  margin-top: 9px;
}

.trend-up {
  color: #009b50 !important;
  font-weight: 900;
}

.trend-down {
  color: #f4152d !important;
  font-weight: 900;
}

.status,
.channel-pill,
.tag-pill {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 6px;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

.status {
  background: #daf5e7;
  color: #00864b;
}

.status.paused {
  background: #fff0d5;
  color: #b45d00;
}

.status.issue {
  background: #ffe1e6;
  color: #c4142a;
}

.channel-pill,
.tag-pill {
  background: #edf4ff;
  color: var(--za-blue);
}

.tag-purple {
  background: #f0e8ff;
  color: var(--za-purple);
}

.table {
  color: var(--za-text);
}

.table > :not(caption) > * > * {
  border-color: var(--za-border);
  padding: 14px 12px;
}

.table thead th {
  color: var(--za-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.table tbody td {
  vertical-align: middle;
}

.table tbody tr:hover {
  background: #f7fbff;
}

.brand-cell,
.platform-cell,
.activity-item,
.list-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.platform-logo,
.platform-logo-sm {
  border-radius: 8px;
  flex: 0 0 auto;
  object-fit: contain;
}

.platform-logo {
  height: 34px;
  width: 34px;
}

.platform-logo-sm {
  height: 27px;
  width: 27px;
}

.platform-name strong,
.brand-cell strong,
.activity-item strong,
.list-row strong {
  display: block;
  font-weight: 900;
}

.platform-name small,
.brand-cell small,
.activity-item small,
.list-row small {
  color: var(--za-muted);
  display: block;
}

.dashboard-grid,
.two-column-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.8fr);
}

.analytics-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.65fr);
}

.analytics-grid > *,
.analytics-grid .surface {
  min-width: 0;
}

.analytics-filter-bar {
  grid-template-columns: repeat(3, minmax(170px, 1fr)) auto;
}

.analytics-section-title {
  align-items: flex-start;
}

.analytics-section-title small {
  color: var(--za-muted);
  display: block;
  margin-top: 4px;
}

.analytics-supporting-metrics {
  border-top: 1px solid var(--za-border);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  padding-top: 16px;
}

.analytics-supporting-metrics span {
  display: grid;
  gap: 2px;
}

.analytics-supporting-metrics small {
  color: var(--za-muted);
}

.analytics-supporting-metrics strong {
  color: var(--za-text);
  font-size: 1rem;
}

.full-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-box {
  height: 310px;
  min-height: 220px;
  position: relative;
}

.analytics-axis-labels {
  bottom: 0;
  color: var(--za-muted);
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  left: 2%;
  pointer-events: none;
  position: absolute;
  right: 2%;
}

.analytics-chart-empty {
  min-height: 310px;
}

.analytics-compact-empty {
  margin-top: 18px;
  padding: 24px 18px;
}

.analytics-compact-empty h3 {
  font-size: 1rem;
}

.trend-neutral {
  color: var(--za-muted);
}

.line-chart {
  height: 100%;
  width: 100%;
}

.chart-legend,
.mini-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.legend-dot {
  border-radius: 999px;
  display: inline-block;
  height: 7px;
  margin-right: 7px;
  width: 12px;
}

.dot-blue {
  background: var(--za-blue);
}

.dot-green {
  background: var(--za-green);
}

.dot-purple {
  background: var(--za-purple);
}

.dot-red {
  background: var(--za-red);
}

.dot-black {
  background: #000000;
}

.donut {
  align-items: center;
  background: conic-gradient(var(--za-blue) 0 42%, var(--za-green) 42% 68%, #c735e8 68% 84%, #f0163a 84% 94%, #000000 94% 100%);
  border-radius: 50%;
  display: flex;
  height: 172px;
  justify-content: center;
  position: relative;
  width: 172px;
}

.donut::after {
  background: #ffffff;
  border-radius: 50%;
  content: "";
  height: 92px;
  position: absolute;
  width: 92px;
}

.donut span {
  color: var(--za-text);
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  position: relative;
  text-align: center;
  z-index: 1;
}

.donut-health {
  background: conic-gradient(var(--za-green) 0 67%, #ffb01f 67% 84%, #f5223a 84% 100%);
}

.donut-small {
  height: 142px;
  width: 142px;
}

.donut-small::after {
  height: 74px;
  width: 74px;
}

.progress-list {
  display: grid;
  gap: 14px;
}

.progress-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(90px, 1fr) minmax(110px, 2fr) auto;
}

.progress-track {
  background: #edf2fb;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
}

.progress-track span {
  background: var(--za-blue);
  border-radius: 999px;
  display: block;
  height: 100%;
}

.progress-track.green span {
  background: var(--za-green);
}

.progress-track.orange span {
  background: var(--za-orange);
}

.progress-track.red span {
  background: var(--za-red);
}

.page-actions,
.account-actions,
.form-actions,
.split-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.action-menu {
  position: relative;
}

.action-menu-panel {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(10, 25, 74, 0.14);
  display: grid;
  min-width: 280px;
  padding: 7px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
}

.action-menu-panel[hidden] {
  display: none;
}

.action-menu-panel a {
  align-items: center;
  border-radius: 8px;
  color: var(--za-text);
  display: flex;
  gap: 12px;
  padding: 11px;
}

.action-menu-panel a:hover {
  background: #f5f8ff;
  color: var(--za-blue);
}

.action-menu-panel svg {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.action-menu-panel strong,
.action-menu-panel small {
  display: block;
}

.action-menu-panel small,
.dashboard-chart-title small {
  color: var(--za-muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.dashboard-chart-filters {
  align-items: center;
  display: flex;
  gap: 8px;
}

.dashboard-chart-filters .form-select {
  min-width: 130px;
}

.campaign-summary-cell {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.campaign-summary-cell > small:not(.status) {
  color: var(--za-muted);
  font-size: 0.76rem;
}

.notification-page-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.notification-inbox {
  overflow: hidden;
  padding: 0;
}

.notification-inbox > .empty-state {
  border: 0;
  margin: 18px;
}

.notification-inbox > .empty-state svg {
  color: var(--za-muted);
  height: 36px;
  margin-bottom: 10px;
  width: 36px;
}

.notification-inbox-item {
  align-items: center;
  border-bottom: 1px solid var(--za-border);
  display: grid;
  gap: 14px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  margin: 0;
  padding: 15px 18px;
}

.notification-inbox-item:last-child {
  border-bottom: 0;
}

.notification-inbox-item.is-unread {
  background: #f5f8ff;
}

.notification-type-icon {
  align-items: center;
  background: #e9f1ff;
  border-radius: 8px;
  color: var(--za-blue);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.notification-type-icon svg,
.notification-inbox-item > svg {
  height: 19px;
  width: 19px;
}

.notification-inbox-content {
  background: transparent;
  border: 0;
  color: var(--za-text);
  padding: 0;
  text-align: left;
  width: 100%;
}

.notification-inbox-content > span {
  align-items: center;
  display: flex;
  gap: 8px;
}

.notification-inbox-content strong,
.notification-inbox-content small,
.notification-inbox-content em {
  display: block;
}

.notification-inbox-content small {
  color: var(--za-muted);
  line-height: 1.45;
  margin-top: 3px;
}

.notification-inbox-content em {
  color: var(--za-muted);
  font-size: 0.76rem;
  font-style: normal;
  margin-top: 6px;
}

.notification-unread-dot {
  background: var(--za-blue);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.split-actions {
  justify-content: space-between;
}

.account-row,
.platform-row,
.location-row {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.platform-row,
.location-row {
  border-bottom: 1px solid var(--za-border);
  padding: 12px 0;
}

.platform-row:last-child,
.location-row:last-child {
  border-bottom: 0;
}

.admin-table {
  max-height: 520px;
  overflow: auto;
}

.empty-state {
  border: 1px dashed var(--za-border-strong);
  border-radius: 8px;
  padding: 34px;
  text-align: center;
}

.empty-state h3 {
  color: var(--za-text);
  font-size: 1.25rem;
  font-weight: 900;
}

.campaign-status-message {
  margin-bottom: 18px;
}

.campaign-table-wrap {
  overflow-x: auto;
}

.campaign-table {
  border-collapse: collapse;
  min-width: 880px;
  width: 100%;
}

.campaign-table th,
.campaign-table td {
  border-bottom: 1px solid var(--za-border);
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.campaign-table th {
  color: var(--za-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.campaign-table td strong,
.campaign-table td small {
  display: block;
}

.campaign-table td small {
  color: var(--za-muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 4px;
}

.campaign-channel-icons,
.campaign-row-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.campaign-channel-icons {
  flex-wrap: wrap;
}

.campaign-row-actions form {
  margin: 0;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-section {
  border-bottom: 1px solid var(--za-border);
  padding-bottom: 20px;
}

.form-section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.audience-picker-grid {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 170px;
}

.target-search-field {
  position: relative;
}

.target-search-field svg {
  color: var(--za-muted);
  height: 20px;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.target-search-field .form-control {
  padding-left: 46px;
}

.audience-code-card {
  align-items: center;
  background: #f4f9ff;
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 58px;
  padding: 9px 14px;
}

.audience-code-card span {
  color: var(--za-muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.audience-code-card strong {
  color: var(--za-text);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.1;
}

.audience-code-card small {
  color: var(--za-blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.objective-grid,
.platform-select-grid,
.channel-selector,
.payment-selector {
  display: grid;
  gap: 14px;
}

.objective-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-select-grid,
.channel-selector {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.objective-card,
.channel-option,
.payment-option,
.ad-format-card {
  background: #ffffff;
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  color: var(--za-text);
  cursor: pointer;
  display: flex;
  min-height: 98px;
  padding: 16px;
  position: relative;
}

.objective-card {
  align-items: center;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  text-align: center;
}

.objective-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0;
}

.objective-card p {
  color: var(--za-muted);
  margin: 0;
}

.objective-card.selected,
.channel-option.selected,
.payment-option.selected,
.ad-format-card.selected {
  background: #f4f9ff;
  border-color: var(--za-blue);
  box-shadow: 0 0 0 1px var(--za-blue);
}

.selected-check {
  align-items: center;
  background: var(--za-blue);
  border-radius: 50%;
  color: #ffffff;
  display: none;
  height: 22px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 22px;
}

.objective-card.selected .selected-check,
.payment-option.selected .selected-check,
.ad-format-card.selected .selected-check {
  display: flex;
}

.channel-option {
  align-items: center;
  flex-direction: column;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
}

.channel-option.disabled {
  background: #f7f9fd;
  color: #8a96b9;
  cursor: not-allowed;
}

.channel-option input {
  position: absolute;
  right: 12px;
  top: 12px;
}

.review-layout,
.campaign-review-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.8fr);
}

.review-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 180px minmax(0, 1fr);
  margin: 0;
}

.review-list dt {
  color: var(--za-muted);
  font-weight: 800;
}

.review-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.stepper {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, auto minmax(50px, 1fr)) auto;
  justify-content: start;
  margin: 24px 0;
}

.stepper.compact {
  grid-template-columns: repeat(3, auto minmax(50px, 1fr)) auto;
}

.step {
  align-items: center;
  color: var(--za-muted);
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  white-space: nowrap;
}

.step span:first-child {
  align-items: center;
  background: #edf4ff;
  border: 1px solid var(--za-border-strong);
  border-radius: 50%;
  color: var(--za-text);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.step.active {
  color: var(--za-blue);
}

.step.active span:first-child {
  background: var(--za-blue);
  color: #ffffff;
}

.step.done span:first-child {
  background: #4caf50;
  border-color: #4caf50;
  color: #ffffff;
}

.step-line {
  background: #bed0ea;
  height: 1px;
  min-width: 44px;
}

.campaign-form-layout,
.creative-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.campaign-main {
  min-width: 0;
}

.campaign-sidebar {
  display: grid;
  gap: 16px;
}

.campaign-wizard-heading {
  margin-bottom: 18px;
}

.campaign-wizard-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.campaign-wizard-main {
  min-width: 0;
}

.campaign-progress {
  background: #dce7f7;
  border-radius: 999px;
  height: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.campaign-progress span {
  background: linear-gradient(90deg, var(--za-blue), var(--za-cyan));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.22s ease;
  width: 20%;
}

.campaign-stepper {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
  padding: 8px;
}

.campaign-step {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--za-muted);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
}

.campaign-step span {
  align-items: center;
  background: #edf4ff;
  border: 1px solid var(--za-border-strong);
  border-radius: 50%;
  color: var(--za-text);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.campaign-step.active {
  background: #eef5ff;
  color: var(--za-blue);
}

.campaign-step.active span {
  background: var(--za-blue);
  border-color: var(--za-blue);
  color: #ffffff;
}

.campaign-step.complete span {
  background: var(--za-green);
  border-color: var(--za-green);
  color: #ffffff;
}

.campaign-step-panel {
  display: none;
}

.campaign-step-panel.active {
  display: block;
}

.wizard-section-label {
  color: var(--za-text);
  font-size: 1rem;
  font-weight: 900;
  margin: 24px 0 12px;
}

.wizard-soft-note {
  align-items: center;
  background: #f2f7ff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  color: var(--za-muted);
  display: flex;
  font-weight: 700;
  gap: 10px;
  min-height: 48px;
  padding: 10px 13px;
}

.wizard-soft-note svg {
  color: var(--za-blue);
  height: 20px;
  width: 20px;
}

.objective-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.objective-grid-compact .objective-card {
  min-height: 164px;
  padding: 18px;
}

.objective-grid-compact .objective-card p {
  font-size: 0.9rem;
  line-height: 1.35;
}

.platform-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-grid-compact .channel-option {
  min-height: 116px;
}

.channel-option span {
  display: grid;
  gap: 2px;
  text-align: center;
}

.channel-option small {
  color: var(--za-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.channel-option.unavailable {
  background: #f7f9fd;
  color: #8a96b9;
  cursor: not-allowed;
  opacity: 0.72;
}

.channel-option.unavailable img {
  filter: grayscale(0.8);
}

.form-hint {
  color: var(--za-muted);
  font-size: 0.82rem;
  margin-top: 6px;
}

.compact-ad-preview {
  margin-top: 14px;
}

.creative-upload-panel {
  margin: 8px 0 18px;
}

.creative-dropzone {
  align-items: center;
  background: #f6f9ff;
  border: 1px dashed #8fb6ff;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  min-height: 96px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.creative-dropzone.dragging,
.creative-dropzone:hover {
  border-color: var(--za-blue);
  box-shadow: 0 12px 30px rgba(0, 93, 255, 0.12);
  transform: translateY(-1px);
}

.creative-dropzone input {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
}

.creative-dropzone strong,
.creative-dropzone small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creative-dropzone strong {
  color: var(--za-text);
  font-weight: 900;
}

.creative-dropzone small {
  color: var(--za-muted);
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 4px;
}

.review-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-card {
  align-items: center;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  min-height: 96px;
  padding: 16px;
}

.review-card small {
  color: var(--za-muted);
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.review-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.wizard-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.wizard-actions > div {
  display: flex;
  gap: 12px;
}

.campaign-wizard-sidebar {
  position: sticky;
  top: 92px;
}

.platform-summary-icons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 30px;
}

.phase-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr auto;
}

.phase-row strong {
  font-size: 0.9rem;
}

.phase-row small {
  font-size: 0.78rem;
  font-weight: 900;
}

.summary-list {
  display: grid;
  gap: 14px;
}

.summary-row {
  border-bottom: 1px solid var(--za-border);
  display: grid;
  gap: 4px;
  padding-bottom: 13px;
}

.summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-row span {
  color: var(--za-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.summary-row strong {
  font-weight: 900;
}

.ad-preview-card {
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  overflow: hidden;
}

.ad-preview-head,
.ad-preview-profile,
.ad-preview-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ad-preview-head {
  border-bottom: 1px solid var(--za-border);
  font-weight: 900;
  padding: 14px;
}

.ad-preview-profile {
  justify-content: flex-start;
  gap: 10px;
  padding: 14px;
}

.ad-preview-profile .avatar {
  height: 38px;
  width: 38px;
}

.ad-preview-body {
  padding: 0 14px 14px;
}

.ad-visual {
  align-items: center;
  background: #eef4ff;
  border-radius: 6px 6px 0 0;
  color: var(--za-muted);
  display: flex;
  font-weight: 900;
  height: 210px;
  justify-content: center;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.ad-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ad-visual.empty {
  border: 1px dashed #bfd2f2;
}

.ad-visual.empty img {
  display: none;
}

.ad-visual span {
  padding: 18px;
  text-align: center;
}

.ad-preview-cta {
  align-items: center;
  background: #f5f7fb;
  border-top: 1px solid var(--za-border);
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.ad-preview-actions {
  color: var(--za-muted);
  padding: 12px 24px;
}

.publish-result {
  border-color: #bde9cf;
  background: #f5fff8;
}

.provider-result {
  border-top: 1px solid #cfeeda;
  padding-top: 14px;
}

.provider-action-panel {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #f2d38a;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px;
}

.provider-action-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.provider-plan {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  margin-top: 10px;
  padding: 14px;
}

.campaign-success-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 42px auto;
  max-width: 760px;
  padding: 46px;
  text-align: center;
}

.campaign-success-icon {
  align-items: center;
  background: #edfff4;
  border: 1px solid #c9efd8;
  border-radius: 50%;
  color: var(--za-green);
  display: inline-flex;
  height: 86px;
  justify-content: center;
  margin-bottom: 22px;
  width: 86px;
}

.campaign-success-icon svg {
  height: 44px;
  width: 44px;
}

.campaign-success-panel h1 {
  color: var(--za-text);
  font-size: 2.4rem;
  font-weight: 900;
  margin: 8px 0 12px;
}

.campaign-success-copy {
  color: var(--za-muted);
  font-size: 1.1rem;
  margin: 0;
  max-width: 520px;
}

.campaign-success-message {
  margin-top: 26px;
  text-align: left;
  width: 100%;
}

.campaign-success-summary {
  border: 1px solid var(--za-border);
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.campaign-success-summary div {
  background: #f8fbff;
  border-right: 1px solid var(--za-border);
  padding: 18px;
}

.campaign-success-summary div:last-child {
  border-right: 0;
}

.campaign-success-summary span,
.campaign-success-summary strong {
  display: block;
}

.campaign-success-summary span {
  color: var(--za-muted);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.campaign-success-summary strong {
  color: var(--za-text);
  font-size: 1rem;
}

.campaign-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.provider-plan h3 {
  font-size: 0.92rem;
  font-weight: 900;
  margin: 14px 0 8px;
}

.plan-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.plan-list,
.config-list {
  color: var(--za-muted);
  margin: 0;
  padding-left: 18px;
}

.auth-screen {
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
}

.auth-marketing {
  background:
    radial-gradient(circle at 15% 15%, rgba(60, 201, 255, 0.42), transparent 20%),
    radial-gradient(circle at 90% 85%, rgba(70, 196, 255, 0.44), transparent 28%),
    linear-gradient(145deg, #061c78 0%, #005dff 54%, #2fb9ff 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 58px 72px;
  position: relative;
}

.auth-marketing::after {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  bottom: -260px;
  content: "";
  height: 620px;
  left: -90px;
  position: absolute;
  transform: rotate(12deg);
  width: 980px;
}

.auth-brand {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.auth-brand img {
  border-radius: 20px;
  height: 126px;
  width: 126px;
}

.auth-brand span {
  font-size: 4.1rem;
  font-weight: 900;
}

.auth-marketing h1 {
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.24;
  margin: 0 0 24px;
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.auth-marketing h1 strong {
  color: #77e5ff;
}

.auth-marketing p {
  font-size: 1.35rem;
  line-height: 1.42;
  margin-bottom: 34px;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.auth-platforms,
.auth-feature-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.auth-platform {
  align-items: center;
  display: grid;
  gap: 9px;
  justify-items: center;
}

.auth-platform img {
  background: #ffffff;
  border-radius: 12px;
  height: 56px;
  padding: 10px;
  width: 56px;
}

.auth-feature-row {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin-top: 72px;
  padding-top: 28px;
}

.auth-feature {
  align-items: center;
  display: flex;
  gap: 12px;
}

.auth-feature svg {
  color: #7ff4ff;
  height: 32px;
  width: 32px;
}

.auth-copy {
  bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  left: 72px;
  position: absolute;
  z-index: 1;
}

.auth-form-side {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 44px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--za-border);
  border-radius: 8px;
  box-shadow: var(--za-shadow);
  max-width: 620px;
  padding: 48px;
  width: 100%;
}

.auth-card.wide {
  max-width: 780px;
}

.auth-card h1 {
  color: var(--za-text);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
}

.auth-card .lead {
  color: var(--za-muted);
  font-size: 1.28rem;
  margin: 14px 0 32px;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-input {
  position: relative;
}

.auth-input svg {
  color: #6b759e;
  height: 22px;
  left: 16px;
  position: absolute;
  top: 45px;
  width: 22px;
  z-index: 1;
}

.auth-input .form-control {
  padding-left: 52px;
}

.auth-card .btn-primary {
  font-size: 1.06rem;
  min-height: 62px;
}

.auth-divider {
  align-items: center;
  color: var(--za-muted);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
  margin: 18px 0;
}

.auth-divider::before,
.auth-divider::after {
  background: var(--za-border);
  content: "";
  height: 1px;
}

.password-strength {
  display: grid;
  gap: 8px;
  --strength-color: var(--za-muted);
}

.strength-bars {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}

.strength-bars span {
  background: #d6deeb;
  border-radius: 999px;
  height: 8px;
  transition: background 0.18s ease;
}

.password-strength strong {
  color: var(--strength-color);
  font-size: 0.98rem;
}

.password-strength.is-weak {
  --strength-color: #ef4444;
}

.password-strength.is-fair {
  --strength-color: #f59e0b;
}

.password-strength.is-good {
  --strength-color: var(--za-blue);
}

.password-strength.is-strong {
  --strength-color: var(--za-green);
}

.password-strength.is-weak .strength-bars span:nth-child(1),
.password-strength.is-fair .strength-bars span:nth-child(-n + 2),
.password-strength.is-good .strength-bars span:nth-child(-n + 3),
.password-strength.is-strong .strength-bars span:nth-child(-n + 4) {
  background: var(--strength-color);
}

.auth-side-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--za-border);
  border-radius: 14px;
  color: var(--za-text);
  max-width: 540px;
  padding: 34px;
  position: relative;
  z-index: 1;
}

.auth-side-card h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.auth-side-card .form-control {
  min-height: 56px;
}

.zen-auth-page {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 93, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #eef4fa 0%, #e8f0f8 100%);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(24px, 7vh, 92px) 24px;
}

.zen-auth-card {
  background: #ffffff;
  border: 1px solid #d3dfec;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(19, 43, 76, 0.18);
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(460px, 1.08fr);
  max-height: 820px;
  max-width: 1420px;
  min-height: 680px;
  overflow: hidden;
  width: min(78vw, 1420px);
}

.zen-auth-info {
  background:
    radial-gradient(circle at 74% 70%, rgba(0, 93, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #182d40 0%, #0f2031 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
}

.zen-auth-brand,
.zen-form-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.zen-auth-brand {
  margin-bottom: clamp(48px, 8vh, 92px);
}

.zen-auth-brand img,
.zen-form-brand img {
  border-radius: 8px;
  height: 52px;
  width: 52px;
}

.zen-auth-brand strong,
.zen-form-brand strong {
  display: block;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.05;
}

.zen-auth-brand span,
.zen-form-brand span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
}

.zen-form-brand span {
  color: #66758d;
}

.zen-auth-copy-block {
  max-width: 500px;
}

.zen-auth-kicker,
.zen-form-kicker {
  color: #91d8ff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 24px;
}

.zen-auth-copy-block h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 3.05vw, 3.45rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 24px;
}

.zen-auth-copy-block p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
}

.zen-auth-checks {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 20px;
  margin-top: clamp(44px, 7vh, 72px);
  padding-bottom: 24px;
}

.zen-auth-checks span,
.zen-auth-support span {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 16px;
}

.zen-auth-checks svg {
  background: rgba(28, 185, 109, 0.16);
  border-radius: 7px;
  color: #73dfaa;
  height: 32px;
  padding: 7px;
  width: 32px;
}

.zen-auth-support {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.zen-auth-support strong {
  color: #ffffff;
  font-size: 1rem;
}

.zen-auth-support svg {
  color: #77cbff;
  height: 21px;
  width: 21px;
}

.zen-platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.zen-platform-strip img {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  height: 44px;
  object-fit: contain;
  padding: 8px;
  width: 44px;
}

.zen-auth-form-panel {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(64px, 7vw, 126px);
}

.zen-form-brand {
  margin-bottom: 42px;
}

.zen-form-kicker {
  color: #126ee5;
  margin-bottom: 20px;
}

.zen-auth-form-panel h1 {
  color: #101a2c;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 14px;
}

.zen-form-subtitle {
  color: #66758d;
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 34px;
}

.zen-auth-tabs {
  border-bottom: 1px solid #dbe4ef;
  display: flex;
  gap: 30px;
  margin-bottom: 22px;
  width: 100%;
}

.zen-auth-tabs span,
.zen-auth-tabs a {
  color: #687589;
  font-size: 1.04rem;
  font-weight: 900;
  padding-bottom: 15px;
}

.zen-auth-tabs .active {
  border-bottom: 3px solid #1877f2;
  color: #126ee5;
}

.zen-auth-form {
  display: grid;
  gap: 20px;
  width: 100%;
}

.zen-field {
  display: grid;
  gap: 8px;
}

.zen-field label {
  color: #334055;
  font-size: 0.96rem;
  font-weight: 900;
}

.zen-input {
  align-items: center;
  border: 1px solid #cbd8e8;
  border-radius: 7px;
  display: flex;
  min-height: 58px;
  padding: 0 18px;
}

.zen-input:focus-within {
  border-color: #1877f2;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.16);
}

.zen-input svg {
  color: #7a879b;
  flex: 0 0 auto;
  height: 21px;
  margin-right: 16px;
  width: 21px;
}

.zen-input input {
  background: transparent;
  border: 0;
  color: #101a2c;
  flex: 1;
  font-size: 1.08rem;
  font-weight: 700;
  outline: none;
}

.zen-input input::placeholder {
  color: #9aa8bb;
}

.zen-form-meta,
.zen-form-footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.zen-form-meta {
  color: #687589;
  font-weight: 800;
  margin-top: 2px;
}

.zen-form-meta span {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.zen-form-meta svg {
  color: #28b66b;
  height: 22px;
  width: 22px;
}

.zen-form-meta a,
.zen-form-footer a {
  color: #126ee5;
  font-weight: 900;
}

.zen-submit {
  align-items: center;
  background: #1976ed;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 62px;
  width: 100%;
}

.zen-submit:hover {
  background: #0f62cc;
}

.zen-submit svg {
  height: 22px;
  width: 22px;
}

.zen-form-footer {
  color: #7a879b;
  font-size: 0.95rem;
  font-weight: 800;
}

.compact-strength {
  gap: 7px;
}

.compact-strength .strength-bars {
  max-width: 100%;
}

@media (max-width: 1300px) {
  .zen-auth-card {
    width: min(88vw, 1180px);
  }

  .zen-auth-form-panel {
    padding-left: 64px;
    padding-right: 64px;
  }
}

@media (max-width: 980px) {
  .zen-auth-page {
    padding: 18px;
  }

  .zen-auth-card {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
    width: min(100%, 640px);
  }

  .zen-auth-info {
    padding: 32px;
  }

  .zen-auth-brand {
    margin-bottom: 34px;
  }

  .zen-auth-checks,
  .zen-auth-support {
    display: none;
  }

  .zen-auth-form-panel {
    padding: 34px;
  }
}

.auth-screen {
  gap: 32px;
  grid-template-columns: minmax(460px, 0.82fr) minmax(560px, 1fr);
  height: 100vh;
  overflow: hidden;
  padding: 5px;
}

.auth-screen.login-auth {
  grid-template-columns: minmax(500px, 0.9fr) minmax(540px, 1fr);
}

.auth-marketing {
  align-items: center;
  border-radius: 16px;
  height: calc(100vh - 10px);
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: 38px 54px;
  text-align: center;
}

.auth-marketing::after {
  display: none;
}

.auth-register-panel {
  gap: 24px;
}

.register-brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 550px;
  position: relative;
  z-index: 1;
}

.register-brand img {
  border-radius: 20px;
  height: 112px;
  width: 112px;
}

.register-brand strong {
  font-size: clamp(3rem, 4vw, 4.05rem);
  font-weight: 900;
  line-height: 1;
}

.register-brand p {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 12px 0 0;
  max-width: 510px;
}

.auth-platforms.compact {
  gap: 21px;
  justify-content: center;
}

.auth-platforms.compact .auth-platform {
  gap: 6px;
}

.auth-platforms.compact .auth-platform img {
  background: #ffffff;
  border-radius: 13px;
  box-shadow: 0 10px 20px rgba(0, 18, 90, 0.14);
  height: 56px;
  object-fit: contain;
  padding: 9px;
  width: 56px;
}

.login-preview-card {
  margin-top: 6px !important;
  max-width: 560px;
  padding: 28px 34px;
  width: 100%;
}

.login-preview-card h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.auth-form.compact {
  gap: 10px;
}

.preview-input {
  align-items: center;
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  color: var(--za-muted);
  display: flex;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
}

.preview-input svg {
  height: 20px;
  width: 20px;
}

.preview-input svg:last-child {
  margin-left: auto;
}

.small-row {
  color: var(--za-muted);
  font-size: 0.9rem;
}

.small-row span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.small-row svg {
  color: var(--za-blue);
  height: 18px;
  width: 18px;
}

.auth-copy {
  align-items: center;
  bottom: 28px;
  display: inline-flex;
  gap: 10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.auth-form-side {
  min-height: calc(100vh - 10px);
  padding: 0 36px;
}

.auth-register-side {
  align-items: stretch;
  padding: 0;
}

.auth-card.register-card {
  align-self: stretch;
  border-radius: 16px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  min-height: calc(100vh - 10px);
  padding: 42px 64px;
  position: relative;
}

.auth-card.register-card h1,
.auth-card.login-card h1 {
  font-size: 2.2rem;
  line-height: 1.08;
}

.auth-card.register-card .lead,
.auth-card.login-card .lead {
  font-size: 1.22rem;
  margin: 12px 0 28px;
}

.auth-step-badge {
  left: 22px;
  position: absolute;
  top: 24px;
}

.register-form {
  gap: 14px;
  margin: 0 auto;
  max-width: 680px;
  width: 100%;
}

.login-form {
  gap: 15px;
}

.auth-input .form-label {
  margin-bottom: 7px;
}

.auth-input .form-control {
  min-height: 58px;
  padding-right: 52px;
}

.auth-input svg {
  top: 43px;
}

.auth-input .auth-input-end {
  left: auto;
  right: 16px;
}

.password-strength {
  gap: 7px;
}

.strength-bars {
  max-width: 390px;
}

.strength-bars span {
  height: 7px;
}

.terms-row {
  line-height: 1.3;
}

.auth-card .btn-primary,
.auth-card .btn-outline-primary,
.auth-card .btn-outline-secondary {
  min-height: 58px;
}

.auth-divider {
  margin: 8px 0;
}

.auth-divider.compact {
  margin: 2px 0;
}

.auth-login-panel {
  align-items: flex-start;
  gap: 22px;
  padding: 42px 60px;
  text-align: left;
}

.login-language {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: inline-flex;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
}

.login-language svg {
  height: 18px;
  width: 18px;
}

.login-brand-row {
  align-items: center;
  display: flex;
  gap: 26px;
  margin-top: 34px;
}

.login-brand-row img {
  border-radius: 19px;
  height: 104px;
  width: 104px;
}

.login-brand-row strong {
  font-size: clamp(3.2rem, 4vw, 4.2rem);
  font-weight: 900;
}

.auth-login-panel h1 {
  font-size: clamp(2.45rem, 3.35vw, 3.45rem);
  margin-bottom: 0;
  max-width: 620px;
}

.auth-login-panel p {
  font-size: 1.28rem;
  margin: 0;
  max-width: 610px;
}

.login-benefits {
  display: grid;
  gap: 15px;
  margin-top: 14px;
}

.login-benefits span {
  align-items: center;
  display: flex;
  font-size: 1.08rem;
  gap: 12px;
}

.login-benefits svg {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  height: 31px;
  padding: 7px;
  width: 31px;
}

.login-actions {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  max-width: 540px;
  width: 100%;
}

.login-actions .btn {
  min-height: 58px;
}

.auth-login-panel .auth-copy {
  left: 60px;
  transform: none;
}

.auth-login-side {
  background: #ffffff;
}

.auth-card.login-card {
  max-width: 640px;
  padding: 48px;
}

.auth-screen.exact-login {
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.88), transparent 22%),
    linear-gradient(135deg, #005cff 0%, #29b9ff 100%);
  gap: 0;
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  padding: 0;
}

.exact-login .auth-login-panel {
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(62, 196, 255, 0.3), transparent 22%),
    linear-gradient(145deg, #061879 0%, #005bff 54%, #2ebcff 100%);
  border-radius: 0;
  gap: 0;
  height: 100vh;
  justify-content: center;
  padding: 64px 82px 70px;
  position: relative;
  text-align: center;
}

.login-hero-brand {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 38px;
}

.login-hero-brand img {
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(0, 20, 94, 0.18);
  height: 126px;
  width: 126px;
}

.login-hero-brand strong {
  color: #ffffff;
  font-size: clamp(4rem, 5vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.exact-login .auth-login-panel .login-tagline {
  color: #ffffff;
  font-size: clamp(2.05rem, 2.35vw, 3rem);
  font-weight: 900;
  line-height: 1.28;
  margin: 0 auto 42px;
  max-width: 720px;
}

.login-tagline span {
  color: #65e1ff;
}

.login-platform-row {
  align-items: center;
  display: flex;
  gap: clamp(22px, 3vw, 58px);
  justify-content: center;
  margin: 0 auto;
}

.login-platform-row span {
  align-items: center;
  color: #ffffff;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.login-platform-row img {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 18, 80, 0.18);
  height: 60px;
  object-fit: contain;
  padding: 10px;
  width: 60px;
}

.login-platform-row strong {
  font-size: 1.02rem;
}

.login-feature-strip {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  max-width: 720px;
  width: 100%;
}

.login-feature-strip span {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 14px;
  justify-content: center;
  min-height: 68px;
  padding: 0 20px;
  text-align: left;
}

.login-feature-strip span:last-child {
  border-right: 0;
}

.login-feature-strip svg {
  color: #75f4ff;
  flex: 0 0 auto;
  height: 36px;
  stroke-width: 1.8;
  width: 36px;
}

.exact-login .auth-login-panel .auth-copy {
  bottom: 52px;
  left: 112px;
  transform: none;
}

.exact-login .auth-login-side {
  align-items: center;
  background:
    radial-gradient(circle at 94% 10%, rgba(115, 219, 255, 0.5), transparent 28%),
    linear-gradient(135deg, rgba(0, 92, 255, 0.08), rgba(255, 255, 255, 0.94) 42%, #ffffff 100%);
  min-height: 100vh;
  padding: 0;
}

.exact-login .auth-card.login-card {
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(4, 24, 87, 0.08);
  max-width: 625px;
  padding: 64px 66px;
  width: min(625px, 78%);
}

.exact-login .auth-card.login-card h1 {
  font-size: 2.2rem;
}

.zenads-auth-stage {
  align-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 93, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #eef4fa 0%, #e8f0f8 100%);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(22px, 6vh, 78px) 24px;
}

.zenads-auth-stage .auth-contained-card {
  border: 1px solid #d1deee;
  border-radius: 14px;
  box-shadow: 0 34px 90px rgba(19, 43, 76, 0.16);
  height: min(770px, calc(100vh - 96px));
  max-width: 1480px;
  min-height: 660px;
  overflow: hidden;
  padding: 0;
  width: min(82vw, 1480px);
}

.zenads-auth-stage .auth-contained-card.auth-screen {
  gap: 0;
}

.zenads-auth-stage .auth-contained-card.login-auth {
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
}

.zenads-auth-stage .auth-contained-card.register-auth {
  grid-template-columns: minmax(520px, 0.92fr) minmax(560px, 1.08fr);
}

.zenads-auth-stage .auth-contained-card .auth-marketing,
.zenads-auth-stage .auth-contained-card .auth-form-side {
  height: auto;
  min-height: 0;
}

.zenads-auth-stage .exact-login .auth-login-panel,
.zenads-auth-stage .auth-register-panel {
  border-radius: 0;
  padding: 46px 58px;
}

.zenads-auth-stage .exact-login .auth-login-side {
  min-height: 0;
}

.zenads-auth-stage .exact-login .auth-card.login-card {
  box-shadow: var(--za-shadow);
  max-width: 620px;
  padding: 48px 54px;
  width: min(78%, 620px);
}

.zenads-auth-stage .auth-card.register-card {
  align-self: stretch;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  padding: 34px 58px;
}

.zenads-auth-stage .register-form {
  gap: 11px;
  max-width: 650px;
}

.zenads-auth-stage .auth-card.register-card h1,
.zenads-auth-stage .auth-card.login-card h1 {
  font-size: 2rem;
}

.zenads-auth-stage .auth-card.register-card .lead,
.zenads-auth-stage .auth-card.login-card .lead {
  font-size: 1.08rem;
  margin-bottom: 20px;
}

.zenads-auth-stage .auth-input .form-control {
  min-height: 52px;
}

.zenads-auth-stage .auth-input svg {
  top: 40px;
}

.zenads-auth-stage .auth-card .btn-primary,
.zenads-auth-stage .auth-card .btn-outline-primary,
.zenads-auth-stage .auth-card .btn-outline-secondary {
  min-height: 52px;
}

.zenads-auth-stage .auth-divider {
  margin: 3px 0;
}

.zenads-auth-stage .login-hero-brand img {
  height: 108px;
  width: 108px;
}

.zenads-auth-stage .login-hero-brand strong {
  font-size: clamp(3.2rem, 4vw, 4.8rem);
}

.zenads-auth-stage .exact-login .auth-login-panel .login-tagline {
  font-size: clamp(1.8rem, 2vw, 2.55rem);
  margin-bottom: 34px;
}

.zenads-auth-stage .login-platform-row img {
  height: 54px;
  width: 54px;
}

.zenads-auth-stage .login-platform-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
}

.zenads-auth-stage .login-platform-row span {
  min-width: 0;
}

.zenads-auth-stage .login-platform-row strong {
  font-size: 0.78rem;
  overflow-wrap: normal;
  text-align: center;
  white-space: nowrap;
}

.zenads-auth-stage .login-feature-strip {
  margin-top: 52px;
}

.zenads-auth-stage .register-brand img {
  height: 92px;
  width: 92px;
}

.zenads-auth-stage .register-brand strong {
  font-size: clamp(2.7rem, 3.5vw, 3.65rem);
}

.zenads-auth-stage .register-brand p {
  font-size: 1.08rem;
}

.zenads-auth-stage .login-preview-card {
  padding: 22px 28px;
}

.zenads-auth-stage .preview-input {
  min-height: 46px;
}

.zenads-auth-stage .auth-copy {
  bottom: 26px;
}

.zenads-auth-stage .exact-login .auth-login-panel .auth-copy {
  left: 58px;
}

@media (max-width: 1200px) {
  .zenads-auth-stage .auth-contained-card {
    height: auto;
    min-height: 0;
    width: min(94vw, 980px);
  }

  .zenads-auth-stage .auth-contained-card.login-auth,
  .zenads-auth-stage .auth-contained-card.register-auth {
    grid-template-columns: 1fr;
  }

  .zenads-auth-stage .auth-contained-card .auth-marketing {
    min-height: 420px;
  }

  .zenads-auth-stage .auth-card.register-card {
    min-height: 0;
  }
}

.onboarding-frame {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  margin: 6px;
  min-height: calc(100vh - 12px);
  padding: 44px;
  position: relative;
}

.step-badge {
  align-items: center;
  background: linear-gradient(135deg, var(--za-blue), #0051ef);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  left: 34px;
  position: absolute;
  top: 34px;
  width: 54px;
}

.onboarding-card {
  max-width: 1240px;
  width: 100%;
}

.onboarding-title {
  margin-bottom: 32px;
  text-align: center;
}

.onboarding-title h1 {
  color: var(--za-text);
  font-size: 2.45rem;
  font-weight: 900;
  margin: 0 0 10px;
}

.onboarding-title p {
  color: var(--za-muted);
  font-size: 1.18rem;
  margin: 0;
}

.verify-layout,
.payment-layout,
.activated-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  width: 100%;
}

.verify-standalone {
  max-width: 760px;
}

.verify-info,
.verify-actions {
  margin-top: 26px;
  max-width: 560px;
  width: 100%;
}

.verify-security {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-top: 30px;
}

.business-onboarding {
  max-width: 820px;
}

.business-profile-form {
  display: grid;
  gap: 24px;
}

.business-fields {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-name-field {
  grid-column: 1 / -1;
}

.business-safety-note {
  margin-top: 0;
}

.business-continue {
  justify-self: end;
  min-width: 230px;
}

.verify-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.mail-illustration,
.success-illustration {
  align-items: center;
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
  border-radius: 28px;
  color: var(--za-blue);
  display: flex;
  height: 154px;
  justify-content: center;
  margin-bottom: 38px;
  position: relative;
  width: 154px;
}

.mail-illustration svg,
.success-illustration svg {
  height: 78px;
  width: 78px;
}

.success-illustration {
  background: radial-gradient(circle, rgba(25, 183, 105, 0.24) 0 44%, rgba(25, 183, 105, 0.12) 44% 66%, transparent 66%);
  color: var(--za-green);
}

.verify-panel h1,
.activated-main h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.email-pill {
  align-items: center;
  background: linear-gradient(135deg, #edf5ff, #f8fbff);
  border: 1px solid var(--za-border);
  border-radius: 8px;
  color: var(--za-text);
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 900;
  gap: 18px;
  margin: 22px 0;
  min-height: 70px;
  padding: 0 34px;
}

.info-band,
.success-band,
.tip-card {
  align-items: center;
  background: #f0f7ff;
  border: 1px solid var(--za-border);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  padding: 18px;
}

.success-band {
  background: #edfff4;
  border-color: #c9efd8;
}

.plan-toggle {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  display: inline-grid;
  gap: 4px;
  grid-template-columns: repeat(3, auto);
  margin: 0 auto 26px;
  padding: 4px;
}

.plan-toggle span {
  border-radius: 7px;
  color: var(--za-text);
  font-weight: 900;
  padding: 12px 36px;
}

.plan-toggle span.active {
  background: #ffffff;
  border: 1px solid var(--za-border-strong);
  color: var(--za-blue);
}

.plan-toggle span.save {
  background: #def8e8;
  color: #008e4d;
}

.billing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.billing-frequency {
  align-items: center;
  color: var(--za-muted);
  display: flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin: 0 0 26px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 28px 22px;
}

.pricing-card.featured {
  border-color: var(--za-blue);
  box-shadow: 0 0 0 1px var(--za-blue), var(--za-shadow);
}

.plan-code {
  align-self: center;
  background: #eef4ff;
  border-radius: 6px;
  color: var(--za-blue);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 5px 8px;
  text-transform: uppercase;
}

.pricing-card h2 {
  font-size: 1.55rem;
  margin: 18px 0 10px;
  text-align: center;
}

.price-line {
  align-items: baseline;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.price-line strong {
  color: var(--za-blue);
  font-size: 2rem;
  font-weight: 900;
}

.price-line span {
  color: var(--za-muted);
  margin-left: 4px;
}

.plan-limits {
  border-top: 1px solid var(--za-border);
  color: var(--za-text);
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 22px 0;
  padding: 24px 0 0;
}

.plan-limits li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.plan-limits li::before {
  color: var(--za-blue);
  content: "✓";
  font-weight: 900;
}

.plan-platform-icons,
.activated-platform-icons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-platform-icons {
  justify-content: center;
  min-height: 32px;
}

.activated-platform-icons {
  margin-top: 8px;
}

.plan-platform-icons img,
.activated-platform-icons img {
  background: #ffffff;
  border: 1px solid var(--za-border);
  border-radius: 6px;
  height: 30px;
  object-fit: contain;
  padding: 5px;
  width: 30px;
}

.pricing-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.billing-cancelled-banner {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #f3cc72;
  border-radius: 8px;
  color: #553b00;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
}

.billing-page {
  max-width: 100%;
  min-width: 0;
}

.standalone-body .billing-page {
  margin: 0 auto;
  max-width: 1680px;
  padding: 28px 34px;
}

.billing-cancelled-banner div {
  display: grid;
  gap: 3px;
}

.billing-metrics .metric {
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.billing-metrics .metric-icon {
  height: 40px;
  width: 40px;
}

.billing-metrics .metric > div:last-child {
  min-width: 0;
}

.billing-reference {
  overflow-wrap: anywhere;
}

.billing-metrics .metric:nth-child(-n + 4) strong {
  font-size: 1.25rem;
  white-space: nowrap;
}

.billing-dashboard-grid {
  grid-template-columns: minmax(0, 2fr) minmax(290px, 0.8fr);
}

.billing-dashboard-grid > *,
.billing-dashboard-grid .surface,
.billing-dashboard-grid .side-panel-stack,
.billing-dashboard-grid .table-responsive {
  max-width: 100%;
  min-width: 0;
}

.billing-empty {
  align-items: center;
  color: var(--za-muted);
  display: grid;
  gap: 5px;
  justify-items: center;
  min-height: 190px;
  padding: 28px;
  text-align: center;
}

.billing-empty svg {
  color: var(--za-blue);
  height: 30px;
  width: 30px;
}

.billing-empty strong {
  color: var(--za-text);
}

.billing-history-empty table {
  min-width: 0;
  width: 100%;
}

.billing-history-empty thead {
  display: none;
}

.billing-history-empty td {
  display: block;
  width: 100%;
}

.billing-reference {
  display: inline-block;
  max-width: 170px;
}

.billing-status-success {
  background: #def8e8;
  color: #087947;
}

.billing-status-pending {
  background: #fff0c7;
  color: #755000;
}

.billing-status-failed {
  background: #ffe1e4;
  color: #a71928;
}

.billing-status-refunded {
  background: #e8eefb;
  color: #3c4c73;
}

.billing-trend {
  align-items: end;
  border-bottom: 1px solid var(--za-border);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(28px, 1fr));
  height: 170px;
  padding: 8px 4px 0;
}

.billing-trend-column {
  align-items: stretch;
  display: grid;
  gap: 7px;
  grid-template-rows: 124px 22px;
  min-width: 0;
  text-align: center;
}

.billing-trend-bars {
  align-items: end;
  display: flex;
  gap: 3px;
  justify-content: center;
}

.billing-trend-bars span {
  border-radius: 3px 3px 0 0;
  display: block;
  max-width: 16px;
  min-height: 3px;
  width: 42%;
}

.billing-trend-bars .paid {
  background: #19a863;
}

.billing-trend-bars .pending {
  background: #176ce8;
}

.billing-plan-section {
  border-top: 1px solid var(--za-border);
  margin-top: 26px;
  padding-top: 26px;
}

.billing-management-grid .pricing-card {
  min-height: 430px;
}

.pricing-card.current {
  border-color: #19a863;
  box-shadow: 0 0 0 1px #19a863;
}

.plan-heading-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.plan-heading-row h2 {
  margin: 0;
  text-align: left;
}

.billing-cancel-section {
  align-items: center;
  border-top: 1px solid #efb7bd;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 30px;
  padding: 28px 0 8px;
}

.billing-cancel-section h2 {
  font-size: 1.05rem;
  margin: 0 0 7px;
}

.billing-cancel-section p {
  color: var(--za-muted);
  margin: 0;
  max-width: 760px;
}

@media (max-width: 1180px) {
  .billing-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .standalone-body .billing-page {
    padding: 20px 16px;
  }

  .billing-cancelled-banner,
  .billing-cancel-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .billing-cancel-section form,
  .billing-cancel-section button {
    width: 100%;
  }

  .billing-page .section-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

.checkout-form {
  display: none;
}

.all-plans-band {
  align-items: center;
  display: flex;
  gap: 24px;
  margin: 30px auto;
  max-width: 1120px;
}

.all-plans-band > div:last-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.payment-layout {
  align-items: start;
}

.payment-main h1 {
  font-size: 2.35rem;
  font-weight: 900;
}

.payment-main > p {
  color: var(--za-muted);
  font-size: 1.22rem;
}

.payment-tabs {
  border: 1px solid var(--za-border-strong);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.card-only-option {
  align-items: center;
  border: 2px solid var(--za-blue);
  border-radius: 8px;
  color: var(--za-blue);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  padding: 14px 18px;
}

.card-only-option > svg {
  height: 28px;
  width: 28px;
}

.card-only-option span {
  display: grid;
}

.card-only-option small {
  color: var(--za-muted);
}

.card-option-check {
  color: var(--za-green);
}

.payment-tab {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-right: 1px solid var(--za-border-strong);
  color: var(--za-text);
  display: flex;
  font-size: 1.05rem;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 78px;
}

.payment-tab:last-child {
  border-right: 0;
}

.payment-tab.active {
  box-shadow: inset 0 0 0 2px var(--za-blue);
  color: var(--za-blue);
}

.card-preview-icons {
  align-items: center;
  display: flex;
  gap: 8px;
  position: absolute;
  right: 18px;
  top: 42px;
}

.card-preview-icons span {
  background: #f4f7ff;
  border: 1px solid var(--za-border);
  border-radius: 6px;
  color: var(--za-blue);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 7px;
}

.order-summary {
  padding: 36px;
}

.order-summary h2 {
  font-size: 1.55rem;
  margin-bottom: 30px;
}

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

.order-row.total {
  border-bottom: 0;
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 12px;
}

.order-row.total strong {
  color: var(--za-blue);
  font-size: 1.65rem;
}

.activated-main {
  text-align: center;
}

.activated-main .status {
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.activated-plan {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  margin: 26px 0 32px;
  text-align: left;
}

.next-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 28px;
}

.next-card {
  border: 1px solid var(--za-border);
  border-radius: 8px;
  min-height: 210px;
  padding: 24px;
  text-align: center;
}

.next-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin: 18px 0 8px;
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-list .list-row {
  border-bottom: 1px solid var(--za-border);
  padding: 20px 0;
}

.feature-list .list-row:last-child {
  border-bottom: 0;
}

.account-select-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
}

.toolbar {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.search-box {
  max-width: 340px;
  position: relative;
  width: 100%;
}

.search-box svg {
  color: #7180a7;
  height: 18px;
  left: 15px;
  position: absolute;
  top: 15px;
  width: 18px;
}

.search-box input {
  padding-left: 44px;
}

.side-panel-stack {
  display: grid;
  gap: 14px;
}

.health-summary {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr;
}

.activity-feed {
  display: grid;
  gap: 18px;
}

.mock-page-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
}

@media (max-width: 1280px) {
  .billing-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }
}

@media (max-height: 860px) and (min-width: 1081px) {
  .auth-marketing {
    gap: 14px;
    padding-bottom: 26px;
    padding-top: 26px;
  }

  .register-brand img {
    height: 88px;
    width: 88px;
  }

  .register-brand strong {
    font-size: 3rem;
  }

  .register-brand p {
    font-size: 1.05rem;
    margin-top: 4px;
  }

  .auth-platforms.compact .auth-platform img {
    height: 48px;
    width: 48px;
  }

  .login-preview-card {
    padding: 22px 28px;
  }

  .preview-input {
    min-height: 46px;
  }

  .auth-form.compact {
    gap: 8px;
  }

  .auth-card.register-card {
    padding-bottom: 28px;
    padding-top: 28px;
  }

  .auth-card.register-card h1,
  .auth-card.login-card h1 {
    font-size: 1.9rem;
  }

  .auth-card.register-card .lead,
  .auth-card.login-card .lead {
    font-size: 1.06rem;
    margin-bottom: 18px;
  }

  .register-form,
  .login-form {
    gap: 10px;
  }

  .auth-input .form-control {
    min-height: 50px;
  }

  .auth-input svg {
    top: 39px;
  }

  .auth-card .btn-primary,
  .auth-card .btn-outline-primary,
  .auth-card .btn-outline-secondary {
    min-height: 50px;
  }

  .auth-divider {
    margin: 2px 0;
  }

  .login-brand-row {
    margin-top: 12px;
  }

  .login-brand-row img {
    height: 84px;
    width: 84px;
  }

  .auth-login-panel h1 {
    font-size: 2.5rem;
  }

  .auth-login-panel p {
    font-size: 1.08rem;
  }

  .login-benefits {
    gap: 10px;
    margin-top: 4px;
  }

  .login-actions {
    margin-top: 4px;
  }
}

@media (max-width: 1080px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    bottom: 0;
    left: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform 180ms ease;
    width: min(var(--za-sidebar-width), 86vw);
  }

  body.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .sidebar-close-button {
    display: inline-flex;
  }

  .app-sidebar .brand-lockup {
    padding-right: 45px;
  }

  body.sidebar-open .sidebar-backdrop {
    background: rgba(2, 8, 46, 0.48);
    border: 0;
    bottom: 0;
    display: block;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 25;
  }

  .metric-row,
  .metric-row.five,
  .dashboard-grid,
  .analytics-grid,
  .two-column-grid,
  .full-grid,
  .review-layout,
  .campaign-review-layout,
  .campaign-form-layout,
  .campaign-wizard-layout,
  .creative-layout,
  .verify-layout,
  .payment-layout,
  .activated-layout,
  .mock-page-grid {
    grid-template-columns: 1fr;
  }

  .platform-select-grid,
  .channel-selector,
  .objective-grid,
  .platform-grid-compact,
  .objective-grid-compact,
  .audience-picker-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-wizard-sidebar {
    position: static;
  }

  .campaign-stepper {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .auth-screen {
    grid-template-columns: 1fr;
  }

  .auth-marketing {
    min-height: auto;
    padding: 48px 32px;
  }

  .auth-form-side {
    min-height: auto;
    padding: 32px;
  }

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

@media (max-width: 760px) {
  .analytics-filter-bar,
  .analytics-supporting-metrics {
    grid-template-columns: 1fr;
  }

  .analytics-intervals {
    width: 100%;
  }

  .analytics-section-title {
    flex-direction: column;
  }

  .analytics-intervals .btn {
    flex: 1;
  }

  .audience-filter-bar {
    grid-template-columns: 1fr;
  }

  .audience-filter-actions .btn {
    flex: 1;
  }

  .audience-assignment-form > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 14px;
  }

  .zenads-auth-stage .login-platform-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
  }

  .zenads-auth-stage .login-feature-strip {
    gap: 0;
    grid-template-columns: 1fr;
    margin-top: 34px;
    max-width: 240px;
  }

  .zenads-auth-stage .login-feature-strip span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 0;
    justify-content: flex-start;
    min-height: 54px;
    padding: 8px 0;
    width: 100%;
  }

  .zenads-auth-stage .login-feature-strip span:last-child {
    border-bottom: 0;
  }

  .zenads-auth-stage .login-feature-strip svg {
    height: 28px;
    width: 28px;
  }

  .zenads-auth-stage .exact-login .auth-login-panel .auth-copy {
    align-self: center;
    bottom: auto;
    left: auto;
    margin-top: 24px;
    position: static;
  }

  .content-shell,
  .app-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .app-topbar {
    padding: 0 16px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .date-range-button span,
  .user-menu span:not(.avatar) {
    display: none;
  }

  .date-range-button {
    padding: 0 11px;
  }

  .date-range-button svg:last-child {
    display: none;
  }

  .date-range-dropdown {
    min-width: min(320px, calc(100vw - 32px));
  }

  .dashboard-chart-title,
  .dashboard-chart-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-chart-filters,
  .dashboard-chart-filters label,
  .dashboard-chart-filters .form-select,
  .dashboard-chart-filters .btn {
    width: 100%;
  }

  .action-menu-panel {
    left: 0;
    right: auto;
  }

  .notification-inbox-item {
    align-items: start;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }

  .notification-type-icon {
    height: 36px;
    width: 36px;
  }

  .notification-inbox-item > svg {
    display: none;
  }

  .campaign-summary-cell {
    justify-items: start;
    text-align: left;
  }

  .page-heading,
  .toolbar,
  .account-row,
  .platform-row,
  .location-row,
  .split-actions,
  .all-plans-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-actions,
  .account-actions,
  .form-actions {
    flex-wrap: wrap;
  }

  .metric-row,
  .metric-row.five,
  .campaign-success-summary,
  .billing-grid,
  .platform-select-grid,
  .channel-selector,
  .objective-grid,
  .platform-grid-compact,
  .objective-grid-compact,
  .audience-picker-grid,
  .campaign-stepper,
  .review-grid,
  .next-grid,
  .payment-tabs,
  .account-select-form {
    grid-template-columns: 1fr;
  }

  .business-fields {
    grid-template-columns: 1fr;
  }

  .business-name-field {
    grid-column: auto;
  }

  .business-continue {
    justify-self: stretch;
  }

  .campaign-success-summary div {
    border-bottom: 1px solid var(--za-border);
    border-right: 0;
  }

  .campaign-success-summary div:last-child {
    border-bottom: 0;
  }

  .wizard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard-actions > div {
    flex-direction: column-reverse;
  }

  .auth-brand span {
    font-size: 3rem;
  }

  .auth-marketing h1 {
    font-size: 2.2rem;
  }

  .auth-card {
    padding: 30px 22px;
  }

  .onboarding-frame {
    border-radius: 0;
    margin: 0;
    padding: 82px 18px 26px;
  }

  .step-badge {
    left: 18px;
    top: 18px;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .stepper,
  .stepper.compact {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .step-line {
    display: none;
  }
}
