/* Home Maintenance Request — storefront form + success screen */
.mreq-section {
  padding: 40px 0 72px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 320px);
}

.mreq-section .container-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.mreq-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Hero / intro ---------- */
.mreq-hero {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 720px;
}

.mreq-hero__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: var(--radius-lg);
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-md), 0 8px 24px var(--accent-glow);
}

.mreq-hero__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.mreq-hero__subtitle {
  margin: 0 auto 18px;
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.mreq-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
}

.mreq-hero__trust li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 12px;
}

/* ---------- Two-column layout ---------- */
.mreq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}

.mreq-layout__main {
  min-width: 0;
}

.mreq-aside {
  position: sticky;
  top: calc(var(--header-offset, 96px) + 16px);
}

.mreq-aside__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.35rem;
}

.mreq-aside__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.mreq-aside__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mreq-aside__body {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.mreq-aside__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mreq-aside__list li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mreq-aside__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- What happens next ---------- */
.mreq-next {
  margin-top: 22px;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.mreq-next__title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mreq-next__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mreq-next__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.mreq-next__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Card + header ---------- */
.mreq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mreq-card__header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light, var(--border));
}

.mreq-card__header--compact {
  text-align: start;
}

.mreq-card__header--compact .mreq-card__subtitle {
  margin-inline: 0;
  max-width: none;
}

.mreq-card__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.mreq-card__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.mreq-card__subtitle {
  margin: 0 auto;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Notes ---------- */
.mreq-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.mreq-note i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.mreq-note--muted {
  background: var(--bg-tertiary, rgba(0, 0, 0, 0.03));
  border-color: var(--border);
}

.mreq-note--muted i {
  color: var(--text-secondary);
}

.mreq-note a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Alert ---------- */
.mreq-alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.mreq-alert--error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: var(--danger, #dc3545);
}

.mreq-alert[hidden] {
  display: none !important;
}

/* ---------- Fieldsets ---------- */
.mreq-fieldset {
  padding: 20px 0 4px;
  border-top: 1px solid var(--border-light, var(--border));
}

.mreq-fieldset:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.mreq-fieldset__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mreq-fieldset__title i {
  color: var(--accent);
  font-size: 0.95rem;
}

/* ---------- Fields ---------- */
.mreq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mreq-field {
  margin-bottom: 18px;
}

.mreq-field--full {
  grid-column: 1 / -1;
}

.mreq-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.mreq-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.mreq-field select,
.mreq-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-input, var(--bg-card));
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.mreq-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

[dir="rtl"] .mreq-field select {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 40px;
}

.mreq-field textarea {
  min-height: 110px;
  resize: vertical;
}

.mreq-field input[type="file"] {
  padding: 10px 12px;
  background: var(--bg-tertiary, rgba(0, 0, 0, 0.02));
  cursor: pointer;
}

.mreq-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,
.mreq-field select:hover,
.mreq-field textarea:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.mreq-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.mreq-field select:focus,
.mreq-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.mreq-field input:disabled,
.mreq-field input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
  background: var(--bg-tertiary, rgba(0, 0, 0, 0.04));
}

.mreq-field--invalid input:not([type="checkbox"]):not([type="radio"]),
.mreq-field--invalid select,
.mreq-field--invalid textarea {
  border-color: var(--danger, #dc3545);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.mreq-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mreq-hint a {
  color: var(--accent);
  font-weight: 600;
}

/* Phone + country code */
.mreq-phone {
  display: flex;
  gap: 8px;
}

.mreq-phone__code {
  max-width: 90px;
  text-align: center;
}

.mreq-phone__num {
  flex: 1;
}

/* Radio group */
.mreq-radios {
  display: flex;
  gap: 10px;
}

.mreq-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.mreq-check input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

/* Urgent priority toggle — matches form field language */
.mreq-urgent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface, #fff);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.mreq-urgent:hover {
  border-color: #d4a5a5;
}

.mreq-urgent__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.mreq-urgent__box {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fafafa;
  color: #9a6b6b;
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.mreq-urgent__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mreq-urgent__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #1f2937);
  line-height: 1.35;
}

.mreq-urgent__hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-tertiary, #9ca3af);
  line-height: 1.4;
}

.mreq-urgent:has(.mreq-urgent__input:checked) {
  border-color: #c45c5c;
  background: #fff7f7;
  box-shadow: inset 0 0 0 1px rgba(196, 92, 92, 0.12);
}

.mreq-urgent:has(.mreq-urgent__input:checked) .mreq-urgent__box {
  border-color: #c45c5c;
  background: #c45c5c;
  color: #fff;
}

.mreq-urgent:has(.mreq-urgent__input:checked) .mreq-urgent__title {
  color: #9b2c2c;
}

.mreq-urgent:has(.mreq-urgent__input:focus-visible) {
  outline: 2px solid rgba(196, 92, 92, 0.35);
  outline-offset: 2px;
}

.mreq-radio {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  margin: 0;
}

.mreq-radio input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.mreq-radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* Installation product search */
.mreq-installation {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 10px;
  padding: 14px 16px;
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-light) 55%, transparent);
}

.mreq-installation[hidden] {
  display: none !important;
}

.mreq-product-search {
  position: relative;
}

.mreq-product-results {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, 0.08));
}

.mreq-product-results[hidden] {
  display: none !important;
}

.mreq-product-results li {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light, var(--border));
}

.mreq-product-results li:last-child {
  border-bottom: none;
}

.mreq-product-results li:hover,
.mreq-product-results li:focus {
  background: var(--accent-light);
  outline: none;
}

.mreq-product-results__empty {
  cursor: default;
  color: var(--text-secondary);
}

.mreq-product-selected {
  color: var(--accent);
  font-weight: 600;
}

