/* =========================================================================
   FE 3.0 — Allocate-an-Account wizard styles
   -------------------------------------------------------------------------
   WHY: This wizard needs an allocation table, a scrollable positions list,
        and a right-rail "Trade summary" panel that don't appear on any
        other 3.0 page. Everything below is scoped under .fe30-allocate-page
        so it can never bleed into other surfaces.
   PROMPT: "FE 3.0 Allocate-an-Account Wizard - implement the plan as specified"
   DATE:   2026-05-10
   ========================================================================= */

.fe30-allocate-page {
  display: grid;
  gap: var(--space-5, 20px);
}

/* ------------------------------------------------------------------------
   Layout: stepper column + summary rail. Mirrors fe30-nb-grid so the page
   feels visually consistent with Open Accounts.
   ------------------------------------------------------------------------ */

.fe30-allocate-grid {
  display: grid;
  gap: var(--space-5, 20px);
  grid-template-columns: 1fr 320px;
  align-items: start;
}

@media (max-width: 1200px) {
  .fe30-allocate-grid {
    grid-template-columns: 1fr;
  }
}

.fe30-allocate-content {
  min-width: 0;
}

/* ------------------------------------------------------------------------
   Step host card + section headings
   ------------------------------------------------------------------------ */

.fe30-allocate-step-host h3 {
  margin: 0 0 var(--space-3, 12px);
  font-size: 16px;
  color: var(--dark-navy, #202f3d);
}

.fe30-allocate-step-host p.fe30-allocate-step-hint {
  margin: 0 0 var(--space-4, 16px);
  color: var(--gray-600, #525252);
  font-size: 13px;
  line-height: 1.45;
}

/* ------------------------------------------------------------------------
   Overflow guards — every input/textarea inside the step host needs to
   live inside the card. Without `min-width: 0` on the grid children, a
   100%-wide input pushes its track past the card border and produces
   the "field overlapping the container" effect we saw in the bug report.
   ------------------------------------------------------------------------ */

.fe30-allocate-page .fe30-allocate-step-host,
.fe30-allocate-page .fe30-allocate-step-host .fe30-wizard-form,
.fe30-allocate-page .fe30-allocate-step-host .fe30-wizard-field {
  min-width: 0;
}


/* Helper line under a field title — used by Step 2 (Cash needs). */
.fe30-allocate-page .fe30-wizard-field-help {
  display: block;
  margin: 2px 0 6px;
  color: var(--gray-600, #525252);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

/* ------------------------------------------------------------------------
   Step 1: account picker
   ------------------------------------------------------------------------ */

.fe30-allocate-account-wrap {
  position: relative;
}

/* Loading state: spinner inside the search field (search or account-load). */
.fe30-allocate-account-wrap--loading .fe30-wizard-input {
  padding-right: 40px;
  color: var(--gray-500, #6b7280);
}

.fe30-allocate-account-wrap--loading .fe30-wizard-input:disabled {
  background: var(--bg-gray-50, #f9fafb);
  cursor: wait;
  opacity: 1;
}

.fe30-allocate-account-wrap--loading::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-top-color: var(--orange, #fb6a18);
  border-radius: 50%;
  animation: fe30-allocate-ac-spin 0.6s linear infinite;
  pointer-events: none;
}

@keyframes fe30-allocate-ac-spin {
  to {
    transform: rotate(360deg);
  }
}

.fe30-allocate-account-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  margin: 0;
  padding: var(--space-2, 8px) 0;
  list-style: none;
  max-height: 280px;
  overflow: auto;
  background: var(--bg-white, #fff);
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.08));
}

.fe30-allocate-account-suggestions li {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.fe30-allocate-account-suggestions li:hover,
.fe30-allocate-account-suggestions li:focus {
  background: var(--bg-gray-50, #f9fafb);
}

/* ------------------------------------------------------------------------
   Step 3: positions list
   ------------------------------------------------------------------------
   The list lives inside a scrollable container so the panel stays a fixed
   height even with hundreds of positions. Each row is a click target —
   the whole row toggles the checkbox.
   ------------------------------------------------------------------------ */

.fe30-allocate-positions {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: var(--radius-md, 12px);
  background: var(--bg-white, #fff);
}

.fe30-allocate-positions-loading {
  margin-top: var(--space-3, 12px);
  padding: 12px 14px;
  border: 1px solid var(--blue-200, #bfdbfe);
  border-radius: var(--radius-md, 12px);
  background: var(--blue-50, #eff6ff);
  color: var(--blue-800, #1e40af);
  font-size: 13px;
  font-weight: 600;
}

.fe30-allocate-position {
  display: flex;
  align-items: center;
  gap: var(--space-3, 12px);
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-300, #d1d5db);
  transition: background-color var(--duration-fast, 150ms) var(--ease-standard, ease);
}

.fe30-allocate-position:last-child {
  border-bottom: 0;
}

.fe30-allocate-position:hover {
  background: var(--bg-gray-50, #f9fafb);
}

.fe30-allocate-position input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-orange, #fb6a18);
}

.fe30-allocate-position input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fe30-allocate-position-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fe30-allocate-position-label {
  color: var(--ink-primary, #0a0a0a);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}

.fe30-allocate-position-gain {
  color: var(--gray-600, #525252);
  font-size: 12.5px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.fe30-allocate-position-gain[data-tone="ok"] {
  color: var(--green-700, #047857);
}

.fe30-allocate-position-gain[data-tone="warn"] {
  color: var(--red-700, #b91c1c);
}

.fe30-allocate-position-amount {
  flex-shrink: 0;
  color: var(--gray-700, #404040);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ------------------------------------------------------------------------
   Step 4: allocation table
   ------------------------------------------------------------------------ */

.fe30-allocate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-3, 12px);
}

.fe30-allocate-table th,
.fe30-allocate-table td {
  text-align: left;
  padding: 6px 8px;
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
}

.fe30-allocate-table th {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500, #6b7280);
  font-weight: 600;
  padding-bottom: 8px;
}

.fe30-allocate-table td.fe30-allocate-table-num {
  width: 100px;
}

.fe30-allocate-table td.fe30-allocate-table-actions {
  width: 32px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
}

.fe30-allocate-table input[type="number"],
.fe30-allocate-table input[type="text"],
.fe30-allocate-table select {
  width: 100%;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: var(--radius-sm, 8px);
  padding: 5px 8px;
  font: inherit;
  font-size: 13px;
  background: var(--bg-white, #fff);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.fe30-allocate-table input:focus,
.fe30-allocate-table select:focus {
  outline: none;
  border-color: var(--brand-orange, #fb6a18);
  box-shadow: var(--shadow-focus-orange, 0 0 0 3px rgba(251, 106, 24, 0.25));
}

.fe30-allocate-table tfoot td {
  padding-top: 8px;
  border-top: 2px solid var(--gray-300, #d1d5db);
  border-bottom: 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--dark-navy, #202f3d);
  font-variant-numeric: tabular-nums;
}

.fe30-allocate-table .fe30-allocate-weight-ok {
  color: var(--green-700, #047857);
}

.fe30-allocate-table .fe30-allocate-weight-off {
  color: var(--red-700, #b91c1c);
}

.fe30-allocate-row-remove {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--gray-400, #9ca3af);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
}

.fe30-allocate-row-remove:hover {
  color: var(--red-700, #b91c1c);
  background: rgba(239, 68, 68, 0.08);
}

.fe30-allocate-row-remove[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.fe30-allocate-row-warning {
  display: inline-block;
  margin-left: 6px;
  color: var(--red-700, #b91c1c);
  cursor: help;
}

.fe30-allocate-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2, 8px);
  margin-top: var(--space-3, 12px);
}

.fe30-allocate-table-toolbar .fe30-btn-ghost {
  padding: 6px 10px;
}

/* ------------------------------------------------------------------------
   "Only generate buys" line under the allocation table.
   ------------------------------------------------------------------------ */

.fe30-allocate-buys-line {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  margin-top: var(--space-4, 16px);
  padding-top: var(--space-3, 12px);
  border-top: 1px dashed var(--gray-200, #e5e7eb);
}

.fe30-allocate-buys-line input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-orange, #fb6a18);
}

.fe30-allocate-buys-label {
  color: var(--gray-700, #404040);
  font-size: 13px;
  cursor: pointer;
}

/* ------------------------------------------------------------------------
   Step 4: searchable model combobox per row
   ------------------------------------------------------------------------
   Replaces the native <select> inside the allocation table. Sized to fit
   the model cell; the popover floats above adjacent rows.
   ------------------------------------------------------------------------ */

.fe30-allocate-table .fe30-allocate-table-model {
  position: relative;
  min-width: 0;
}

.fe30-allocate-model-combobox {
  position: relative;
  width: 100%;
}

.fe30-allocate-model-trigger {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-white, #fff);
  font: inherit;
  font-size: 13px;
  color: var(--ink-primary, #0a0a0a);
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
  transition:
    border-color var(--duration-base, 200ms) var(--ease-standard, ease),
    box-shadow var(--duration-base, 200ms) var(--ease-standard, ease);
}

.fe30-allocate-model-trigger:hover {
  border-color: var(--gray-400, #9ca3af);
}

.fe30-allocate-model-trigger:focus,
.fe30-allocate-model-trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--brand-orange, #fb6a18);
  box-shadow: var(--shadow-focus-orange, 0 0 0 3px rgba(251, 106, 24, 0.25));
}

.fe30-allocate-model-trigger:disabled {
  background: var(--bg-gray-50, #f9fafb);
  color: var(--gray-500, #6b7280);
  cursor: not-allowed;
}

.fe30-allocate-model-trigger-empty .fe30-allocate-model-trigger-label {
  color: var(--gray-400, #9ca3af);
  font-size: 12.5px;
}

.fe30-allocate-model-trigger-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fe30-allocate-model-trigger-caret {
  flex-shrink: 0;
  color: var(--gray-400, #9ca3af);
  font-size: 9px;
  line-height: 1;
}

.fe30-allocate-model-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  min-width: 220px;
  max-width: 400px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/**
 * WHY: Closed allocation model pickers must feel calm and finished. The
 *      popover uses `display: flex` when open, which overrides the browser's
 *      default hidden-attribute rule unless we restore it explicitly.
 * PROMPT: "do an e2e test of the allocation wizard using the @Browser...
 *         Make everything be as apple like of an experience as possble."
 * DATE: 2026-05-11
 * WHAT: Keeps hidden model search panels from painting over the allocation
 *       table until the advisor opens a specific picker.
 * ASSUMPTIONS: `fe30-wizard-allocate-step4-allocation.js` remains responsible
 *              for toggling the `hidden` attribute and `aria-expanded` state.
 */
.fe30-allocate-model-popover[hidden] {
  display: none !important;
}

.fe30-allocate-model-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 6px;
  padding: 5px 8px;
  font: inherit;
  font-size: 12.5px;
  background: var(--bg-gray-50, #f9fafb);
}

.fe30-allocate-model-search:focus {
  outline: none;
  border-color: var(--brand-orange, #fb6a18);
  box-shadow: var(--shadow-focus-orange, 0 0 0 3px rgba(251, 106, 24, 0.25));
}

.fe30-allocate-model-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.fe30-allocate-model-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-primary, #0a0a0a);
  font-size: 12.5px;
  line-height: 1.35;
}

.fe30-allocate-model-option:hover,
.fe30-allocate-model-option:focus {
  background: rgba(251, 106, 24, 0.07);
}

.fe30-allocate-model-option-selected {
  background: rgba(251, 106, 24, 0.1);
  font-weight: 600;
}

.fe30-allocate-model-option-disabled {
  color: var(--gray-500, #6b7280);
  cursor: not-allowed;
  background: transparent;
}

.fe30-allocate-model-option-disabled:hover {
  background: var(--bg-gray-50, #f9fafb);
}

.fe30-allocate-model-option-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fe30-allocate-model-option-reason {
  flex-shrink: 0;
  color: var(--gray-500, #6b7280);
  font-size: 11px;
  font-style: italic;
}

.fe30-allocate-model-empty {
  padding: 8px;
  color: var(--gray-500, #6b7280);
  font-size: 12px;
  text-align: center;
}

/* ------------------------------------------------------------------------
   Allocate-specific action bar
   ------------------------------------------------------------------------
   Clean two-button bar: Back on the left, Continue on the right.
   Validation errors surface via SweetAlert; the inline status element
   stays in the DOM as a screen-reader-only live region.
   ------------------------------------------------------------------------ */

.fe30-allocate-page .fe30-nb-actionbar {
  padding: var(--space-3, 12px) var(--space-5, 20px);
  border-radius: var(--radius-xl, 20px) var(--radius-xl, 20px) 0 0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
  gap: var(--space-3, 12px);
  justify-content: space-between;
  flex-wrap: nowrap;
}

.fe30-allocate-page .fe30-nb-actionbar #fe30-allocate-back {
  order: 0;
  min-width: 96px;
}

.fe30-allocate-page .fe30-nb-actionbar .fe30-nb-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fe30-allocate-page .fe30-nb-actionbar #fe30-allocate-next {
  order: 2;
  min-width: 200px;
  padding: 12px 22px;
  font-weight: 600;
  margin-left: auto;
  transition:
    transform var(--duration-fast, 150ms) var(--ease-standard, ease),
    box-shadow var(--duration-base, 200ms) var(--ease-standard, ease),
    opacity var(--duration-base, 200ms) var(--ease-standard, ease),
    filter var(--duration-base, 200ms) var(--ease-standard, ease);
}

.fe30-allocate-page .fe30-nb-actionbar #fe30-allocate-next[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.3);
  transform: none;
  box-shadow: none;
}

.fe30-allocate-page .fe30-nb-actionbar #fe30-allocate-back[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 720px) {
  .fe30-allocate-page .fe30-nb-actionbar #fe30-allocate-next {
    min-width: 0;
    flex: 1 1 auto;
  }
}

/* ------------------------------------------------------------------------
   Step 5: review card + summary text
   ------------------------------------------------------------------------ */

.fe30-allocate-summary-card {
  margin-bottom: var(--space-4, 16px);
}

.fe30-allocate-summary-text {
  white-space: pre-wrap;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Menlo", monospace;
  font-size: 12.5px;
  line-height: 1.55;
  background: var(--bg-gray-50, #f9fafb);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  padding: var(--space-3, 12px);
  color: var(--ink-primary, #0a0a0a);
}

/* ------------------------------------------------------------------------
   Right-rail summary metrics
   ------------------------------------------------------------------------ */

.fe30-allocate-rail {
  display: grid;
  gap: var(--space-3, 12px);
  position: sticky;
  top: var(--space-4, 16px);
}

.fe30-allocate-rail-card {
  padding: var(--space-4, 16px);
  border: 1px solid color-mix(in srgb, var(--brand-orange, #fb6a18) 28%, var(--gray-200, #e5e7eb));
  box-shadow: 0 8px 24px rgba(32, 47, 61, 0.08);
  background: linear-gradient(180deg, #fff 0%, var(--bg-gray-50, #f9fafb) 100%);
}

.fe30-allocate-rail-title {
  margin: 0 0 var(--space-3, 12px);
  color: var(--dark-navy, #202f3d);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fe30-allocate-rail-row--models .fe30-allocate-rail-val {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  max-width: 58%;
}

.fe30-allocate-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2, 8px);
}

.fe30-allocate-rail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3, 12px);
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--gray-200, #e5e7eb);
}

.fe30-allocate-rail-row:last-child {
  border-bottom: 0;
}

.fe30-allocate-rail-key {
  color: var(--gray-600, #525252);
  font-size: 13px;
}

.fe30-allocate-rail-val {
  color: var(--dark-navy, #202f3d);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fe30-allocate-rail-val[data-state="warn"] {
  color: var(--red-700, #b91c1c);
}

.fe30-allocate-rail-val[data-state="ok"] {
  color: var(--green-700, #047857);
}

/* ------------------------------------------------------------------------
   Inline guards (CannotTradeMsg, open-ticket banner)
   ------------------------------------------------------------------------ */

.fe30-allocate-banner {
  border-radius: var(--radius-md, 12px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
  font-size: 14px;
  border: 1px solid var(--gray-300, #d1d5db);
  background: var(--bg-gray-50, #f9fafb);
  color: var(--gray-700, #404040);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3, 12px);
}

.fe30-allocate-banner[data-tone="warn"] {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--red-700, #b91c1c);
}

.fe30-allocate-banner[data-tone="info"] {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.25);
  color: #1e40af;
}

/* ------------------------------------------------------------------------
   Attachments dropzone in Step 5 — reuses styling from quick-ticket but
   scoped here so we don't depend on quick-ticket markup being loaded.
   ------------------------------------------------------------------------ */

.fe30-allocate-dropzone {
  position: relative;
  border: 1px dashed var(--gray-300, #d1d5db);
  border-radius: var(--radius-md, 12px);
  background: var(--bg-gray-50, #f9fafb);
  padding: var(--space-4, 16px);
  text-align: center;
  cursor: pointer;
  transition:
    border-color var(--duration-base, 200ms) var(--ease-standard, ease),
    background-color var(--duration-base, 200ms) var(--ease-standard, ease);
}

.fe30-allocate-dropzone:hover,
.fe30-allocate-dropzone-active {
  border-color: var(--brand-orange, #fb6a18);
  background: rgba(251, 106, 24, 0.06);
}

.fe30-allocate-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.fe30-allocate-file-list {
  margin: var(--space-3, 12px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2, 8px);
}

.fe30-allocate-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3, 12px);
  padding: 8px 12px;
  border: 1px solid var(--gray-300, #d1d5db);
  border-radius: var(--radius-md, 12px);
  background: var(--bg-gray-50, #f9fafb);
  font-size: 14px;
}

.fe30-allocate-file-row button {
  flex-shrink: 0;
}

/* ------------------------------------------------------------------------
   Confirm dialog (rendered inline as a modal sheet)
   ------------------------------------------------------------------------ */

.fe30-allocate-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4, 16px);
}

.fe30-allocate-confirm-dialog {
  background: var(--bg-white, #fff);
  border-radius: var(--radius-lg, 16px);
  width: min(720px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: var(--space-5, 20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.fe30-allocate-confirm-dialog h2 {
  margin: 0 0 var(--space-3, 12px);
  font-size: 20px;
  color: var(--dark-navy, #202f3d);
}

.fe30-allocate-confirm-actions {
  margin-top: var(--space-4, 16px);
  display: flex;
  gap: var(--space-3, 12px);
  justify-content: flex-end;
}
