/* ===== Services wizard shell ===== */
body.page-services {
  /* Responsive rhythm: tighter on small viewports, Bootstrap-like on large */
  --svc-shell-x: clamp(0.65rem, 2.2vw, 1.25rem);
  --svc-shell-y: clamp(0.45rem, 1.2vw, 0.85rem);
  --svc-gap-xs: clamp(0.25rem, 0.6vw, 0.35rem);
  --svc-gap-sm: clamp(0.35rem, 0.9vw, 0.5rem);
  --svc-gap-md: clamp(0.5rem, 1.2vw, 0.75rem);
  --svc-gap-lg: clamp(0.65rem, 1.5vw, 1rem);
  --svc-card-py: clamp(0.7rem, 1.4vw, 0.95rem);
  --svc-card-px: clamp(0.7rem, 1.4vw, 1rem);
  --svc-icon-box: clamp(2.15rem, 5vw, 2.5rem);
  --svc-icon-font: clamp(1.05rem, 2.6vw, 1.3rem);
  --svc-card-min-h: clamp(3.6rem, 9vw, 4.5rem);
  --svc-stage-bottom: 0.75rem;
  margin: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: #f5f5f7;
}

body.page-services #services-page-root {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin: 0;
  padding: 0;
}

body.page-services #services-page-shell,
body.page-services .wizard-numbered {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

body.page-services .services-topbar {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 40;
}

body.page-services .services-steps-scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

body.page-services .services-steps-scroll::-webkit-scrollbar {
  display: none;
}

body.page-services .services-steps-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

body.page-services .services-steps-scroll .bs-stepper-header {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  margin: 0;
  padding: var(--svc-shell-y) var(--svc-shell-x);
  gap: var(--svc-gap-sm);
}

body.page-services .services-steps-scroll .step,
body.page-services .services-steps-scroll .line {
  flex: 0 0 auto;
}

body.page-services .services-steps-scroll .bs-stepper-label,
body.page-services .services-steps-scroll .bs-stepper-title,
body.page-services .services-steps-scroll .bs-stepper-subtitle {
  white-space: nowrap;
}

body.page-services .bs-stepper .step-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--svc-gap-sm);
  padding: var(--svc-gap-xs) var(--svc-gap-sm);
}

body.page-services .bs-stepper-label.mt-1,
body.page-services .services-steps-scroll .bs-stepper-label {
  margin: 0 0 0 var(--svc-gap-sm) !important;
}

body.page-services .services-topbar-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.page-services .services-topbar-fade.is-left {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0) 100%);
}

body.page-services .services-topbar-fade.is-right {
  right: 56px;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0) 100%);
}

body.page-services .services-topbar.can-scroll-left .services-topbar-fade.is-left,
body.page-services .services-topbar.can-scroll-right .services-topbar-fade.is-right {
  opacity: 1;
}

body.page-services .services-exit {
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: #1d1d1f;
  font-size: 1.8rem;
  line-height: 1;
  text-decoration: none;
}

body.page-services .services-exit:hover {
  color: #696cff;
}

body.page-services .services-stage {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: var(--svc-shell-y) var(--svc-shell-x) calc(var(--svc-stage-bottom) + env(safe-area-inset-bottom, 0px));
  background: #f5f5f7;
}

body.page-services .services-stage .row {
  --bs-gutter-x: var(--svc-gap-lg);
  --bs-gutter-y: var(--svc-gap-lg);
}

body.page-services #services-feedback-alert {
  padding: var(--svc-gap-md) var(--svc-gap-lg);
}

body.page-services #services-feedback-alert .bx {
  font-size: 1.25rem;
  line-height: 1;
}

body.page-services #services-feedback-alert:not(.d-none) {
  position: sticky;
  top: 0;
  z-index: 6;
  margin-bottom: var(--svc-gap-lg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

body.page-services #services-directory-referral-alert .bx {
  font-size: 1.25rem;
  line-height: 1;
}

body.page-services .services-bottombar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--svc-gap-md);
  padding: var(--svc-shell-y) var(--svc-shell-x) calc(var(--svc-shell-y) + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 40;
}

body.page-services .services-bottombar .btn {
  min-width: 7.5rem;
}

/* Phone + iPad: align top bar, stage, and bottom bar; clip horizontal bleed */
@media (max-width: 1024px) {
  body.page-services {
    --svc-stage-bottom: 4.25rem;
  }

  body.page-services #services-page-root,
  body.page-services #services-page-shell,
  body.page-services .wizard-numbered {
    max-width: 100%;
    overflow-x: clip;
  }

  body.page-services .services-topbar {
    min-height: 0;
  }

  body.page-services .bs-stepper .step-trigger {
    padding: var(--svc-gap-xs) var(--svc-gap-sm) !important;
  }

  body.page-services .services-exit {
    flex: 0 0 2.65rem;
    width: 2.65rem;
    font-size: 1.35rem;
  }

  body.page-services .services-topbar-fade.is-right {
    right: 2.65rem;
    width: 36px;
  }

  body.page-services .services-topbar-fade.is-left {
    width: 28px;
  }

  body.page-services .services-bottombar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    flex: none;
  }

  body.page-services .services-stage {
    overflow-x: clip;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Narrow shell: no horizontal gutter (avoid sideways scroll); keep vertical stack gap */
  body.page-services .services-stage .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: var(--svc-gap-lg);
    margin-left: 0;
    margin-right: 0;
  }

  body.page-services .services-stage .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  body.page-services .services-stage .content,
  body.page-services #service-catalog {
    max-width: 100%;
    min-width: 0;
  }

}