.mreq-inline-alert {
  margin-top: 10px;
}

.mreq-inline-alert[hidden] {
  display: none !important;
}

/* File list */
.mreq-file-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mreq-file-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  background: var(--bg-tertiary, rgba(0, 0, 0, 0.03));
  border-radius: var(--radius-sm, 8px);
  word-break: break-all;
}

/* Visit cost summary card */
.mreq-cost-card {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary, rgba(0, 0, 0, 0.02));
  border: 1px solid var(--border);
}

.mreq-cost-card[hidden] {
  display: none !important;
}

.mreq-cost-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mreq-cost-card__title i {
  color: var(--accent);
}

.mreq-cost-card__loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 6px 0;
}

.mreq-cost-card__loading i {
  color: var(--accent);
}

.mreq-cost-card__loading[hidden] {
  display: none !important;
}

.mreq-cost-card__error {
  color: var(--danger, #dc3545);
  font-size: 0.88rem;
  padding: 4px 0;
}

.mreq-cost-card__error[hidden] {
  display: none !important;
}

.mreq-cost-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mreq-cost-rows[hidden] {
  display: none !important;
}

.mreq-cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-width: 0;
}

.mreq-cost-row__label {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}

.mreq-cost-row__rate {
  color: var(--text-tertiary, #9ca3af);
  font-size: 0.82rem;
}

.mreq-cost-row__value {
  font-weight: 600;
  color: var(--text-primary);
  white-space: normal;
  min-width: 0;
  max-width: 100%;
  text-align: end;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mreq-cost-row__value .btn {
  max-width: 100%;
  white-space: normal;
}

.mreq-cost-row--total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mreq-cost-row--total .mreq-cost-row__label {
  color: var(--text-primary);
}

.mreq-cost-row--total .mreq-cost-row__value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

/* Success screen variant */
.mreq-cost-card--success {
  max-width: 420px;
  margin: 0 auto 28px;
  text-align: start;
  background: var(--accent-light);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

/* Submit */
.mreq-form__actions {
  margin-top: 14px;
}

.mreq-submit {
  width: 100%;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.mreq-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.is-hidden {
  display: none !important;
}

/* ---------- Success screen ---------- */
.mreq-section--success .container-narrow {
  max-width: 920px;
}

.mreq-success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.35rem, 4vw, 2.75rem);
}

.mreq-success__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mreqPop 0.45s ease;
}

.mreq-success__icon-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem;
  color: #fff;
  background: linear-gradient(145deg, #34d399, var(--success, #10b981));
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35);
}

@keyframes mreqPop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

.mreq-success__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.mreq-success__subtitle {
  margin: 0 auto 26px;
  max-width: 480px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.mreq-success__number {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 28px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  max-width: 100%;
  word-break: break-word;
}

.mreq-success__number-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mreq-success__number-value {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
}

.mreq-success__apps {
  padding: 22px 0 8px;
  margin-bottom: 8px;
  border-top: 1px solid var(--border-light, var(--border));
}

.mreq-success__apps-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mreq-success__apps-hint {
  margin: 0 auto 18px;
  max-width: 460px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.mreq-store-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mreq-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: min(190px, 100%);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--text-primary);
  color: var(--bg-card);
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.mreq-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--bg-card);
}

.mreq-store-btn i {
  font-size: 1.75rem;
  line-height: 1;
}

.mreq-store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.mreq-store-btn__text small {
  font-size: 0.68rem;
  opacity: 0.85;
}

.mreq-store-btn__text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

[dir="rtl"] .mreq-store-btn__text {
  align-items: flex-end;
}

.mreq-success__next {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light, var(--border));
  text-align: start;
}

.mreq-success__next-title {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mreq-success__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mreq-success__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary, rgba(0, 0, 0, 0.02));
  border: 1px solid var(--border-light, var(--border));
}

.mreq-success__step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mreq-success__step-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.mreq-success__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.mreq-success__actions .btn {
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mreq-layout {
    grid-template-columns: 1fr;
  }

  .mreq-aside {
    position: static;
    order: 2;
  }

  .mreq-layout__main {
    order: 1;
  }
}

@media (max-width: 640px) {
  .mreq-grid {
    grid-template-columns: 1fr;
  }

  .mreq-section {
    padding: 24px 0 56px;
  }

  .mreq-hero__trust li {
    flex: 1 1 auto;
    text-align: center;
  }

  .mreq-store-btn {
    min-width: 100%;
    justify-content: center;
  }

  .mreq-success__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mreq-success {
    padding: 1.5rem 1rem 2rem;
  }

  .mreq-cost-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .mreq-cost-row__value {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mreq-cost-row__value .btn,
  .mreq-form__actions .btn,
  .si-pay-actions .btn,
  .si-pay-actions a.btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .mreq-cost-row:has(.btn) {
    flex-direction: column;
    align-items: stretch;
  }

  .mreq-cost-row:has(.btn) .mreq-cost-row__value {
    width: 100%;
    text-align: start;
  }
}

@media (max-width: 360px) {
  .mreq-hero__title {
    font-size: 1.35rem;
  }

  .mreq-success__number-value {
    font-size: 1.05rem;
  }
}

/* ---------- Dark theme tweaks ---------- */
[data-theme="dark"] .mreq-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a1a1aa' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
}

[data-theme="dark"] .mreq-store-btn {
  background: var(--bg-tertiary, #1f2937);
  color: var(--text-primary);
}

[data-theme="dark"] .mreq-store-btn:hover {
  color: var(--text-primary);
}

[data-theme="dark"] .mreq-hero__trust li,
[data-theme="dark"] .mreq-aside__card,
[data-theme="dark"] .mreq-next {
  background: var(--bg-card);
}
