@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap");
:root {
  /* Brand */
  --stive-color-primary: #0e3a3f;
  --stive-color-primary-hover: #155a63;
  --stive-color-primary-active: #082225;
  --stive-color-accent: #14c3cb;
  --stive-color-link: #0e9aa1;
  --stive-color-accent-tint: rgba(20, 195, 203, 0.1);
  --stive-color-ink: #0e2f33;
  /* Neutrals */
  --stive-color-text: #18181b;
  --stive-color-text-secondary: #3f3f46;
  --stive-color-muted: #71717a;
  --stive-color-placeholder: #a1a1aa;
  --stive-color-input-border: #dfe6e6;
  --stive-color-card-border: #ececee;
  --stive-color-page: #f5f6f6;
  --stive-color-surface: #ffffff;
  /* Status */
  --stive-color-success: #1f9d57;
  --stive-color-success-tint: #e7f7ee;
  --stive-color-warning: #b07d1f;
  --stive-color-warning-tint: #fbf1dd;
  --stive-color-danger: #e5484d;
  --stive-color-danger-tint: #fdeceb;
  /* Type */
  --stive-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
  --stive-font-size-title: 30px;
  --stive-font-size-section: 18px;
  --stive-font-size-body: 15px;
  --stive-font-size-label: 13px;
  /* Spacing */
  --stive-space-1: 4px;
  --stive-space-2: 8px;
  --stive-space-3: 12px;
  --stive-space-4: 16px;
  --stive-space-5: 20px;
  --stive-space-6: 24px;
  --stive-space-7: 28px;
  --stive-space-8: 32px;
  /* Shape and elevation */
  --stive-radius-card: 20px;
  --stive-radius-control: 12px;
  --stive-radius-small: 10px;
  --stive-radius-pill: 999px;
  --stive-shadow-overlay: 0 22px 50px rgba(20, 40, 60, 0.2);
  --stive-focus-ring: 0 0 0 1.5px var(--stive-color-accent);
}

/*
 * Add .stive-ui to a page or application shell as it is migrated. Keeping
 * these element defaults scoped prevents regressions in the legacy UI.
 */
.customers-module,
.event-ticketing-module {
  padding: 32px 32px 32px 44px;
  background: #f5f6f6;
}

.customers-module .v-application,
.event-ticketing-module .v-application {
  background: transparent !important;
}

.stive-ui {
  min-height: 100%;
  color: var(--stive-color-text-secondary);
  background: var(--stive-color-page);
  font-family: var(--stive-font-family);
  font-size: var(--stive-font-size-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stive-ui *,
.stive-ui *::before,
.stive-ui *::after {
  box-sizing: border-box;
}

.stive-ui button,
.stive-ui input,
.stive-ui select,
.stive-ui textarea {
  font: inherit;
}

.stive-ui a {
  color: var(--stive-color-link);
  text-decoration: none;
}

.stive-ui a:hover {
  color: var(--stive-color-primary-hover);
}

.stive-ui :focus-visible {
  outline: 2px solid var(--stive-color-accent);
  outline-offset: 2px;
}

.stive-page {
  width: 100%;
  padding: var(--stive-space-8);
}

.stive-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--stive-space-6);
  margin-bottom: var(--stive-space-6);
}

.stive-page__heading {
  min-width: 0;
}

.stive-page__title {
  margin: 0;
  color: var(--stive-color-primary);
  font-size: var(--stive-font-size-title);
  font-weight: 600;
  line-height: 1.2;
}

.stive-page__subtitle {
  margin: var(--stive-space-1) 0 0;
  color: var(--stive-color-muted);
  font-size: var(--stive-font-size-body);
  line-height: 1.5;
}

.stive-card {
  padding: var(--stive-space-8);
  border: 1px solid var(--stive-color-card-border);
  border-radius: var(--stive-radius-card);
  background: var(--stive-color-surface);
  box-shadow: none;
}

.stive-ui .v-sheet.v-card.stive-card {
  border-radius: var(--stive-radius-card) !important;
}

.stive-card--compact {
  padding: 18px;
}

.stive-card + .stive-card {
  margin-top: 18px;
}

.stive-card__title {
  margin: 0;
  color: var(--stive-color-text);
  font-size: var(--stive-font-size-section);
  font-weight: 700;
  line-height: 1.35;
}

.stive-card__subtitle {
  margin: var(--stive-space-1) 0 0;
  color: var(--stive-color-muted);
  font-size: var(--stive-font-size-label);
  line-height: 1.55;
}

.stive-field + .stive-field {
  margin-top: 22px;
}

