/* ============================================
   Settings Page — Extracted Inline Styles
   ============================================ */

/* === Roles Section === */
/* === Top-Level Settings Tabs (Corporate / This Location) === */
.settings-top-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.settings-top-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}

.settings-top-tab:hover { color: var(--primary); }

.settings-top-tab--active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}

/* === Branding Logos Grid === */
.branding-logos-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-upload-box--square {
  width: 80px;
  height: 80px;
  border-radius: 7px;
  border: 2px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  flex-shrink: 0;
}

.logo-upload-box__img--square {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
}

/* === Users & Roles Side-by-Side Layout === */
.users-roles-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 16px;
  align-items: start;
}

.th-w-60 { width: 60px; }
.th-w-70 { width: 70px; }

/* Wide side panel for roles */
.side-panel--wide {
  width: 680px;
  max-width: 90vw;
}

.role-header-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

/* === Permission Tabs === */
.role-perm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.role-perm-tab {
  padding: 8px 14px;
  border: none;
  background: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

.role-perm-tab:hover { color: var(--primary); }

.role-perm-tab--active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}

.role-perm-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 20px;
}

.role-perm-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}

.role-permission-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}

.role-permission-item:hover {
  background: #e2e8f0;
}

.role-permission-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* === Activity Pills (moved from <style> block) === */
.activity-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.activity-pill:hover { border-color: #64748b; }
.activity-pill.active {
  background: #1b6fad;
  border-color: #1b6fad;
  color: #fff;
  font-weight: 600;
}

/* === Sidebar Logo Images === */
.logo-full--sidebar {
  height: 38px;
  margin: 0 auto;
}
.logo-mark--sidebar {
  height: 28px;
  margin: 0 auto;
  display: none;
}

/* === Cursor Pointer === */
.cursor-pointer { cursor: pointer; }

/* === Section Headings === */
.section-heading {
  margin-bottom: 8px;
}
.section-heading__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.section-heading__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

/* === Location Section Divider === */
.section-divider {
  margin-top: 32px;
  margin-bottom: 8px;
  padding-top: 24px;
  border-top: 2px solid #cbd5e1;
}

/* === Location Selector === */
.location-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

/* === Override Hint === */
.override-hint {
  padding: 0 0 8px 0;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: #64748b;
}

/* === Card Variants === */
.card--narrow { max-width: 700px; }
.card--medium { max-width: 600px; }
.card--mb { margin-bottom: 16px; }

/* === Card Padding === */
.card__body { padding: 24px; }
.card__body--sm { padding: 16px; }
.card__body--md { padding: 20px; }

/* === Section Titles Inside Cards === */
.card-section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.card-section-title--sm {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* === Form Grid Layouts === */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid-2--sm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-grid-2--mb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-grid-2--sm-mb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

/* === Pricing Grid === */
.pricing-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
}

/* === Category Grid === */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* === Integration Grid === */
.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* === Form Group Overrides === */
.form-group--flush { margin-bottom: 0; }
.form-group--sm { margin-bottom: 14px; }

/* === Form Labels === */
.form-label--settings {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}
.form-label--settings-gap {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}
.form-label--tiny {
  font-size: 0.6875rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 3px;
}
.form-label--tiny-gap {
  font-size: 0.6875rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}
.form-label--inline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* === Form Controls === */
.form-control--sm { font-size: 0.875rem; }
.form-control--sm-resize {
  font-size: 0.875rem;
  resize: vertical;
}
.form-control--number {
  font-size: 0.875rem;
  width: 120px;
  background: #fff;
  border-color: #94a3b8;
}
.form-control--sort {
  font-size: 0.875rem;
  width: 100px;
}
.form-control--modal {
  font-size: 0.8125rem;
  resize: vertical;
}

/* === Chip / Pill Selectors === */
.chip-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip-group--tight {
  display: flex;
  gap: 4px;
}
.chip-group--col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chip-group--col-gap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chip {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 7px;
  background: #fff;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
}
.chip--active {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 7px;
  background: #d0e4f7;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  cursor: pointer;
}
.chip--sm {
  padding: 5px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 7px;
  background: #fff;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
}
.chip--sm-active {
  padding: 5px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 7px;
  background: #d0e4f7;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  cursor: pointer;
}
.chip--xs {
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 7px;
  background: #fff;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
  cursor: pointer;
}
.chip--xs-active {
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 7px;
  background: #d0e4f7;
  color: var(--primary);
  border: 1px solid var(--primary);
  cursor: pointer;
}
.chip--vertical {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 7px;
  background: #fff;
  color: #64748b;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  text-align: center;
}
.chip--vertical-active {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 7px;
  background: #d0e4f7;
  color: var(--primary);
  border: 1px solid var(--primary);
  cursor: pointer;
  text-align: center;
}

/* Webhook event chips (smaller) */
.chip--event {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 7px;
  background: #fff;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
}

/* === Table Header Styles === */
.th-settings {
  background: #ececed;
  color: #2a60ac;
  font-weight: 700;
}
.th-settings--empty {
  background: #ececed;
  width: 32px;
}

/* === Table Header Content with Add Button === */
.th-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === Add Button (inline circle in th) === */
.th-add-btn {
  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;
}

/* === Count Label in TH === */
.th-count {
  font-weight: 400;
  color: #94a3b8;
}

/* === Text Alignment === */
.text-center { text-align: center; }

/* === Row Clickable === */
.row-clickable { cursor: pointer; }

/* === Location Name in Table === */
.location-name { font-size: 0.9375rem; }

/* === Slug Color === */
.text-primary-link { color: var(--primary); }

/* === Margin Top Tiny === */
.mt-0_5 { margin-top: 2px; }
.mt-1 { margin-top: 4px; }
.mt-1_5 { margin-top: 6px; }
.mt-2_5 { margin-top: 10px; }
.mt-3 { margin-top: 12px; }

/* === Badge Rounded Variants === */
.badge--rounded {
  border-radius: 7px;
}
.badge--rounded-info {
  border: 1px solid #93c5fd;
  border-radius: 7px;
}
.badge--rounded-success {
  border: 1px solid #86efac;
  border-radius: 7px;
}
.badge--rounded-warning {
  border: 1px solid #fbbf24;
  border-radius: 7px;
}
.badge--rounded-neutral {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
}
.badge--rounded-purple {
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #c4b5fd;
  border-radius: 7px;
}

/* === Tag Badges (in tables) === */
.tag-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 7px;
}
.tag-badge--info {
  background: #e8f2fb;
  color: #0364B1;
  border: 1px solid #93c5fd;
}
.tag-badge--warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}
.tag-badge--indigo {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #a5b4fc;
}
.tag-badge--teal {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #5eead4;
}

