/* ============================================
   Promotions Pages — Extracted Styles
   promotion-detail.html
   promotion-create.html
   promotions-list.html
   ============================================ */

/* ======================
   SHARED: Body background
   ====================== */
.promo-body {
  background: #e8f0fa;
  min-height: 100vh;
}

/* ======================
   SHARED: Sidebar logos
   ====================== */
.sidebar-logo-full {
  height: 38px;
  margin: 0 auto;
}
.sidebar-logo-mark {
  height: 28px;
  margin: 0 auto;
  display: none;
}

/* ======================
   SHARED: Topbar user cursor
   ====================== */
.topbar-user-trigger {
  cursor: pointer;
}

/* ======================
   SHARED: Promo table column widths & alignment
   ====================== */
.promo-table__col--type { width: 90px; text-align: center; }
.promo-table__col--type-lg { width: 100px; text-align: center; }
.promo-table__col--reg-price { width: 95px; text-align: right; }
.promo-table__col--promo-price { width: 95px; text-align: right; }
.promo-table__col--promo-price-input { width: 100px; text-align: right; }
.promo-table__col--discount { width: 80px; text-align: center; }
.promo-table__col--discount-type { width: 120px; text-align: center; }
.promo-table__col--status { width: 80px; text-align: center; }
.promo-table__col--email { width: 180px; }
.promo-table__col--link-status { width: 100px; text-align: center; }
.promo-table__col--access-code { width: 110px; text-align: center; }
.promo-table__col--sent-at { width: 110px; }
.promo-table__col--clients { width: 110px; text-align: center; }
.promo-table__col--accessed { width: 90px; text-align: center; }
.promo-table__col--reservations { width: 100px; text-align: center; }
.promo-table__col--actions { width: 32px; }
.promo-table__col--reg-price-sm { width: 90px; text-align: right; }

/* ======================
   SHARED: Cell alignment helpers
   ====================== */
.cell--center { text-align: center; }
.cell--right { text-align: right; }

/* ======================
   SHARED: Cell font sizes
   ====================== */
.cell--sm { font-size: 0.8125rem; }
.cell--xs { font-size: 0.6875rem; }

/* ======================
   SHARED: Promo price (green, bold)
   ====================== */
.cell--promo-price {
  text-align: right;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #16a34a;
}

/* ======================
   SHARED: Discount cell (green, bold, center)
   ====================== */
.cell--discount {
  text-align: center;
  font-size: 0.8125rem;
  color: #16a34a;
  font-weight: 600;
}

/* ======================
   SHARED: Product name in table
   ====================== */
.product-name {
  font-size: 0.8125rem;
  line-height: 1.3;
}

/* ======================
   SHARED: Badge variants (type badges)
   ====================== */
.badge--natural-slab {
  background: #e8f2fb;
  color: #0364B1;
  border: 1px solid #bfdbfe;
  font-size: 0.6875rem;
}
.badge--engineered {
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  font-size: 0.6875rem;
}
.badge--tiles {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #99f6e4;
  font-size: 0.6875rem;
}

/* ======================
   SHARED: Status badge borders
   ====================== */
.badge--bordered-success {
  border: 1px solid #bbf7d0;
  font-size: 0.6875rem;
}
.badge--bordered-warning {
  border: 1px solid #fde68a;
  font-size: 0.6875rem;
}
.badge--bordered-info {
  border: 1px solid #bfdbfe;
  font-size: 0.6875rem;
}

/* ======================
   SHARED: Group chip color variants
   ====================== */