.stive-label {
  display: block;
  margin-bottom: 9px;
  color: #48575a;
  font-size: var(--stive-font-size-label);
  font-weight: 600;
  line-height: 1.35;
}

.stive-input,
.stive-select,
.stive-textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--stive-color-input-border);
  border-radius: var(--stive-radius-control);
  color: var(--stive-color-text-secondary);
  background: var(--stive-color-surface);
  font-size: var(--stive-font-size-body);
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.stive-textarea {
  min-height: 120px;
  resize: vertical;
}

.stive-input::placeholder,
.stive-textarea::placeholder {
  color: var(--stive-color-placeholder);
  opacity: 1;
}

.stive-input:hover,
.stive-select:hover,
.stive-textarea:hover {
  border-color: #cfd5da;
}

.stive-input:focus,
.stive-select:focus,
.stive-textarea:focus {
  border-color: var(--stive-color-accent);
  box-shadow: var(--stive-focus-ring);
  outline: 0;
}

.stive-input:disabled,
.stive-select:disabled,
.stive-textarea:disabled {
  color: #c4c4cc;
  border-color: var(--stive-color-card-border);
  background: #fafafa;
  cursor: not-allowed;
}

.stive-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: var(--stive-space-2);
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--stive-radius-control);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.stive-btn:hover {
  text-decoration: none;
}

.stive-btn--compact {
  min-height: 36px;
  padding: 0 15px;
}

.stive-btn--icon {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

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

.stive-btn--primary:hover {
  color: #fff;
  background: var(--stive-color-primary-hover);
}

.stive-btn--primary:active {
  background: var(--stive-color-primary-active);
}

.stive-btn--secondary {
  color: var(--stive-color-primary);
  border-color: var(--stive-color-input-border);
  background: #fff;
}

.stive-btn--secondary:hover {
  color: var(--stive-color-primary);
  border-color: #cfd5da;
  background: #fafbfb;
}

.stive-btn--secondary:active {
  border-color: #c4cbcb;
  background: #f0f2f2;
}

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

.stive-btn--danger:hover {
  color: var(--stive-color-danger);
  border-color: var(--stive-color-danger);
  background: var(--stive-color-danger-tint);
}

.stive-btn--danger:active {
  border-color: #d33c40;
  background: #fbdedc;
}

.stive-btn:disabled,
.stive-btn[aria-disabled=true] {
  color: #fff;
  border-color: transparent;
  background: #c8cfcf;
  cursor: not-allowed;
  pointer-events: none;
}

.stive-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--stive-radius-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.stive-badge--success {
  color: var(--stive-color-success);
  background: var(--stive-color-success-tint);
}

.stive-badge--warning {
  color: var(--stive-color-warning);
  background: var(--stive-color-warning-tint);
}

.stive-badge--danger {
  color: var(--stive-color-danger);
  background: var(--stive-color-danger-tint);
}

.stive-badge--accent {
  color: var(--stive-color-link);
  background: var(--stive-color-accent-tint);
}

.stive-tabs {
  display: flex;
  gap: var(--stive-space-6);
  border-bottom: 1px solid var(--stive-color-card-border);
}

.stive-tab {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  color: var(--stive-color-muted);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.stive-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--stive-color-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.stive-tab:hover::after,
.stive-tab.is-active::after,
.stive-tab[aria-selected=true]::after {
  transform: scaleX(1);
}

.stive-tab.is-active,
.stive-tab[aria-selected=true] {
  color: var(--stive-color-link);
  font-weight: 700;
}

.stive-tab__count {
  margin-left: var(--stive-space-1);
  color: var(--stive-color-placeholder);
  font-weight: 500;
}

.stive-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.stive-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 220px;
}

.stive-search .stive-input {
  min-height: 36px;
  padding: 0 13px;
  font-size: 13.5px;
}

.stive-action-bar__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: var(--stive-space-2);
  margin-left: auto;
}

.stive-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 28px;
  border-top: 1px solid #e6ebeb;
  background: #fff;
}

.stive-form-footer--sticky {
  position: sticky;
  bottom: 0;
  z-index: 5;
}