/* === Toggle Switch === */
.toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  margin: 0 auto;
}
.toggle--on { background: var(--primary); }
.toggle--off { background: #cbd5e1; }
.toggle__knob {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle__knob--on { right: 2px; }
.toggle__knob--off { left: 2px; }

/* Large toggle */
.toggle--lg {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
}
.toggle--lg .toggle__knob {
  width: 18px;
  height: 18px;
}

/* === Section Dividers (inside forms/panels) === */
.form-divider {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  margin-top: 6px;
}
.form-divider--lg {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  margin-top: 14px;
}
.form-divider--section {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  margin-top: 20px;
}

/* === Section Sub Headings (in panels) === */
.form-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-section-label--lg {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.form-section-label--gap {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* === Button Sizes (page-specific) === */
.btn--settings-sm {
  font-size: 0.8125rem;
  padding: 8px 20px;
}
.btn--settings {
  font-size: 0.8125rem;
  padding: 8px 16px;
}
.btn--settings-action {
  font-size: 0.8125rem;
  padding: 7px 14px;
}
.btn--upload {
  font-size: 0.75rem;
  padding: 5px 14px;
}
.btn--upload-mr {
  font-size: 0.75rem;
  padding: 5px 14px;
  margin-right: 6px;
}
.btn--tiny {
  font-size: 0.7rem;
  padding: 4px 10px;
}
.btn--tiny-mr {
  font-size: 0.7rem;
  padding: 4px 10px;
  margin-right: 4px;
}
.btn--xs {
  font-size: 0.75rem;
  padding: 5px 10px;
}
.btn--micro {
  font-size: 0.6875rem;
  padding: 4px 8px;
}
.btn--sm-settings {
  font-size: 0.8125rem;
  padding: 6px 12px;
}
.btn--sm-settings-pad {
  font-size: 0.8125rem;
  padding: 6px 14px;
}
.btn--danger-text {
  font-size: 0.7rem;
  padding: 4px 10px;
  color: #ef4444;
}
.btn--danger-reset {
  font-size: 0.75rem;
  padding: 5px 12px;
  color: #dc2626;
  border-color: #fecaca;
}
.btn--invite-icon {
  font-size: 0.8125rem;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* === Logo Containers === */
.logo-box {
  width: 80px;
  height: 80px;
  border-radius: 7px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}
.logo-box__img { height: 40px; }

.logo-upload-box {
  width: 120px;
  height: 80px;
  border: 2px dashed #cbd5e1;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}
.logo-upload-box__img {
  max-width: 100px;
  max-height: 60px;
}

.logo-mini-box {
  width: 80px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}
.logo-mini-box__img {
  max-width: 70px;
  max-height: 30px;
}

/* === Using-default Indicator === */
.using-default {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* === Section Footer Actions === */
.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.form-actions--gap {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.form-actions--between {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

/* === Modal Actions (inside modals) === */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

/* === Side Panel === */
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 1001;
  overflow-y: auto;
}
.side-panel__header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.side-panel__title {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}
.side-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #94a3b8;
}
.side-panel__body {
  padding: 20px;
}

/* === Modal Overlay === */
.modal-overlay--settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}
.modal-box {
  background: #fff;
  border-radius: 7px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.modal-box--sm { width: 400px; }
.modal-box--md { width: 420px; }
.modal-box--lg { width: 440px; }
.modal-box__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* === Panel Overlay === */
.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
}

/* === Email Warning Bar === */
.warning-bar {
  padding: 12px 16px;
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  font-size: 0.8125rem;
  color: #92400e;
}

/* === Flex Helpers (page-specific) === */
.flex-center-gap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.flex-center-gap--lg {
  display: flex;
  align-items: center;
  gap: 20px;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.flex-between--flush {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-between--mb-sm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* === Font Size === */
.text-body { font-size: 0.875rem; }
.text-body-lg { font-size: 0.9375rem; }
.text-auto-sync { font-size: 0.8125rem; }

/* === Integration Card Block === */
.integration-block {
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 10px;
}
.integration-block--last {
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 14px;
}
.integration-block--clickable {
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.integration-block__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === Integration Stats === */
.integration-stats {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 12px;
  font-size: 0.6875rem;
  color: #64748b;
}
.integration-stats__bold { font-weight: 600; }

/* === Integration Actions === */
.integration-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

/* === Word Break === */
.word-break-all { word-break: break-all; }

/* === Inline-flex group (for badge status in panel) === */
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.status-row--flush {
  display: flex;
  gap: 8px;
}
.status-row--gap-4 {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === Radio Option Card === */
.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.8125rem;
}
.radio-card--selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--primary);
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.8125rem;
  background: #f0f7ff;
}

/* === Accent Color for Inputs === */
.accent-primary { accent-color: var(--primary); }

/* === Checkbox label in panels === */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  cursor: pointer;
}

/* === Margin Bottom Variations === */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2_5 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 12px; }
.mb-3_5 { margin-bottom: 14px; }
.mb-5 { margin-bottom: 20px; }

/* === Category Overrides Box === */
.override-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #f8fafc;
}
.override-box--disabled {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
  opacity: 0.5;
}

/* === Rich Text Editor === */
.rich-editor {
  border: 1px solid #94a3b8;
  border-radius: 7px;
  overflow: hidden;
}
.rich-editor__toolbar {
  display: flex;
  gap: 2px;
  padding: 6px 8px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.rich-editor__btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #334155;
}
.rich-editor__btn--bold { font-weight: 700; }
.rich-editor__btn--italic { font-style: italic; }
.rich-editor__btn--underline { text-decoration: underline; }
.rich-editor__sep {
  width: 1px;
  background: #e2e8f0;
  margin: 4px 4px;
}
.rich-editor__content {
  min-height: 180px;
  padding: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #0f172a;
  outline: none;
  background: #fff;
}

/* === Card Footer with Border === */
.card-footer--hint {
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
}

/* === Dropdown Menu Inline === */
.dropdown--inline {
  position: relative;
  display: inline-block;
}
.dropdown-popup {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
  min-width: 120px;
}
.dropdown-popup__item {
  display: block;
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: #334155;
  text-decoration: none;
}
.dropdown-popup__item--danger {
  display: block;
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: #dc2626;
  text-decoration: none;
  border-top: 1px solid #f1f5f9;
}

/* === Optional text in label === */
.label-optional {
  font-weight: 400;
  color: #94a3b8;
}

/* === HubSpot Field Mapping === */
.field-mapping {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  align-items: center;
  font-size: 0.8125rem;
}
.field-mapping__cell {
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
}
.field-mapping__arrow {
  color: #94a3b8;
}

/* === Visibility margin-bottom === */
.vis-section {
  margin-bottom: 20px;
}

/* === Badge font size override for loc branding === */
.badge--sm-font {
  font-size: 0.75rem;
}

/* === Table Column Widths === */
.th-w-70  { width: 70px; }
.th-w-80  { width: 80px; }
.th-w-90  { width: 90px; }
.th-w-100 { width: 100px; }
.th-w-120 { width: 120px; }
.th-w-130 { width: 130px; }
.th-w-140 { width: 140px; }
.th-w-150 { width: 150px; }
.th-w-160 { width: 160px; }