@media (max-width: 900px) {
  body.page-services .bs-stepper .step-trigger {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  body.page-services .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label,
  body.page-services .bs-stepper-label.mt-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 0 0.4rem !important;
    text-align: left;
  }

  body.page-services .bs-stepper-circle {
    width: 1.65rem !important;
    height: 1.65rem !important;
    margin: 0 !important;
    font-size: 0.8rem !important;
    flex: 0 0 auto;
  }

  body.page-services .bs-stepper-title {
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
  }

  body.page-services .bs-stepper-subtitle {
    margin-top: 0.05rem !important;
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
  }

  body.page-services .services-steps-scroll .line i {
    font-size: 1.05rem;
  }

  body.page-services .services-bottombar .btn {
    min-width: 5.25rem;
    min-height: 0;
    padding: 0.28rem 0.7rem;
    font-size: 0.84rem;
    line-height: 1.2;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  body.page-services .services-bottombar .btn {
    min-width: 6.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
  }
}

body.page-services #step2-scroll,
body.page-services #step3-scroll {
  max-height: none;
  overflow: visible;
}

body.page-services #service-picker {
  min-height: 0;
}

body.page-services .service-group + .service-group {
  margin-top: 0.35rem;
  border-top: 1px solid #ececef;
}

body.page-services .service-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 0.15rem;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

body.page-services .service-group-toggle .bx {
  color: #8e8e93;
  font-size: 1.35rem;
  transition: transform 0.18s ease;
}

body.page-services .service-group.is-open > .service-group-toggle .bx,
body.page-services .service-group.is-search-open > .service-group-toggle .bx {
  transform: rotate(180deg);
}

body.page-services .service-group-body {
  display: none;
  padding: 0 0 0.35rem;
}

body.page-services .service-group.is-open > .service-group-body,
body.page-services .service-group.is-search-open > .service-group-body {
  display: block;
}

body.page-services .service-subgroup-title {
  margin: 0.7rem 0 0.45rem;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.page-services .service-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #e6e6ea;
  border-radius: 0.85rem;
  background: #fff;
  color: #1d1d1f;
  text-align: left;
}

body.page-services .service-item-row:hover {
  border-color: #c5c7f7;
}

body.page-services .service-item-row.is-selected {
  border-color: #696cff;
  background: #f7f7ff;
}

body.page-services .service-item-row.is-locked {
  background: #f5f5f7;
  cursor: default;
}

body.page-services .service-item-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid #c7c7cc;
  border-radius: 50%;
  flex: 0 0 auto;
}

body.page-services .service-item-mark .bx {
  color: #fff;
  font-size: 1rem;
  opacity: 0;
}

body.page-services .service-item-row.is-selected .service-item-mark {
  border-color: #696cff;
  background: #696cff;
}

body.page-services .service-item-row.is-selected .service-item-mark .bx,
body.page-services .service-item-row.is-locked .service-item-mark .bx {
  opacity: 1;
}

body.page-services .service-item-row.is-locked .service-item-mark {
  border-color: #71dd37;
  background: #71dd37;
}

body.page-services .service-item-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

body.page-services .service-item-price {
  flex: 0 0 auto;
  color: #6e6e73;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.page-services .service-item-badge {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.2rem;
  color: #6e6e73;
  font-size: 0.75rem;
  white-space: nowrap;
}

body.page-services .service-item-row.is-locked .service-item-badge {
  display: inline-flex;
}

body.page-services .service-picker-empty {
  margin: 0.75rem 0 0;
  color: #6e6e73;
  font-size: 0.9rem;
}

body.page-services .service-optional-accordion .accordion-item {
  border: 1px solid #e6e6ea;
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
}

body.page-services .service-optional-accordion .accordion-button {
  background: #fff;
  color: #566a7f;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: none;
}

body.page-services .service-optional-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: #1d1d1f;
  box-shadow: none;
}

body.page-services .service-optional-accordion .accordion-button:focus {
  box-shadow: none;
}

body.page-services .service-optional-accordion .accordion-button::after {
  margin-left: auto;
}

body.page-services .service-free-entry {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(105, 108, 255, 0.45);
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

body.page-services .service-free-entry:hover {
  border-color: #696cff;
  background: #f7f7ff;
}

body.page-services .service-free-entry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: rgba(105, 108, 255, 0.12);
  color: #696cff;
  font-size: 1.35rem;
  flex: 0 0 auto;
}

