:root {
  --bg: #f8f1ea;
  --bg-soft: #fffaf6;
  --panel: #fffdfb;
  --text: #241919;
  --muted: #7f6d67;
  --accent: #8a345f;
  --accent-soft: #f5e2ea;
  --success: #75a55f;
  --border: #eadccf;
  --shadow: 0 16px 36px rgba(109, 77, 61, 0.12);
  --danger: #bb5262;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(138, 52, 95, 0.08), transparent 28%),
    linear-gradient(180deg, #fffaf6, #f8f1ea 56%, #f5ece3);
  color: var(--text);
}

.hidden {
  display: none !important;
}

.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

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

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 22px;
  min-height: calc(100vh - 52px);
  padding: 22px 16px;
}

.sidebar-brand {
  padding: 4px 8px 18px;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand-name {
  font-size: 28px;
  color: var(--accent);
}

.sidebar-brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.sidebar-nav-btn {
  width: 100%;
  border-radius: 14px;
  padding: 13px 14px;
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.sidebar-nav-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(138, 52, 95, 0.16);
}

.sidebar-logout-btn {
  margin-top: 10px;
  color: var(--danger);
  border-color: rgba(187, 82, 98, 0.24);
}

.sidebar-logout-btn:hover {
  background: rgba(187, 82, 98, 0.08);
}

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

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card,
.surface {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.login-card {
  width: min(100%, 460px);
  padding: 28px;
}

.auth-mode-row,
.toolbar,
.management-actions,
.topbar,
.section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar,
.section-header {
  justify-content: space-between;
  align-items: center;
}

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

.auth-mode-row {
  margin: 18px 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.page-title {
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.08;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(18px, 2.6vw, 28px);
  margin-bottom: 0;
}

.sub,
.muted {
  color: var(--muted);
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.auth-mode-btn {
  flex: 1;
  background: rgba(138, 52, 95, 0.04);
  color: var(--muted);
  border: 1px solid var(--border);
}

.auth-mode-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.secondary-btn {
  background: #fff;
  color: var(--accent);
  border: 2px solid rgba(138, 52, 95, 0.26);
}

.danger-btn {
  background: var(--danger);
}

.view-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  margin: 18px 0 24px;
}

.view-tab-btn {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 10px 16px;
}

.view-tab-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.login-form,
.management-form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.auth-hint,
#authError,
.form-status,
#error {
  min-height: 1.2em;
  white-space: pre-wrap;
}

.auth-hint {
  color: var(--muted);
  font-size: 13px;
}

#authError,
#error,
.form-status.error {
  color: #b54d5e;
}

.form-status {
  color: var(--success);
}

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

.dashboard-summary {
  grid-template-columns: repeat(2, minmax(0, 280px));
}

.stat-card {
  padding: 18px 20px;
}

.stat-icon {
  width: 56px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--accent);
  background: linear-gradient(180deg, #f7e8ea, #fff3ec);
  margin-bottom: 12px;
}

.stat-label {
  font-size: 15px;
  color: #5f4e4d;
}

.stat-value {
  margin-top: 8px;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
}

.stat-foot {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

.live-dot {
  color: var(--success);
}

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

.campaigns-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  justify-content: start;
}

.promo-card {
  padding: 18px;
}

.campaign-simple-card {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.campaign-simple-card:hover,
.campaign-simple-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(109, 77, 61, 0.17);
  outline: none;
}

.campaign-simple-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.campaign-card-schedule {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.campaign-card-schedule strong {
  color: var(--text);
  font-weight: normal;
}

.promo-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.promo-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  background: #eef7e8;
  color: #527f44;
  border: 1px solid #d9e8cb;
}

.promo-status.inactive {
  background: #f7f1eb;
  color: #8b7a70;
  border-color: #eadfd7;
}

.promo-status.scheduled {
  background: #f5edf8;
  color: #765083;
  border-color: #e4d4e9;
}

.promo-date,
.promo-meta {
  color: var(--muted);
  font-size: 15px;
}

.promo-title {
  margin: 18px 0 14px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 0.98;
  max-width: 8ch;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.promo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.promo-metric {
  padding-right: 10px;
  border-right: 1px solid var(--border);
}

.promo-metric:last-child {
  border-right: 0;
}

.promo-metric-number {
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.promo-metric-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.campaign-calendar {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.campaign-calendar-title {
  font-size: 14px;
  color: var(--muted);
}

.campaign-schedule {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
}

.schedule-date-block {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.schedule-month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.schedule-day {
  font-size: 25px;
  line-height: 1;
}

.schedule-time {
  color: var(--text);
  font-size: 15px;
}

.schedule-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.promo-actions.single-action {
  grid-template-columns: 1fr;
}

.restaurant-info-shell,
.details-shell {
  padding: 20px;
}

.restaurant-profile-name {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  color: var(--accent);
}

.restaurant-profile-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.subscriber-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.subscriber-inline > span:first-child,
.subscriber-inline strong {
  color: var(--accent);
}

.discount-summary-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.discount-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.discount-summary-title {
  display: grid;
  gap: 3px;
}

.discount-summary-title span {
  color: var(--muted);
  font-size: 12px;
}

.location-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-chip {
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  border: 1px solid #e4d4e9;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.location-chip-address {
  color: var(--muted);
  font-size: 12px;
}

.restaurant-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 12px 0 0;
}

.restaurant-info-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.restaurant-info-list dt {
  color: var(--muted);
  font-size: 13px;
}

.restaurant-info-list dd {
  margin: 6px 0 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.restaurant-info-list .restaurant-menu-row {
  grid-column: 1 / -1;
}

.restaurant-menu-row dd {
  white-space: pre-wrap;
}

.profile-link {
  color: var(--accent);
}

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

.detail-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff8f1;
}

.detail-label {
  font-size: 13px;
  color: var(--muted);
}

.detail-value {
  margin-top: 6px;
  font-size: 26px;
  color: var(--accent);
}

.details-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 25, 25, 0.42);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 30;
}

.modal-card {
  width: min(100%, 780px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
}

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

.form-section {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
}

.form-section-title {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 4px;
}

.checkbox-field input,
.day-option input {
  width: auto;
}

.days-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.mapping-list {
  display: grid;
  gap: 10px;
}

.mapping-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.mapping-remove-btn {
  padding: 12px 14px;
}

.stacked-surface {
  margin-top: 18px;
}

.discount-card .promo-title {
  max-width: none;
  font-size: 30px;
}

.discount-card-details {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.mapping-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mapping-chip {
  padding: 7px 9px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  overflow-wrap: anywhere;
}

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

  .dashboard-sidebar {
    position: static;
    min-height: 0;
  }

  .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .promos-grid,
  .promo-metrics,
  .promo-actions,
  .details-metrics,
  .details-grid,
  .restaurant-info-list,
  .info-grid,
  .form-grid,
  .mapping-row {
    grid-template-columns: 1fr;
  }

  .promo-metric {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .promo-metric:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .topbar,
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dashboard visual system inspired by the Dakki reference layout. */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fbf9f7;
}

h1,
h2,
h3,
.sidebar-brand-name {
  font-family: Georgia, "Times New Roman", serif;
}

.shell {
  max-width: none;
  padding: 0;
}

.dashboard-layout {
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
}

.dashboard-sidebar.surface {
  top: 0;
  min-height: 100vh;
  padding: 30px 20px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(155deg, #4b243d, #67304f 58%, #55243f);
  box-shadow: 10px 0 28px rgba(69, 34, 56, 0.1);
}

.sidebar-brand {
  padding: 0 14px 28px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sidebar-brand-name {
  color: #fff;
  font-size: 30px;
}

.sidebar-brand-name span {
  color: #d8bdd3;
  font-size: 56px;
  line-height: 0.7;
}

.sidebar-brand-sub {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.sidebar-nav {
  gap: 7px;
  margin-top: 24px;
}

.sidebar-nav-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
}

.sidebar-nav-btn span {
  width: 21px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  text-align: center;
}

.sidebar-nav-btn:hover,
.sidebar-nav-btn.active {
  color: #fff;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.12);
}

.sidebar-logout-btn {
  margin-top: 18px;
  padding-top: 19px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-logout-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-main {
  padding: 36px 48px 60px;
}

.topbar {
  margin-bottom: 54px;
}

.page-title {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.02em;
}

.topbar .muted {
  font-size: 16px;
}

button {
  background: #f1e9ee;
  color: #5d3652;
}

button:hover {
  filter: brightness(0.97);
}

.danger-btn {
  background: var(--danger);
  color: #fff;
}

.section-title {
  font-size: 29px;
}

.surface {
  border-color: #e8e1dd;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(67, 42, 54, 0.055);
}

.dashboard-summary {
  gap: 12px;
  margin-bottom: 32px;
}

.dashboard-summary .stat-card {
  padding: 14px 18px;
}

.dashboard-summary .stat-icon {
  display: none;
}

.dashboard-summary .stat-value {
  font-size: 32px;
}

.campaign-table-shell {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #e7dfda;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(67, 42, 54, 0.04);
}

.campaign-table-header,
.campaign-table-row {
  display: grid;
  grid-template-columns:
    minmax(190px, 1.35fr)
    minmax(105px, 0.72fr)
    minmax(130px, 0.9fr)
    minmax(130px, 0.9fr)
    minmax(95px, 0.7fr)
    58px;
  gap: 18px;
  align-items: center;
}

.campaign-table-header {
  padding: 18px 24px;
  color: #6e6562;
  border-bottom: 1px solid #e7dfda;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-table-row {
  position: relative;
  min-height: 112px;
  padding: 20px 24px;
  cursor: pointer;
  border-bottom: 1px solid #eee7e3;
  transition: background 150ms ease;
}

.campaign-table-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: #bd91b6;
}

.campaign-table-row:last-child {
  border-bottom: 0;
}

.campaign-table-row:hover,
.campaign-table-row:focus-visible {
  background: #fff;
  outline: none;
}

.campaign-table-title-cell,
.campaign-table-date {
  display: grid;
  gap: 5px;
}

.campaign-table-title-cell strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.campaign-table-title-cell span,
.campaign-table-date span {
  color: var(--muted);
  font-size: 13px;
}

.campaign-table-date strong {
  font-weight: 500;
}

.campaign-table-actions {
  color: #87577c;
  font-size: 28px;
  text-align: center;
}

.promo-status {
  justify-content: center;
  width: fit-content;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 1100px) {
  .dashboard-main {
    padding: 30px 28px 48px;
  }

  .campaign-table-header,
  .campaign-table-row {
    grid-template-columns: minmax(180px, 1.4fr) 100px 125px 125px 80px 35px;
    gap: 12px;
  }
}

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

  .dashboard-sidebar.surface {
    position: static;
    min-height: 0;
    padding: 18px;
  }

  .sidebar-brand {
    padding-bottom: 16px;
  }

  .sidebar-brand-name span {
    font-size: 40px;
  }

  .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

  .sidebar-logout-btn {
    margin-top: 0;
    padding-top: 14px;
    border-top: 0;
    border-radius: 12px;
  }

  .dashboard-main {
    padding: 26px 20px 44px;
  }

  .campaign-table-header {
    display: none;
  }

  .campaign-table-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 20px 20px 20px 24px;
  }

  .campaign-table-row > :nth-child(3),
  .campaign-table-row > :nth-child(4),
  .campaign-table-row > :nth-child(5) {
    display: grid;
  }

  .campaign-table-actions {
    display: none;
  }
}

@media (max-width: 620px) {
  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .campaign-table-row {
    grid-template-columns: 1fr;
  }
}

/* Guided campaign editor */
.modal-backdrop {
  left: 265px;
  place-items: start center;
  padding: 0;
  overflow-y: auto;
  background: #fbf9f7;
}

.modal-card.surface {
  width: min(100%, 1080px);
  max-height: none;
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 38px 70px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fbf9f7;
  box-shadow: none;
}

.editor-header {
  margin-bottom: 26px;
}

.editor-header .section-title {
  font-size: clamp(34px, 4vw, 46px);
}

.campaign-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 30px;
}

.campaign-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  text-align: center;
}

.campaign-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 28px);
  width: calc(100% - 38px);
  height: 1px;
  background: #dfd5d0;
}

.campaign-step span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #ded4cf;
  border-radius: 50%;
  background: #fbf9f7;
  color: var(--text);
}