.stive-form-footer__cancel {
  min-height: 46px;
  padding: 13px 16px;
  border: 0;
  color: var(--stive-color-text-secondary);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.stive-empty {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  border: 1px dashed var(--stive-color-card-border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.stive-empty__icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--stive-space-6);
  border: 1px solid var(--stive-color-card-border);
  border-radius: 16px;
  color: var(--stive-color-placeholder);
  background: #fff;
}

.stive-empty__title {
  margin: 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
}

.stive-empty__description {
  max-width: 360px;
  margin: 6px 0 0;
  color: var(--stive-color-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.stive-empty .stive-btn {
  margin-top: 22px;
}

.stive-overlay {
  border-radius: var(--stive-radius-card);
  background: #fff;
  box-shadow: var(--stive-shadow-overlay);
}

.stive-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Vuetify-first revamp patterns. Customers is the reference implementation. */
.stive-ui .stive-v-btn {
  border-radius: var(--stive-radius-control) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.stive-ui .stive-v-btn--utility {
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 15px !important;
  border-color: var(--stive-color-input-border) !important;
  color: var(--stive-color-text-secondary) !important;
  background: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.stive-ui .stive-v-btn--page-action {
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: var(--stive-radius-control) !important;
}

.stive-ui .stive-v-btn--primary {
  min-height: 46px !important;
  padding: 0 24px !important;
  color: #fff !important;
  background: var(--stive-color-primary) !important;
}

.stive-ui .stive-v-btn--primary:hover {
  background: var(--stive-color-primary-hover) !important;
}

.stive-module-card {
  padding: 0;
  overflow: hidden;
}

.stive-module-toolbar {
  padding: 20px 22px;
}

.stive-ui .stive-v-search {
  flex: 1 1 auto;
  min-width: 220px;
}

.stive-ui .stive-v-select--compact {
  width: 160px;
  flex: 0 0 160px;
}

.stive-ui .stive-v-field .v-input__slot {
  min-height: 36px !important;
  border-radius: var(--stive-radius-control) !important;
}

.stive-ui .stive-v-field .v-input__slot::before,
.stive-ui .stive-v-field .v-input__slot::after {
  display: none !important;
}

.stive-ui .stive-v-field fieldset {
  border-color: var(--stive-color-input-border) !important;
}

.stive-ui .stive-v-field.v-input--is-focused fieldset {
  border-color: var(--stive-color-accent) !important;
  box-shadow: var(--stive-focus-ring) !important;
}

.stive-ui .stive-v-field--form .v-input__slot {
  min-height: 48px !important;
  border-radius: var(--stive-radius-control) !important;
  background: var(--stive-color-surface) !important;
}

.stive-ui .stive-v-field--form.v-textarea .v-input__slot {
  min-height: 120px !important;
}

.stive-ui .stive-v-search .v-input__slot {
  padding: 0 13px !important;
  background: #fff !important;
}

.stive-ui .stive-v-search .v-input__prepend-inner {
  margin-top: 7px !important;
  padding-right: 7px !important;
}

.stive-ui .stive-v-search input {
  padding: 0 !important;
  color: #1f2937 !important;
  font-size: 13.5px !important;
}

.stive-ui .stive-v-select .v-input__slot {
  padding: 0 10px 0 13px !important;
  background: #f4f6f6 !important;
}

.stive-ui .stive-v-select .v-select__selection {
  color: var(--stive-color-primary) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.stive-ui .stive-v-select .v-input__append-inner {
  margin-top: 6px !important;
}

.stive-ui .v-data-footer__select .v-select {
  width: 64px;
  min-width: 64px;
}

.stive-ui .v-data-footer__select .v-select__selection {
  margin-right: 8px;
}

.stive-truncate {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stive-ui .stive-v-icon-btn {
  width: 36px !important;
  height: 36px !important;
  border-color: var(--stive-color-input-border) !important;
  border-radius: var(--stive-radius-small) !important;
  color: #3a4252 !important;
  background: #fff !important;
}

.stive-ui .stive-v-icon-btn:hover {
  border-color: #cfd5da !important;
  background: #fafbfb !important;
}

.stive-ui .stive-status-tabs {
  border-bottom: 1px solid var(--stive-color-card-border);
}

.stive-ui .stive-status-tabs .v-tab {
  min-width: 0;
  padding: 0 22px;
  color: var(--stive-color-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.stive-ui .stive-status-tabs .v-tab--active {
  color: var(--stive-color-link);
  font-weight: 700;
}

.stive-ui .stive-status-tabs .v-tabs-slider {
  height: 2px;
  background: var(--stive-color-accent);
}

.stive-status-tabs__count {
  min-width: 22px;
  margin-left: 7px;
  padding: 1px 6px;
  border-radius: var(--stive-radius-pill);
  color: var(--stive-color-muted);
  background: var(--stive-color-page);
  font-size: 11px;
  line-height: 18px;
}

.stive-ui .stive-status-tabs .v-tab--active .stive-status-tabs__count {
  color: var(--stive-color-link);
  background: var(--stive-color-accent-tint);
}

.stive-status-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--stive-radius-pill);
  color: var(--stive-color-muted);
  background: #f1f2f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
}

.stive-status-badge__dot {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stive-status-badge--active {
  color: var(--stive-color-success);
  background: var(--stive-color-success-tint);
}

.stive-status-badge--draft {
  color: var(--stive-color-warning);
  background: var(--stive-color-warning-tint);
}

.stive-status-badge--past {
  color: var(--stive-color-muted);
  background: #f1f2f3;
}

.stive-form-card {
  overflow: hidden;
  border: 1px solid var(--stive-color-card-border) !important;
  border-radius: var(--stive-radius-card) !important;
  background: var(--stive-color-surface) !important;
  box-shadow: none !important;
}

.stive-form-card + .stive-form-card {
  margin-top: 20px;
}

.stive-form-card__header {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--stive-color-card-border);
}

.stive-form-card__header h2 {
  margin: 0;
  color: var(--stive-color-text);
  font-size: var(--stive-font-size-section);
  font-weight: 700;
}

.stive-form-card__header p {
  margin: 3px 0 0;
  color: var(--stive-color-muted);
  font-size: var(--stive-font-size-label);
}

.stive-ui .stive-form-card__toggle {
  width: 100%;
  height: auto !important;
  min-height: 86px;
  justify-content: flex-start;
  border-radius: 0 !important;
  text-align: left;
  white-space: normal;
}

.stive-ui .stive-form-card__toggle .v-btn__content {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.stive-ui .stive-form-card__toggle .v-btn__content > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.stive-ui .stive-form-card__toggle p {
  margin: 0;
}

.stive-form-card__body {
  padding: 24px 32px 32px;
}

.stive-ui .stive-form-card .v-text-field--outlined .v-input__slot,
.stive-ui .stive-form-card .v-textarea--outlined .v-input__slot,
.stive-ui .stive-form-card .v-select--outlined .v-input__slot {
  border-radius: var(--stive-radius-control);
  background: var(--stive-color-surface);
}

.stive-ui .stive-form-card .v-text-field--outlined:not(.v-input--is-focused) fieldset,
.stive-ui .stive-form-card .v-textarea--outlined:not(.v-input--is-focused) fieldset,
.stive-ui .stive-form-card .v-select--outlined:not(.v-input--is-focused) fieldset {
  border-color: var(--stive-color-input-border);
}

.stive-ui .stive-form-card .v-input--is-focused fieldset {
  border-color: var(--stive-color-accent) !important;
  box-shadow: var(--stive-focus-ring);
}

.stive-ui .stive-form-card .v-label {
  color: #48575a;
  font-weight: 600;
}

.stive-upload-zone {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px dashed var(--stive-color-input-border) !important;
  border-radius: var(--stive-radius-control) !important;
  background: #fbfcfc !important;
  cursor: pointer;
}

.stive-upload-zone:focus-visible {
  border-color: var(--stive-color-accent) !important;
  box-shadow: var(--stive-focus-ring);
  outline: 0;
}

.stive-upload-zone--disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.stive-upload-zone__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--stive-color-accent-tint);
}

.stive-upload-zone__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.stive-upload-zone__copy strong {
  color: var(--stive-color-text);
  font-size: 14px;
  font-weight: 700;
}

.stive-upload-zone__copy small,
.stive-form-helper {
  color: var(--stive-color-text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.stive-form-helper a {
  color: var(--stive-color-accent);
  font-weight: 700;
  text-decoration: none;
}

.stive-form-section__title {
  margin: 0 0 6px;
  color: var(--stive-color-text);
  font-size: var(--stive-font-size-section);
  font-weight: 700;
}

.stive-choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stive-ui .stive-choice-chip {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
}

.stive-ui .stive-rich-editor .ckeditor-input-card {
  overflow: hidden;
  border: 1px solid var(--stive-color-input-border);
  border-radius: var(--stive-radius-control);
  box-shadow: none !important;
}

.stive-ui .stive-rich-editor .ck.ck-toolbar {
  border: 0;
  border-bottom: 1px solid var(--stive-color-card-border);
}

.stive-ui .stive-rich-editor .ck.ck-editor__main > .ck-editor__editable {
  min-height: 120px;
  border: 0;
  box-shadow: none;
}

.stive-ui .stive-rich-editor .ck.ck-editor__main > .ck-editor__editable.ck-focused {
  box-shadow: inset 0 0 0 1px var(--stive-color-accent);
}

.stive-dialog-card {
  overflow: hidden;
  border-radius: var(--stive-radius-card) !important;
}

.stive-dialog-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--stive-color-text);
  font-size: var(--stive-font-size-section) !important;
  font-weight: 700 !important;
}

.stive-dialog-card__body {
  padding-right: var(--stive-space-7) !important;
  padding-left: var(--stive-space-7) !important;
}

.stive-dialog-card__description {
  margin: 0 0 var(--stive-space-5);
  color: var(--stive-color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.stive-dialog-card__actions {
  padding: 12px var(--stive-space-7) var(--stive-space-6) !important;
}

.stive-dialog-summary {
  overflow: hidden;
  margin: 0;
  padding: 0 !important;
  border: 1px solid var(--stive-color-input-border);
  border-radius: var(--stive-radius-control);
}

.stive-dialog-summary > div {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: var(--stive-space-4);
  padding: 0 var(--stive-space-4);
}

.stive-dialog-summary > div + div {
  border-top: 1px solid var(--stive-color-card-border);
}

.stive-dialog-summary .v-list-item {
  min-height: 40px;
  padding: 0 var(--stive-space-4);
}

.stive-dialog-summary dt,
.stive-dialog-summary dd,
.stive-dialog-summary .v-list-item__content,
.stive-dialog-summary .v-list-item__action-text {
  color: var(--stive-color-text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.stive-dialog-summary dt,
.stive-dialog-summary dd {
  margin: 0;
}

.stive-dialog-summary dd,
.stive-dialog-summary .v-list-item__action-text {
  color: var(--stive-color-text);
  font-weight: 700;
  text-align: right;
}

.stive-scanner__preview {
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--stive-radius-small);
  background: #0f172a;
}

.stive-scanner__preview--compact,
.stive-scanner__preview--compact .stive-scanner__video {
  min-height: 260px;
}

.stive-scanner__video {
  display: block;
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.stive-scanner__overlay {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.stive-scanner__result {
  border: 1px dashed #cbd5e1;
  border-radius: var(--stive-radius-small);
  font-family: monospace;
  word-break: break-all;
}

.stive-scanner__details,
.stive-scanner__details dd {
  margin: 0;
}

.stive-scanner__status {
  border: 1px solid var(--stive-color-card-border);
  border-radius: var(--stive-radius-small);
}

.stive-scanner__status--valid {
  border-color: #86efac;
  background: #ecfdf3;
}

.stive-scanner__status--used {
  border-color: #fcd34d;
  background: #fffbeb;
}

.stive-scanner__status--invalid {
  border-color: #fca5a5;
  background: #fef2f2;
}

.stive-scanner__status--wrong_show {
  border-color: #fdba74;
  background: #fff7ed;
}

.stive-muted {
  color: var(--stive-color-placeholder);
}

.stive-text-secondary {
  color: var(--stive-color-text-secondary) !important;
}

.stive-module-empty {
  border: 0;
  border-top: 1px solid var(--stive-color-card-border);
  border-radius: 0;
}

.stive-ui .stive-detail__back {
  min-width: 0 !important;
  height: auto !important;
  margin: 0 0 14px;
  padding: 0 !important;
  color: var(--stive-color-muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.stive-ui .stive-detail__back .v-btn__content {
  gap: 7px;
}

.stive-detail__header h1 {
  margin: 0;
  color: var(--stive-color-text);
  font-size: var(--stive-font-size-title);
  font-weight: 700;
}

.stive-detail__header p {
  margin: 4px 0 0;
  color: var(--stive-color-muted);
  font-size: var(--stive-font-size-body);
}

.stive-detail__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.stive-detail__stats section {
  padding: 20px 22px;
  border: 1px solid var(--stive-color-card-border);
  border-radius: 16px;
  background: #fff;
}

.stive-detail__stats strong,
.stive-detail__stats span {
  display: block;
}

.stive-detail__stats strong {
  color: var(--stive-color-text);
  font-size: 24px;
  font-weight: 700;
}

.stive-detail__stats span {
  margin-top: 4px;
  color: var(--stive-color-muted);
  font-size: 13px;
}

.stive-detail__card {
  margin-top: 18px;
}

.stive-detail__card h2,
.stive-detail__card h3 {
  color: var(--stive-color-placeholder);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stive-detail__card h2 {
  margin: 0 0 20px;
}

.stive-detail__card h3 {
  margin: 0 0 10px;
}

.stive-detail__grid {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 0;
}

.stive-detail__grid dt {
  margin-bottom: 6px;
  color: #48575a;
  font-size: 13px;
  font-weight: 600;
}

.stive-detail__grid dd {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.stive-detail__grid dd.is-empty {
  color: var(--stive-color-placeholder);
}

.stive-detail__divider {
  max-width: 720px;
  height: 1px;
  margin: 24px 0 20px;
  background: var(--stive-color-card-border);
}

@media (max-width: 767px) {
  .customers-module {
    padding: 20px;
  }
  .event-ticketing-module {
    padding: 72px 20px 20px;
  }
  .stive-page {
    padding: var(--stive-space-5);
  }
  .stive-page__header {
    flex-direction: column;
  }
  .stive-page__header > .stive-btn {
    width: 100%;
  }
  .stive-card {
    padding: var(--stive-space-5);
  }
  .stive-search {
    flex-basis: 100%;
    min-width: 100%;
  }
  .stive-action-bar__actions {
    width: 100%;
  }
  .stive-module-toolbar {
    padding: 16px;
  }
  .stive-ui .stive-v-select--compact {
    width: 100%;
    flex-basis: 100%;
  }
  .stive-detail__stats,
  .stive-detail__grid {
    grid-template-columns: 1fr;
  }
  .stive-form-card__header,
  .stive-form-card__body {
    padding: 20px;
  }
  .stive-form-footer {
    flex-wrap: wrap;
  }
}
/* ------------------------------------------------------------------ */
/* Creator portal shell: sidebar + account menu + topbar              */
/* ------------------------------------------------------------------ */
.stive-sidebar.sidebar {
  width: 0;
  border: none;
  border-right: 1px solid var(--stive-color-card-border);
  background: var(--stive-color-surface);
  font-family: var(--stive-font-family);
  top: 64px;
  height: calc(100% - 64px);
}

#mySidebar.stive-sidebar.expanded {
  width: 272px;
}

body:has(#mySidebar.stive-sidebar.expanded) #main.expanded.not-mobile {
  margin-left: 272px;
}

.stive-sidebar .stive-sidebar__logo {
  display: none;
}

.stive-sidebar .stive-sidebar__logo-img {
  display: block;
  max-height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.stive-sidebar .stive-sidebar__container {
  padding: 12px 10px 24px;
}

.stive-sidebar .stive-sidebar__nav {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stive-sidebar.sidebar span {
  padding: 0;
}

.stive-sidebar.sidebar a {
  padding-left: 14px;
  text-align: left;
}

#mainNav.stive-shell-nav {
  font-family: var(--stive-font-family);
}

#mainNav.stive-shell-nav .stive-topbar-actions,
#mainNav.stive-shell-nav > .container-fluid .navbar-nav.ml-auto {
  padding-right: 18px;
}

.stive-topbar-btn--collapse {
  width: 44px !important;
  height: 44px !important;
  color: #52525b !important;
  border-color: var(--stive-color-card-border) !important;
}

.stive-topbar-btn--collapse .stive-topbar-btn__icon svg {
  width: 21px;
  height: 21px;
}

body:has(#mainNav.stive-shell-nav) #sidebar-overlay {
  top: 64px;
}

.stive-stores {
  position: relative;
  margin-bottom: 10px;
  z-index: 20;
}

.stive-stores__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--stive-color-card-border);
  border-radius: var(--stive-radius-control);
  background: var(--stive-color-surface);
  color: var(--stive-color-primary);
  cursor: pointer;
  font-family: inherit;
  position: relative;
  z-index: 1;
}

.stive-stores__toggle-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--stive-color-primary);
  color: #5be3e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stive-stores__toggle-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stive-stores__chevron {
  color: #c4c4cc;
  display: inline-flex;
  transition: transform 0.15s ease;
}

.stive-stores.is-open .stive-stores__chevron {
  transform: rotate(180deg);
}

.stive-stores__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  margin-top: 0;
  padding: 8px;
  border: 1px solid var(--stive-color-card-border);
  border-radius: 14px;
  background: var(--stive-color-surface);
  box-shadow: var(--stive-shadow-overlay);
}

.stive-stores.is-open .stive-stores__panel {
  display: block;
}

.stive-stores__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stive-color-placeholder);
  padding: 5px 6px 9px;
}

.stive-store-card {
  border: 1px solid var(--stive-color-card-border);
  border-radius: 12px;
  padding: 11px;
}

.stive-store-card + .stive-store-card {
  margin-top: 8px;
}

.stive-store-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stive-store-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stive-store-card__icon--site {
  background: var(--stive-color-accent);
  color: #fff;
}

.stive-store-card__icon--market {
  background: var(--stive-color-ink);
  color: #5be3e9;
}

.stive-store-card__meta {
  flex: 1;
  min-width: 0;
}

.stive-store-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--stive-color-text);
}

.stive-store-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.stive-store-card__url {
  margin-top: 1px;
  font-size: 11px;
  color: var(--stive-color-placeholder);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stive-store-card__external {
  color: var(--stive-color-placeholder) !important;
  display: inline-flex !important;
  padding: 4px !important;
  background: transparent !important;
}

.stive-store-card__external:hover {
  color: var(--stive-color-primary) !important;
}

.stive-store-card__manage {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 9px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--stive-color-primary) !important;
  background: #fff !important;
  border: 1px solid var(--stive-color-input-border);
  border-radius: 12px;
  padding: 7px 12px !important;
}

.stive-store-card__manage:hover {
  background: var(--stive-color-page) !important;
}

.stive-nav-group {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stive-color-placeholder);
  font-weight: 700;
  padding: 0 14px;
  margin: 18px 0 6px;
  text-align: left;
}

.stive-sidebar .stive-nav-link {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: 100%;
  padding: 12px 14px !important;
  border-radius: 11px;
  font-size: 16.5px !important;
  font-weight: 400;
  color: #3a4252 !important;
  text-decoration: none;
  margin-bottom: 3px;
  background: transparent !important;
  line-height: 1.3;
  text-align: left;
}

.stive-sidebar .stive-nav-link:hover {
  background: rgba(20, 195, 203, 0.08) !important;
  color: var(--stive-color-link) !important;
}

.stive-sidebar .stive-nav-link.is-active {
  font-weight: 500;
  color: var(--stive-color-link) !important;
  background: rgba(20, 195, 203, 0.13) !important;
}

.stive-nav-link__icon {
  display: inline-flex;
  color: inherit;
  flex-shrink: 0;
}

.stive-nav-link__icon svg {
  width: 21px;
  height: 21px;
}

.stive-topbar-actions {
  align-items: center;
  gap: 8px;
}

.stive-topbar-item {
  margin-left: 4px !important;
}

.stive-topbar-btn {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border: 1px solid var(--stive-color-input-border) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--stive-color-primary) !important;
  background: var(--stive-color-surface) !important;
  position: relative;
}

.stive-topbar-btn:hover {
  background: var(--stive-color-page) !important;
}

.stive-topbar-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.stive-topbar-btn__icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stive-topbar-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--stive-color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stive-topbar-btn--avatar,
.stive-topbar-btn--account {
  width: auto;
  min-width: 64px;
  height: 37px;
  overflow: visible;
  padding: 3px 8px 3px 3px !important;
  border-radius: 999px !important;
  gap: 6px;
  justify-content: flex-start;
}

.stive-topbar-avatar {
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.stive-topbar-avatar--initials {
  background: var(--stive-color-ink);
  color: #5be3e9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stive-topbar-account-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stive-color-placeholder);
  line-height: 0;
}

.stive-topbar-account-chevron svg {
  width: 14px;
  height: 14px;
}

.stive-account-menu.dropdown-menu {
  width: 272px;
  padding: 9px !important;
  margin-top: 8px !important;
  border: 1px solid var(--stive-color-card-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--stive-shadow-overlay) !important;
  background: var(--stive-color-surface) !important;
  font-family: var(--stive-font-family);
}

.stive-account-menu__header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 9px 11px;
}

.stive-account-menu__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.stive-account-menu__avatar--initials {
  background: var(--stive-color-ink);
  color: #5be3e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.stive-account-menu__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--stive-color-text);
  word-break: break-word;
}

.stive-account-menu__plan {
  font-size: 12px;
  color: var(--stive-color-placeholder);
  font-weight: 500;
}

.stive-account-menu__section-label {
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stive-color-placeholder);
  font-weight: 700;
  padding: 2px 9px 6px;
}

.stive-account-menu__switch {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 9px !important;
  border-radius: 10px;
  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
}

.stive-account-menu__switch.is-active {
  background: rgba(20, 195, 203, 0.1) !important;
}

.stive-account-menu__switch:hover {
  background: rgba(20, 195, 203, 0.08) !important;
}

.stive-account-menu__switch-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stive-account-menu__switch-icon--sell {
  background: var(--stive-color-primary);
  color: #fff;
}

.stive-account-menu__switch-icon--shop {
  background: var(--stive-color-ink);
  color: #5be3e9;
}

.stive-account-menu__switch-copy {
  flex: 1;
  min-width: 0;
}

.stive-account-menu__switch-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--stive-color-text);
}