body.page-services .service-free-entry-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body.page-services .service-free-entry-title {
  font-weight: 700;
  color: #1d1d1f;
}

body.page-services .service-free-entry-desc {
  color: #6e6e73;
  font-size: 0.9rem;
}

body.page-services .service-free-count {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1d1f;
}
#services-stepper-wrapper {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 0.75rem;
}

#services-stepper-wrapper .bs-stepper {
    margin: 0;
    box-shadow: none;
}

#services-stepper-wrapper .bs-stepper-header {
    padding: 0.35rem 1rem;
    margin: 0;
}

#services-stepper-wrapper .bs-stepper-header .step .step-trigger {
    padding: 0.25rem 0.5rem;
}

#services-stepper-wrapper .bs-stepper-header .bs-stepper-label {
    margin: 0;
}

#services-stepper-wrapper .bs-stepper-header .bs-stepper-title {
    font-size: 0.85rem;
}

#services-stepper-wrapper .bs-stepper-header .bs-stepper-subtitle {
    font-size: 0.7rem;
}

#services-stepper-wrapper .bs-stepper-header .bs-stepper-circle {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8rem;
}

/* ===== Compact Tabs ===== */
#services-mode-tabs .nav-link {
    padding: 0.5rem 0.75rem;
}

/* ===== Consult tab link ===== */
#services-mode-tabs .nav-link[href] {
    color: #696cff;
    border-bottom: 2px dashed transparent;
}

#services-mode-tabs .nav-link[href]:hover {
    background-color: #e7e7ff;
    color: #5f61e6;
}

/* ===== Tab content scrollable, fills remaining viewport ===== */
#services-mode-tab-content {
    max-height: calc(100vh - 200px);
    max-height: calc(100dvh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
}

/* ===== Steps 2 & 3: scrollable body, buttons always visible ===== */
#step2-scroll,
#step3-scroll {
    max-height: calc(100vh - 200px);
    max-height: calc(100dvh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
    padding-bottom: 0.5rem;
}

/* Smooth column width transition for bundle grid */
#service-bundles-grid > .col-12,
#service-bundles-grid > .col-md-6 {
    transition: flex 0.35s ease, max-width 0.35s ease;
}

.service-bundle-card {
    position: relative;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1.25rem 1.25rem 1rem;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.page-services #step-provider .custom-option {
    background: #fff;
}

body.page-services #step-provider .step3-provider-slot {
    min-width: 0;
}

body.page-services #step-provider .custom-option-icon .custom-option-content {
    min-width: 0;
}

body.page-services #step-provider .custom-option-icon .custom-option-body {
    min-width: 0;
    max-width: 100%;
}

body.page-services #step-provider .provider-card-subtitle {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.page-services #step-provider .provider-card-featured {
    position: relative;
    overflow: hidden;
}

body.page-services #step-provider .provider-recommend-ribbon {
    position: absolute;
    top: 16px;
    right: -34px;
    z-index: 2;
    width: 112px;
    padding: 3px 0;
    background: #696cff;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-align: center;
    transform: rotate(45deg);
    pointer-events: none;
}

body.page-services #step-provider .step3-diy-note {
    margin-top: 0.15rem;
    color: #8a8d93;
}

body.page-services #step-provider .step3-action-pair {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

body.page-services #step-provider .step3-action-pair .step3-refresh-card {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 0.75rem 0.2rem;
}

body.page-services #step-provider .step3-action-pair .step3-refresh-title {
    font-size: 0.8125rem;
}

body.page-services #step-provider .step3-refresh-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 1em;
    border: 1px dashed #c5c8ce;
    border-radius: 0.5rem;
    background: #fff;
    color: #566a7f;
    text-align: center;
    cursor: pointer;
}

body.page-services #step-provider .step3-refresh-card i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    line-height: 1;
}

body.page-services #step-provider .step3-refresh-title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d1d1f;
}

body.page-services #step-provider .step3-refresh-card small {
    display: block;
    margin-top: 0.15rem;
    color: #8a8d93;
}

body.page-services #step-provider .step3-refresh-card:hover,
body.page-services #step-provider .step3-refresh-card:focus-visible {
    border-color: #696cff;
    color: #696cff;
}

body.page-services #step-provider .step3-refresh-card:hover .step3-refresh-title,
body.page-services #step-provider .step3-refresh-card:focus-visible .step3-refresh-title {
    color: #696cff;
}

body.page-services #step-provider .step3-refresh-card:disabled {
    cursor: wait;
    opacity: 0.7;
}

body.page-services #step-provider .step3-refresh-card.is-loading i {
    animation: step3-refresh-spin 0.8s linear infinite;
}

@keyframes step3-refresh-spin {
    to {
        transform: rotate(360deg);
    }
}

#provider-directory-modal .modal-content {
    height: 100%;
}