.campaign-step.active span {
  border-color: #8a345f;
  background: #8a345f;
  color: #fff;
}

.campaign-step strong {
  color: var(--text);
  font-size: 13px;
}

.campaign-step.active strong {
  color: var(--accent);
}

.campaign-step small {
  font-size: 12px;
}

#promoForm {
  gap: 14px;
}

#promoForm .form-section {
  gap: 18px;
  padding: 24px;
  border-color: #e5ddd8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 6px 18px rgba(67, 42, 54, 0.035);
}

.editor-section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.editor-section-heading > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #f4eaf1;
  color: var(--accent);
  font-size: 21px;
}

.editor-section-heading .form-section-title {
  font-size: 18px;
}

#promoForm input,
#promoForm textarea,
#promoForm select {
  border-color: #dfd6d1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

#promoForm input:focus,
#promoForm textarea:focus,
#promoForm select:focus {
  outline: 2px solid rgba(138, 52, 95, 0.16);
  border-color: #a6688d;
}

.editor-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  justify-content: flex-end;
  padding: 16px 0 4px;
  background: linear-gradient(180deg, transparent, #fbf9f7 30%);
}

.editor-actions #savePromoBtn {
  min-width: 180px;
  background: linear-gradient(135deg, #8a345f, #73304f);
  color: #fff;
}

@media (max-width: 980px) {
  .modal-backdrop {
    left: 0;
  }

  .modal-card.surface {
    padding: 26px 20px 56px;
  }
}

@media (max-width: 620px) {
  .campaign-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  #promoForm .form-section {
    padding: 18px;
  }
}