.stive-account-menu__switch-desc {
  display: block;
  font-size: 11.5px;
  color: var(--stive-color-muted);
  font-weight: 500;
}

.stive-account-menu__check {
  color: var(--stive-color-accent);
  display: inline-flex;
}

.stive-account-menu__divider {
  height: 1px;
  background: #f0f0f2;
  margin: 7px 5px;
}

.stive-account-menu__row {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 9px !important;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3a4252 !important;
  text-decoration: none !important;
  background: transparent !important;
}

.stive-account-menu__row:hover {
  background: rgba(20, 195, 203, 0.08) !important;
  color: var(--stive-color-link) !important;
}

.stive-account-menu__row-icon {
  display: inline-flex;
  color: inherit;
  line-height: 0;
}

.stive-account-menu__row-icon svg {
  width: 21px;
  height: 21px;
}

.stive-account-menu__switch-icon svg {
  flex-shrink: 0;
}

.stive-account-menu__row-meta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--stive-color-placeholder);
  font-weight: 600;
}

.stive-account-menu__row--danger,
#mainNav .dropdown-menu.stive-account-menu a.stive-account-menu__row--danger,
#mainNav .stive-account-menu a.stive-account-menu__row--danger {
  font-weight: 600;
  color: rgb(229, 72, 77) !important;
}