#provider-directory-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    overflow: hidden;
}

#provider-directory-modal .provider-directory-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

#provider-directory-modal .provider-directory-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.8rem 0.15rem;
    border: 0;
    border-bottom: 1px solid #ececf1;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

#provider-directory-modal .provider-directory-item strong {
    font-weight: 600;
    color: #1d1d1f;
}

#provider-directory-modal .provider-directory-item small {
    color: #8a8d93;
}

#provider-directory-modal .provider-directory-item:hover,
#provider-directory-modal .provider-directory-item.is-selected {
    background: #f4f4ff;
}

body.page-services #step-provider .step3-mode-divider {
    margin: 0.15rem 0;
    border: 0;
    border-top: 1px solid #c5c8ce;
    opacity: 1;
}

.service-bundle-card.form-check {
    padding-left: 1.25rem;
}

/* 消除 Sneat custom-option-icon 的內部雙重 padding */
.service-bundle-card .custom-option-content {
    padding: 0;
}

.service-bundle-card .custom-option-body {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-right: 2rem;
    text-align: left;
}

.service-bundle-card .bundle-description {
    display: block;
    margin-top: 0.2rem;
    text-align: left;
}

.service-bundle-card .bundle-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    background-color: rgba(105, 108, 255, 0.12);
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-bundle-card .service-bundle-radio {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.service-bundle-card .bundle-options {
    border-top: 1px dashed var(--bs-border-color);
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.service-bundle-card.is-open,
.service-bundle-card.checked {
    box-shadow: 0 0.75rem 1.5rem rgba(58, 53, 65, 0.15);
    border-color: #696cff !important;
    transform: translateY(-2px);
}

.service-bundle-card.is-open .bundle-options,
.service-bundle-card.checked .bundle-options {
    max-height: 600px;
    opacity: 1;
}

.service-bundle-card.is-open .bundle-description,
.service-bundle-card.checked .bundle-description {
    display: none;
}

.bundle-option {
    padding: 0.25rem 0;
}

body.page-services .service-bundle-card .custom-option-body .custom-option-title {
  font-weight: 700;
  color: #1d1d1f;
}

body.page-services .bundle-title-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  padding-top: 0.35rem;
}

body.page-services .bundle-title-line .custom-option-title {
  margin-bottom: 0;
}

body.page-services .bundle-total {
  color: #6e6e73;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

body.page-services .service-free-total {
  margin-left: 0.65rem;
  color: #6e6e73;
  font-size: 0.84rem;
  font-weight: 500;
}

body.page-services .bundle-option-price,
body.page-services .service-item-price {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body.page-services .bundle-option-price {
  margin-left: 0.35rem;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 400;
}

body.page-services .price-note-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid #c7c7cc;
  color: #6e6e73;
  font-size: 0.68rem;
  line-height: 1;
  cursor: pointer;
}

body.page-services .price-note-popover {
  position: fixed;
  z-index: 1200;
  width: max-content;
  max-width: min(26rem, calc(100vw - 16px));
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: #fff;
  color: #1d1d1f;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.14);
}

body.page-services .price-note-popover p {
  margin: 0 0 0.4rem;
}

body.page-services .price-note-popover .table {
  width: 100%;
  margin: 0.15rem 0 0.35rem;
  color: inherit;
  font-size: 0.75rem;
}

body.page-services .price-note-popover .table th,
body.page-services .price-note-popover .table td {
  padding: 0.22rem 0;
  vertical-align: top;
  border-bottom: 1px solid #ececf1;
}

body.page-services .price-note-popover .table th {
  color: #6e6e73;
  font-weight: 600;
}

body.page-services .price-note-popover .table tr:last-child td {
  border-bottom: 0;
}

body.page-services .price-note-popover p:last-child {
  margin-bottom: 0;
}

body.page-services .price-note-popover hr {
  margin: 0.55rem 0 0.45rem;
  border: 0;
  border-top: 1px solid #d9d9de;
  opacity: 1;
}

body.page-services .price-note-popover .text-muted {
  color: #8a8d93;
}

.bundle-option label {
    font-weight: 400;
}

.bundle-lock {
    color: #8a8d93;
    cursor: help;
    font-size: 0.95rem;
}

/* Tab 样式优化 */
#services-mode-tabs .nav-link:not([href]) {
    background-color: #f5f5f9;
    color: #566a7f;
    border: 1px solid transparent;
    margin-right: 4px;
    border-radius: 0.375rem 0.375rem 0 0;
}

#services-mode-tabs .nav-link.active {
    background-color: #fff;
    color: #696cff;
    border-color: #d9dee3 #d9dee3 #fff;
    box-shadow: 0 -2px 6px rgba(67, 89, 113, 0.075);
}

#services-mode-tabs .nav-link:not([href]):hover:not(.active) {
    background-color: #e7e7ff;
    color: #696cff;
}