.group-chip--premium {
  background: #e8f2fb;
  color: #0364B1;
  border: 1px solid #bfdbfe;
}
.group-chip--vip {
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.group-chip--wholesale {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.group-chip--individual {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #d0d5dd;
}
.group-chip--sm {
  font-size: 0.75rem;
}

/* ======================
   SHARED: Group chip count (lighter weight)
   ====================== */
.group-chip__count {
  font-weight: 400;
  margin-left: 4px;
}

/* ======================
   SHARED: Inline flex row with gap (th/td header rows)
   ====================== */
.th-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ======================
   SHARED: Add button (small circle in table header)
   ====================== */
.add-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 5px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ======================
   SHARED: Count hint in th
   ====================== */
.th-count {
  font-weight: 400;
  color: #94a3b8;
}

/* ======================
   SHARED: Muted email/secondary text in labels
   ====================== */
.label-muted {
  color: #94a3b8;
  font-weight: 400;
}

/* ======================
   SHARED: Form select max-width
   ====================== */
.form-select--narrow {
  max-width: 240px;
}

/* ======================
   SHARED: Textarea resize vertical
   ====================== */
.textarea--resize-vertical {
  resize: vertical;
}

/* ======================
   SHARED: Form label with extra bottom margin
   ====================== */
.form-label--spaced {
  margin-bottom: 12px;
}
.form-label--spaced-sm {
  margin-bottom: 8px;
}

/* ======================
   SHARED: Search wrapper (relative positioning)
   ====================== */
.search-wrapper {
  position: relative;
  margin-bottom: 8px;
}
.search-wrapper--lg {
  position: relative;
  margin-bottom: 14px;
}

/* ======================
   SHARED: Search input sizing
   ====================== */
.search-input {
  padding: 10px 14px;
  font-size: 0.8125rem;
}
.search-input--with-btn {
  padding: 10px 40px 10px 14px;
  font-size: 0.875rem;
  border-color: #cbd5e1;
}

/* ======================
   SHARED: Search button (inside input)
   ====================== */
.search-btn {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* ======================
   SHARED: Overflow auto wrapper
   ====================== */
.overflow-x-auto {
  overflow-x: auto;
}

/* ======================
   SHARED: Button inline-flex with gap
   ====================== */
.btn--inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn--inline-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ======================
   SHARED: Link button (no decoration)
   ====================== */
.btn--link {
  text-decoration: none;
}

/* ======================
   SHARED: Toggle row border
   ====================== */
.toggle-row--bordered {
  border-top: 1px solid #f1f5f9;
}

/* ======================
   SHARED: Card stat summary row (margin-top on flex row)
   ====================== */
.promo-card__stats {
  margin-top: 12px;
}

/* ======================
   SHARED: Value in green
   ====================== */
.value--success {
  color: #16a34a;
}

/* ======================
   SHARED: Strong text in primary color
   ====================== */
.strong--primary {
  color: var(--text-primary);
}

/* ======================
   DETAIL: Stat cards row
   ====================== */
.promo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.promo-stat {
  background: #fff;
  border-radius: 7px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.promo-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.promo-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.promo-stat .stat-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ======================
   DETAIL: Tabs
   ====================== */
.promo-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}
.promo-tab {
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.promo-tab:hover { color: var(--primary); }
.promo-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* ======================
   DETAIL: Tab panels
   ====================== */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ======================
   DETAIL: Two column layout
   ====================== */
.two-col {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 16px;
}

/* ======================
   DETAIL: Info card
   ====================== */
.info-card {
  background: #fff;
  border-radius: 7px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}
.info-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card-title svg { color: #64748b; }

/* ======================
   DETAIL: Campaign description text
   ====================== */
.info-card__description {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ======================
   DETAIL: Timeline
   ====================== */
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 5px;
  flex-shrink: 0;
}
.timeline-dot.gray { background: #cbd5e1; }
.timeline-content { flex: 1; }
.timeline-date {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
}
.timeline-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ======================
   DETAIL: Promo table (shared with create)
   ====================== */
.promo-table { width: 100%; border-collapse: collapse; }
.promo-table th {
  background: #ececed;
  color: #2a60ac;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 8px 10px;
  text-align: left;
}
.promo-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8125rem;
  vertical-align: middle;
}
.promo-table .remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}
.promo-table .remove-btn:hover { color: #ef4444; }

/* ======================
   DETAIL: Group badge chips
   ====================== */
.group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.group-chips--spaced {
  margin-bottom: 12px;
}
.group-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ======================
   DETAIL: Summary list
   ====================== */
.summary-list { list-style: none; padding: 0; margin: 0; }
.summary-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8125rem;
}
.summary-list li:last-child { border-bottom: none; }
.summary-list .sl-label { color: var(--text-secondary); }
.summary-list .sl-value { font-weight: 600; color: var(--text-primary); }

/* ======================
   DETAIL: Three-dot menu button
   ====================== */
.dots-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 5px;
}
.dots-btn:hover {
  background: #f1f5f9;
  color: var(--text-primary);
}

/* ======================
   DETAIL: Masked code
   ====================== */
.masked-code {
  font-family: monospace;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

/* ======================
   DETAIL: Page header title row
   ====================== */
.detail-header__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.detail-header__title {
  margin: 0;
}
.detail-header__badge {
  border: 1px solid #bbf7d0;
}
.detail-header__edit-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.detail-header__meta {
  margin-top: 6px;
}

/* ======================
   DETAIL: Audience summary footer
   ====================== */
.audience-summary {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* ======================
   DETAIL: Access links header bar
   ====================== */
.access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
}
.access-header__title {
  color: var(--text-primary);
}

/* ======================
   DETAIL: Activity feed
   ====================== */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.activity-item:last-child {
  border-bottom: none;
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.activity-dot--success { background: #22c55e; }
.activity-dot--info { background: #3C8ACC; }
.activity-dot--warning { background: #f59e0b; }
.activity-content { flex: 1; }
.activity-text {
  font-size: 0.8125rem;
  color: var(--text-primary);
}

/* ======================
   CREATE: Wizard topbar
   ====================== */
.wizard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.wizard-topbar .logo { height: 28px; }
.wizard-topbar .back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  text-decoration: none;
}
.wizard-topbar .back-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ======================
   CREATE: Promo form layout
   ====================== */
.promo-form {
  max-width: 860px;
  margin: 32px auto;
  padding: 0 24px;
}
.promo-form h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.promo-form .subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ======================
   CREATE: Form card
   ====================== */
.form-card {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 28px;
  margin-bottom: 20px;
}
.form-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-card-title svg { color: #64748b; }

/* ======================
   CREATE: Form layout helpers
   ====================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-label .optional { font-weight: 400; color: #94a3b8; }
.form-hint { font-size: 0.75rem; color: #94a3b8; margin-top: 4px; }

/* ======================
   CREATE: Radio cards
   ====================== */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.rc-card {
  border: 2px solid #e2e8f0;
  border-radius: 7px;
  padding: 14px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
  text-align: center;
}
.rc-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(3,100,177,0.08);
}
.rc-card.selected {
  border-color: var(--primary);
  background: #f0f7ff;
}
.rc-card .rc-icon {
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}
.rc-card .rc-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.rc-card .rc-desc {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ======================
   CREATE: Audience sub-panels
   ====================== */
.audience-panel { display: none; margin-top: 8px; padding: 14px; background: #f8fafc; border-radius: 7px; border: 1px solid #e2e8f0; }
.audience-panel.show { display: block; }

/* ======================
   CREATE: Checkbox group
   ====================== */
.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.checkbox-item:hover { border-color: var(--primary); background: #f0f7ff; }
.checkbox-item.checked { border-color: var(--primary); background: #f0f7ff; }
.checkbox-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.checkbox-item label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  flex: 1;
}
.checkbox-item .cb-count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ======================
   CREATE: Discount type selector
   ====================== */
.discount-select {
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.75rem;
  color: var(--text-primary);
  background: #fff;
  cursor: pointer;
}

/* ======================
   CREATE: Toggle
   ====================== */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.toggle-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}
.toggle-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-switch.on { background: var(--primary); }
.toggle-switch .toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch.on .toggle-knob { transform: translateX(20px); }

/* ======================
   CREATE: Bottom actions
   ====================== */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 0 40px;
}

/* ======================
   CREATE: Price input small
   ====================== */
.price-input-sm {
  width: 90px;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.8125rem;
  text-align: right;
}

/* ======================
   CREATE: Client search list
   ====================== */
.client-search-list {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 8px;
}

/* ======================
   LIST: Visibility badges
   ====================== */
.badge--public {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.6875rem;
  font-weight: 500;
}
.badge--private {
  background: #e8f2fb;
  color: #0364B1;
  border: 1px solid #bfdbfe;
  font-size: 0.6875rem;
  font-weight: 500;
}
.badge--private svg,
.badge--public svg {
  vertical-align: -1px;
  margin-right: 3px;
}

/* ======================
   LIST: Low stock warning icon (inline)
   ====================== */
.stock-warning {
  color: #f59e0b;
  margin-left: 4px;
  vertical-align: -1px;
}

/* ======================
   LIST: Items column
   ====================== */
.promo-table__col--items { width: 80px; }
.promo-table__col--audience { width: 90px; }
.promo-table__col--interests { width: 90px; }
.promo-table__col--created { width: 100px; }
.promo-table__col--visibility { width: 90px; }

/* ======================
   DETAIL: Shareable URL bar
   ====================== */
.share-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 5px;
  font-size: 0.75rem;
  color: #64748b;
}
.share-url__link {
  font-family: monospace;
  color: #0364B1;
  letter-spacing: -0.02em;
}
.share-url__copy {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 2px;
}
.share-url__copy:hover { color: #0364B1; }

/* ======================
   DETAIL: Stock health bars
   ====================== */
.stock-health-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.stock-health-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  width: 90px;
  flex-shrink: 0;
}
.stock-health-bar {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.stock-health-fill {
  height: 100%;
  border-radius: 4px;
}
.stock-health-fill--green { background: #22c55e; }
.stock-health-fill--orange { background: #f59e0b; }
.stock-health-fill--red { background: #ef4444; }
.stock-health-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  width: 60px;
  text-align: right;
  flex-shrink: 0;
}

/* ======================
   DETAIL: Out of stock row
   ====================== */
.tr--out-of-stock {
  opacity: 0.45;
}

/* ======================
   DETAIL: Interest action buttons
   ====================== */
.btn--reserve {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
}
.btn--reserve:hover { background: #d1fae5; }
.btn--decline {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
}
.btn--decline:hover { background: #fee2e2; }
.btn--contact {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
}
.btn--contact:hover { background: #f1f5f9; }
.interest-actions {
  display: flex;
  gap: 4px;
}

/* ======================
   DETAIL: Interest status badges
   ====================== */
.badge--new {
  background: #e8f2fb;
  color: #0364B1;
  border: 1px solid #bfdbfe;
}
.badge--reviewed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.badge--reserved {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.badge--declined {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ======================
   CREATE: Visibility radio cards (2 columns)
   ====================== */
.radio-cards--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

/* ======================
   CREATE: URL preview box
   ====================== */
.url-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  margin-top: 8px;
}
.url-preview__text {
  font-family: monospace;
  font-size: 0.8125rem;
  color: #0364B1;
  flex: 1;
}
.url-preview__copy {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  cursor: pointer;
}

/* ======================
   CREATE: Global discount input row
   ====================== */
.global-discount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}
.global-discount-row input[type="number"] {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.875rem;
  text-align: center;
}

/* ======================
   CREATE: Notification inline input
   ====================== */
.notification-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
}
.notification-row input[type="number"] {
  width: 60px;
  padding: 4px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.8125rem;
  text-align: center;
}

/* ======================
   CREATE: Pricing method select (wider)
   ====================== */
.pricing-method-select {
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.75rem;
  color: var(--text-primary);
  background: #fff;
  cursor: pointer;
  min-width: 110px;
}

/* ======================
   CREATE: Value input (price/percent)
   ====================== */
.value-input-sm {
  width: 80px;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 0.8125rem;
  text-align: right;
}
.value-input-sm:disabled {
  background: #f8fafc;
  color: #94a3b8;
}

/* ======================
   SHARED: Final price (green bold)
   ====================== */
.cell--final-price {
  text-align: right;
  font-weight: 600;
  color: #16a34a;
  font-size: 0.8125rem;
}

/* ======================
   SHARED: Stock count cell
   ====================== */
.cell--stock {
  text-align: right;
  font-size: 0.8125rem;
}
.stock-low { color: #f59e0b; font-weight: 600; }
.stock-out { color: #ef4444; font-weight: 600; }

/* ======================
   LIST: Description truncation
   ====================== */
/* ======================
   LIST: Health indicator bar
   ====================== */
.health-bar {
  display: inline-block;
  width: 4px;
  height: 32px;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  cursor: help;
}
.health-bar--green { background: #22c55e; }
.health-bar--yellow { background: #f59e0b; }
.health-bar--red { background: #ef4444; }
.health-bar .health-tooltip {
  display: none;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.health-bar:hover .health-tooltip { display: block; }
.promo-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-desc-truncate {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ======================
   LIST: Badge bordered variants (local to promotions)
   ====================== */
.badge--bordered-neutral {
  border: 1px solid #d0d5dd;
  font-size: 0.6875rem;
}
.badge--bordered-danger {
  border: 1px solid #fecaca;
  font-size: 0.6875rem;
}