.stive-account-menu__row--danger .stive-account-menu__row-icon,
.stive-account-menu__row--danger #logout-text,
.stive-account-menu__row--danger svg,
#mainNav .dropdown-menu.stive-account-menu a.stive-account-menu__row--danger .stive-account-menu__row-icon,
#mainNav .dropdown-menu.stive-account-menu a.stive-account-menu__row--danger #logout-text,
#mainNav .dropdown-menu.stive-account-menu a.stive-account-menu__row--danger svg {
  color: rgb(229, 72, 77) !important;
  stroke: rgb(229, 72, 77) !important;
}

.stive-account-menu__row--danger:hover,
#mainNav .dropdown-menu.stive-account-menu a.stive-account-menu__row--danger:hover {
  background: var(--stive-color-danger-tint) !important;
  color: rgb(229, 72, 77) !important;
}

.stive-notification-menu.dropdown-menu {
  width: 352px;
  padding: 0 !important;
  margin-top: 8px !important;
  border: 1px solid var(--stive-color-card-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--stive-shadow-overlay) !important;
  overflow: hidden;
  background: var(--stive-color-surface) !important;
  font-family: var(--stive-font-family);
}

.stive-notification-menu__header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--stive-color-card-border);
}

.stive-notification-menu__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stive-notification-menu__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--stive-color-primary);
  line-height: 1.2;
}