/* Make radio/checkbox states match Sneat custom option styling */
#services-page-root .custom-option .form-check-input {
    width: 1.35rem;
    height: 1.35rem;
    border-width: 2px;
    box-shadow: none;
}

#services-page-root .custom-option .form-check-input:focus {
    border-color: #696cff;
    box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.2);
}

#services-page-root .custom-option .form-check-input:checked,
#services-page-root .custom-option .form-check-input[type="checkbox"]:indeterminate {
    background-color: #696cff;
    border-color: #696cff;
    box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.2);
}

#services-page-root .custom-option .form-check-input:disabled:checked {
    opacity: 1;
    background-color: #9ca1ff;
    border-color: #696cff;
}

#services-page-root .custom-option.checked {
    border-color: #696cff;
    box-shadow: 0 0.75rem 1.5rem rgba(105, 108, 255, 0.18);
}

#services-page-root .service-bundle-card .service-bundle-radio {
    width: 1.35rem;
    height: 1.35rem;
}

#provider-list-container .provider-select-row {
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#provider-list-container .provider-select-row:focus {
    outline: none;
}

#provider-list-container .provider-select-row:focus td,
#provider-list-container .provider-select-row.is-selected td {
    background-color: rgba(105, 108, 255, 0.08);
}

#provider-list-container .provider-select-row.is-selected {
    box-shadow: inset 3px 0 0 #696cff;
}

#provider-list-container .provider-view-btn {
    position: relative;
    z-index: 1;
}

#tender-requirements-alert {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#tender-requirements-title {
    font-size: 0.95rem;
}

#tender-requirements-alert #btn-back-to-step2 {
    min-width: 10.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e0a800;
    box-shadow: 0 0.2rem 0.5rem rgba(161, 98, 7, 0.28);
}

#tender-requirements-alert #btn-back-to-step2:hover,
#tender-requirements-alert #btn-back-to-step2:focus-visible {
    background-color: #ffca2c;
    border-color: #e0a800;
    color: #1f2d3d;
}

.tender-success-qr {
    max-width: 220px;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.5rem;
}

#email-input-group.dropdown .dropdown-menu {
    z-index: 30;
}

#email-input-group .dropdown-toggle::after {
    margin-left: 0;
}

#services-page-root .iti {
    display: block;
    width: 100%;
}

#services-page-root .iti .form-control {
    width: 100%;
}

#services-page-root .iti__country-list {
    width: max-content;
    min-width: 260px;
    max-width: min(360px, calc(100vw - 2rem));
    z-index: 30;
}

#services-page-root .iti__search-item {
    position: sticky;
    top: 0;
    z-index: 2;
    list-style: none;
    background: #fff;
    border-bottom: 1px solid var(--bs-border-color);
}

#services-page-root .iti__search-box {
    padding: 0.5rem;
}

#services-page-root .iti__search-input {
    min-width: 0;
}

/* ===== Step 2: quieter panels + intake embed harmony ===== */
#step-requirements .content-header h6 {
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}

#step-requirements .content-header small {
    color: #8592a3;
}

#step-requirements .svc-step2-panel {
    border-radius: 0.85rem;
    /* Keep visible so intl-tel-input country list is not clipped */
    overflow: visible;
    position: relative;
    box-shadow: 0 0.125rem 0.5rem rgba(67, 89, 113, 0.06) !important;
}

/* Contact panel hosts the phone country dropdown — stay above following panels */
#step-requirements .col-12:has(#contact-phone) .svc-step2-panel {
    z-index: 5;
}

#step-requirements .svc-step2-panel > .card-header {
    border-bottom: 1px solid rgba(67, 89, 113, 0.08);
    border-top-left-radius: 0.85rem;
    border-top-right-radius: 0.85rem;
    padding: 0.85rem 1.15rem;
}

#step-requirements .svc-step2-panel > .card-header strong {
    font-size: 0.92rem;
    font-weight: 650;
    color: #566a7f;
}

#step-requirements .svc-step2-panel > .card-body {
    border-bottom-left-radius: 0.85rem;
    border-bottom-right-radius: 0.85rem;
    padding: 1.15rem 1.15rem 1.25rem;
}

#step-requirements .svc-step2-optional > .card-header {
    padding: 0.55rem 0.85rem;
}

#step-requirements .svc-optional-toggle {
    font-weight: 550;
    gap: 0.15rem;
}

#step-requirements .svc-optional-toggle[aria-expanded="true"] .svc-optional-chevron,
#step-requirements .svc-optional-toggle:not(.collapsed) .svc-optional-chevron {
    transform: rotate(180deg);
}

#step-requirements .svc-optional-chevron {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Intake embed inside services: match marketend purple system, flatten nested cards */
#services-page-root #dynamic-service-fields .icf-embed {
    --icf-ink: #435971;
    --icf-muted: #8592a3;
    --icf-line: rgba(67, 89, 113, 0.14);
    --icf-brand: #696cff;
    --icf-soft: #f5f5f9;
}