.stive-notification-menu__count {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 195, 203, 0.12);
  color: var(--stive-color-accent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.stive-notification-menu__subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--stive-color-placeholder);
  line-height: 1.4;
}

.stive-notification-menu__list {
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}

.stive-notification-menu__item {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 10px !important;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  background: transparent !important;
  white-space: normal !important;
}

.stive-notification-menu__item:hover {
  background: rgba(20, 195, 203, 0.08) !important;
}

.stive-notification-menu__item.is-unread {
  background: rgba(20, 195, 203, 0.06) !important;
}

.stive-notification-menu__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--stive-color-page);
  color: var(--stive-color-primary);
}

.stive-notification-menu__icon--purchase {
  background: rgba(20, 195, 203, 0.12);
  color: var(--stive-color-accent);
}

.stive-notification-menu__icon--alert {
  background: rgba(229, 72, 77, 0.1);
  color: rgb(229, 72, 77);
}

.stive-notification-menu__icon--megaphone {
  background: rgba(14, 58, 63, 0.08);
  color: var(--stive-color-primary);
}

.stive-notification-menu__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stive-notification-menu__item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--stive-color-text);
  line-height: 1.35;
  word-break: break-word;
}

.stive-notification-menu__item.is-unread .stive-notification-menu__item-title {
  color: var(--stive-color-primary);
}

.stive-notification-menu__item-body {
  font-size: 12px;
  font-weight: 500;
  color: var(--stive-color-muted);
  line-height: 1.45;
  word-break: break-word;
}

.stive-notification-menu__item-time {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--stive-color-placeholder);
}

.stive-notification-menu__dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--stive-color-accent);
  flex-shrink: 0;
}

.stive-notification-menu__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 18px 24px;
}

.stive-notification-menu__empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid var(--stive-color-card-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stive-color-placeholder);
  background: #fff;
}

.stive-notification-menu__empty-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--stive-color-text);
}

.stive-notification-menu__empty-desc {
  margin: 6px 0 0;
  max-width: 240px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--stive-color-muted);
  line-height: 1.5;
}

.stive-notification-menu__footer {
  padding: 8px 10px 10px;
  border-top: 1px solid var(--stive-color-card-border);
}

.stive-notification-menu__see-all {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--stive-color-accent) !important;
  text-decoration: none !important;
  background: transparent !important;
}

.stive-notification-menu__see-all:hover {
  background: rgba(20, 195, 203, 0.08) !important;
}