#services-page-root #dynamic-service-fields .icf-chips {
    margin-bottom: 0.85rem;
    gap: 0.35rem;
}

#services-page-root #dynamic-service-fields .icf-chip {
    background: rgba(105, 108, 255, 0.1);
    color: #5f61e6;
    border-radius: 0.375rem;
    font-weight: 550;
    padding: 0.22rem 0.55rem;
}

#services-page-root #dynamic-service-fields .icf-card {
    margin-bottom: 0.85rem;
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(67, 89, 113, 0.12);
    background: #fafafc;
    box-shadow: none;
}

#services-page-root #dynamic-service-fields .icf-card:last-child {
    margin-bottom: 0;
}

#services-page-root #dynamic-service-fields .icf-card h2 {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: #566a7f;
}

#services-page-root #dynamic-service-fields .icf-hint {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

#services-page-root #dynamic-service-fields .icf-grid {
    gap: 0.7rem 0.9rem;
}

#services-page-root #dynamic-service-fields .icf-field {
    font-size: 0.8rem;
    gap: 0.28rem;
}

#services-page-root #dynamic-service-fields .icf-input,
#services-page-root #dynamic-service-fields .icf-btn {
    border-radius: 0.45rem;
}

#services-page-root #dynamic-service-fields .icf-input {
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
    border-color: #d9dee3;
    background: #fff;
}

#services-page-root #dynamic-service-fields .icf-input:focus {
    border-color: #696cff;
    box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.16);
}

#services-page-root #dynamic-service-fields .icf-ro-bilingual {
    gap: 0.85rem 0;
    margin-top: 0.55rem;
    padding: 0.75rem;
    border: 1px solid rgba(67, 89, 113, 0.1);
    border-radius: 0.65rem;
    background: #fff;
}

#services-page-root #dynamic-service-fields .icf-ro-col + .icf-ro-col {
    border-left: 1px dashed rgba(67, 89, 113, 0.14);
    padding-left: 1rem;
    margin-left: 1rem;
}

#services-page-root #dynamic-service-fields .icf-ro-lang-title {
    font-size: 0.82rem;
    font-weight: 650;
    color: #566a7f;
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed rgba(67, 89, 113, 0.12);
}

#services-page-root #dynamic-service-fields .icf-ro-col-fields {
    gap: 0.55rem;
}

#services-page-root #dynamic-service-fields .icf-person-name-bilingual {
    margin: 0.15rem 0 0.95rem;
}

#services-page-root #dynamic-service-fields .icf-shareholder {
    margin-top: 0.7rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(67, 89, 113, 0.12);
    border-style: solid;
    border-radius: 0.65rem;
    background: #fff;
}

#services-page-root #dynamic-service-fields .icf-shareholder-top {
    margin-bottom: 0.55rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px dashed rgba(67, 89, 113, 0.12);
}

#services-page-root #dynamic-service-fields .icf-shareholder-top h4 {
    font-size: 0.88rem;
    font-weight: 650;
    color: #566a7f;
}

#services-page-root #dynamic-service-fields .icf-upload-block {
    margin-top: 0.25rem;
    padding-top: 0.7rem;
}

#services-page-root #dynamic-service-fields .icf-upload-hint {
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
}

#services-page-root #dynamic-service-fields .icf-check {
    font-size: 0.9rem;
    gap: 0.5rem;
}

#services-page-root #dynamic-service-fields .icf-btn-primary {
    background: #696cff;
}

#services-page-root #dynamic-service-fields .icf-btn-ghost {
    border-color: #d9dee3;
    color: #566a7f;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
}

#services-page-root #dynamic-service-fields .icf-namecheck {
    margin-top: 0.65rem;
    gap: 0.55rem;
}

#services-page-root #dynamic-service-fields .icf-ro-district-zh:disabled {
    background: #f5f5f9;
    color: #566a7f;
    border-color: #d9dee3;
}

@media (max-width: 720px) {
    #services-page-root #dynamic-service-fields .icf-ro-bilingual {
        padding: 0.65rem;
        gap: 0.65rem;
    }

    #services-page-root #dynamic-service-fields .icf-ro-col + .icf-ro-col {
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
        border-top: 1px dashed rgba(67, 89, 113, 0.14);
        padding-top: 0.75rem;
    }
}

/* Mobile responsive */
@media (max-width: 575.98px) {
    #services-stepper-wrapper .bs-stepper-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
        padding: 0.25rem 0.5rem;
    }
    #services-stepper-wrapper .bs-stepper .line {
        display: none;
    }
    #services-stepper-wrapper .bs-stepper-header .bs-stepper-subtitle {
        display: none;
    }
    #services-page-root .service-bundle-card .bundle-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    #services-mode-tab-content {
        max-height: calc(100vh - 240px);
        max-height: calc(100dvh - 240px);
    }
    #step2-scroll,
    #step3-scroll {
        max-height: calc(100vh - 240px);
        max-height: calc(100dvh - 240px);
    }
    #services-mode-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
    #step-requirements .svc-step2-panel > .card-body {
        padding: 0.95rem;
    }
}

/* Step 1: one decision at a time */
.svc-pick-prompt,
.svc-cart-title {
    margin: 0 0 var(--svc-gap-md);
    font-size: clamp(1.02rem, 2.4vw, 1.15rem);
    font-weight: 650;
    color: #1d1d1f;
}

.svc-crumbs {
    margin: 0 0 var(--svc-gap-sm);
    color: #8e8e93;
    font-size: clamp(0.8rem, 2vw, 0.85rem);
}

.svc-pick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--svc-gap-md);
}

.svc-pick-card {
    display: flex;
    align-items: center;
    gap: var(--svc-gap-md);
    width: 100%;
    max-width: 100%;
    min-height: var(--svc-card-min-h);
    padding: var(--svc-card-py) var(--svc-card-px);
    border: 1px solid #e6e6ea;
    border-radius: 0.9rem;
    background: #fff;
    text-align: left;
    color: #1d1d1f;
}

.svc-pick-card:hover,
.svc-item-card:hover,
.svc-q-option:hover {
    border-color: #696cff;
}

.svc-pick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--svc-icon-box);
    height: var(--svc-icon-box);
    flex: 0 0 auto;
    border-radius: 0.65rem;
    background: #f3f2ff;
    color: #696cff;
    font-size: var(--svc-icon-font);
    line-height: 1;
}

.svc-pick-name {
    flex: 1 1 auto;
    font-weight: 600;
    line-height: 1.35;
}

.svc-pick-chevron {
    margin-left: auto;
    color: #aeaeb2;
    font-size: clamp(1.1rem, 2.8vw, 1.35rem);
    line-height: 1;
    flex: 0 0 auto;
}

.svc-item-card {
    background: #fff;
    border: 1px solid #e6e6ea;
    border-radius: 0.9rem;
    max-width: 100%;
    box-sizing: border-box;
}

.svc-item-line {
    display: flex;
    align-items: flex-start;
    gap: var(--svc-gap-md);
    width: 100%;
    padding: var(--svc-card-py) var(--svc-card-px);
    cursor: pointer;
}

.svc-item-titlewrap {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    line-height: 1.4;
}

.svc-item-line:focus-visible {
    outline: 2px solid #696cff;
    outline-offset: -2px;
}

.svc-note-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    margin-left: 0.3rem;
    border: 1px solid #c7c7cc;
    border-radius: 50%;
    background: #fff;
    color: #6e6e73;
    font-size: 0.72rem;
    line-height: 1;
    vertical-align: 0.08em;
    cursor: pointer;
}

.svc-note-toggle.is-open {
    border-color: #696cff;
    color: #696cff;
}

.svc-pick-side {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    white-space: nowrap;
}

.svc-pick-price,
.svc-cart-price {
    color: #6d6d72;
    font-size: 0.92rem;
}

.svc-selected-jump,
.svc-add-another {
    border: 0;
    background: transparent;
    color: #696cff;
    padding: 0;
    font-size: 0.88rem;
}

#services-page-root .svc-icon-remove,
#services-page-root .svc-cart-remove.svc-icon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: #9aa0ac;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

#services-page-root .svc-icon-remove .bx,
#services-page-root .svc-cart-remove .bx {
    font-size: 1.2rem;
    pointer-events: none;
}

#services-page-root .svc-icon-remove:hover,
#services-page-root .svc-cart-remove:hover {
    color: #69707d;
    background: rgba(67, 89, 113, 0.08);
}

#services-page-root .svc-icon-remove:focus-visible,
#services-page-root .svc-cart-remove:focus-visible {
    outline: 2px solid rgba(105, 108, 255, 0.32);
    outline-offset: 1px;
}

#services-page-root .sh-remove.btn {
    border: 0;
    background: transparent;
    box-shadow: none;
    min-width: 1.85rem;
    padding: 0;
}

#services-page-root .shareholder-list td:last-child {
    text-align: center;
    vertical-align: middle;
}

#services-page-root #dynamic-service-fields .icf-remove-shareholder.svc-icon-remove {
    min-width: 1.85rem;
    padding: 0;
    border-color: transparent;
    color: #9aa0ac;
}

#services-page-root #dynamic-service-fields .icf-remove-shareholder.svc-icon-remove:hover {
    color: #69707d;
    background: rgba(67, 89, 113, 0.08);
}

.svc-note-body,
.svc-pick-empty {
    margin: 0 0.9rem 0.85rem;
    color: #6d6d72;
    font-size: 0.9rem;
    line-height: 1.5;
}

.svc-note-body p {
    margin: 0 0 0.4rem;
}

.svc-note-body p:last-child {
    margin-bottom: 0;
}

.svc-note-body .table {
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    color: inherit;
    font-size: 0.82rem;
}

.svc-note-body .table th,
.svc-note-body .table td {
    padding: 0.22rem 0;
    vertical-align: top;
    border-bottom: 1px solid #ececf1;
}

.svc-note-body .table th {
    color: #6e6e73;
    font-weight: 600;
}

.svc-note-body .table tr:last-child td {
    border-bottom: 0;
}

.svc-note-body hr {
    margin: 0.55rem 0 0.45rem;
    border: 0;
    border-top: 1px solid #d9d9de;
    opacity: 1;
}

.svc-selected-jump,
.svc-add-another {
    display: inline-flex;
    margin: 0 0 0.85rem;
}

.svc-q {
    display: flex;
    flex-direction: column;
    gap: var(--svc-gap-md);
    margin: 0 0 var(--svc-gap-lg);
    padding: var(--svc-gap-lg);
    border: 1px solid transparent;
    border-radius: 0.9rem;
    background: #fff;
}

.svc-q.is-missing {
    border-color: #ff3e1d;
}

.svc-q-prompt {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.5;
}

.svc-q-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.svc-q-option {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e6e6ea;
    border-radius: 0.7rem;
    background: #fff;
    font-weight: 650;
}

.svc-q-option.is-selected {
    border-color: #696cff;
    background: #f3f2ff;
    color: #696cff;
}

.svc-next-count {
    display: inline-block;
    margin-left: 0.4em;
    min-width: 1ch;
    font-variant-numeric: tabular-nums;
}

.svc-cart {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.svc-cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e6e6ea;
    border-radius: 0.9rem;
}

.svc-cart-name {
    font-weight: 600;
}

.svc-cart-total {
    margin: 0.65rem 0 0.5rem;
    padding: 0.95rem 1.05rem;
    border: 1px solid #e1e1e8;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #f9f9fc 0%, #f4f4f8 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.svc-cart-total-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
}

.svc-cart-total-label {
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: #6e6e73;
}

.svc-cart-total-value {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.25rem 0.55rem;
    text-align: right;
}

.svc-cart-total-chip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.12rem 0.2rem;
    line-height: 1.35;
}

.svc-cart-total-amt {
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #1d1d1f;
}

.svc-cart-total-affix {
    font-size: 0.82rem;
    font-weight: 500;
    color: #6e6e73;
}

.svc-cart-total-sep {
    font-size: 0.8rem;
    font-weight: 500;
    color: #aeaeb2;
    user-select: none;
}

.svc-cart-total-note {
    margin: 0.55rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.75rem;
    line-height: 1.45;
    color: #86868b;
}

.svc-add-another {
    margin-top: 0.85rem;
}

@media (max-width: 575.98px) {
    .svc-cart-total-head {
        flex-direction: column;
        align-items: stretch;
    }

    .svc-cart-total-value {
        justify-content: flex-start;
        text-align: left;
    }

    .svc-cart-total-chip {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .svc-pick-grid {
        grid-template-columns: 1fr;
    }
}

/* Guest contact email: one-line send / code / resend / caret */
#email-otp-wrap .input-group {
    flex-wrap: nowrap;
}

#email-otp-wrap .input-group > .form-control {
    min-width: 0;
}

#email-otp-wrap #btn-send-code {
    white-space: nowrap;
    flex: 0 0 auto;
}

#otp-row > #btn-email-more {
    flex: 0 0 auto;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    line-height: 1;
}

#otp-row > #btn-email-more .bx-caret-down {
    font-size: 1.05rem;
    vertical-align: middle;
}

#email-otp-status {
    flex: 0 0 auto;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}

#email-otp-menu {
    position: fixed;
    z-index: 1080;
    min-width: 9rem;
    margin: 0;
    padding: 0.3rem;
    background: #fff;
    border: 1px solid rgba(67, 89, 113, 0.14);
    border-radius: 0.5rem;
    box-shadow: 0 0.35rem 1.25rem rgba(67, 89, 113, 0.16);
}

#email-otp-menu .email-otp-menu-item {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: start;
    border-radius: 0.375rem;
    padding: 0.45rem 0.7rem;
    color: #566a7f;
    font-size: 0.875rem;
    line-height: 1.3;
    white-space: nowrap;
}

#email-otp-menu .email-otp-menu-item:hover,
#email-otp-menu .email-otp-menu-item:focus {
    background: rgba(105, 108, 255, 0.08);
    color: #696cff;
    outline: none;
}

#submit-success-modal .success-request-id {
    font-size: 0.9375rem;
    line-height: 1.5;
}

#submit-success-modal .success-request-id-value,
#submit-success-modal #success-request-id-value {
    letter-spacing: 0.02em;
}

#submit-success-modal .success-request-id-action {
    width: 2rem;
    height: 2rem;
    padding: 0;
    flex-shrink: 0;
}

#submit-success-modal .success-request-id-action.is-copied {
    border-color: rgba(113, 221, 55, 0.5);
    color: #71dd37;
    background: rgba(113, 221, 55, 0.08);
}
