/* MEMZO order confirmation — layered on register.css, legal.css and checkout.css. */

.order-page { --or-ok: #1f9d55; }

/* ---------- hero ---------- */
.or-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 48px);
  padding: clamp(32px, 4.5vw, 64px); border-radius: 32px; background: #0f0f0f; color: #fff;
}
[data-bs-theme=dark] .or-hero { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.or-hero::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -60%; background: radial-gradient(closest-side, rgba(240, 70, 14, .3), rgba(240, 70, 14, 0)); }
.or-badge { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 16px; margin-bottom: 20px; border-radius: 50px; background: rgba(31, 157, 85, .18); font-size: 13px; font-weight: 600; color: #4ade80; }
.or-title { margin: 0 0 14px; font-family: "DM Sans", sans-serif; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: #fff; }
.order-page .or-lede { margin: 0; max-width: 560px; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.or-lede b { color: #fff; font-weight: 600; }

.or-idrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.or-id { padding: 12px 20px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); }
.or-id span { display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.or-id b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.or-idrow .co-icobtn--solid { height: 48px; border-color: rgba(255, 255, 255, .2); color: #fff; }
.or-idrow .co-icobtn--solid:hover { background: #fff; border-color: #fff; color: #0f0f0f; }
.or-idrow .co-icobtn.is-copied { border-color: #4ade80; color: #4ade80; background: transparent; }

.or-hero__side { align-self: center; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .06); }
.order-page .or-side__k { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.order-page .or-side__plan { margin: 0 0 18px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.order-page .or-side__paid { margin: 0 0 2px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.order-page .or-side__sub { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- action strip ---------- */
.or-action {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 14px; padding: 24px clamp(22px, 3vw, 36px); border-radius: 26px;
  background: rgba(240, 70, 14, .08); box-shadow: inset 3px 0 0 var(--co-accent);
}
.or-action h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--reg-ink); }
.order-page .or-action p { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.5; color: var(--reg-muted); }
.or-action .co-btn { margin-left: 0; }
.or-action.is-sent { background: rgba(31, 157, 85, .1); box-shadow: inset 3px 0 0 var(--or-ok); }

/* ---------- layout ---------- */
.or-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; margin-top: 14px; align-items: start; }
.or-col { display: grid; gap: 14px; }
.or-h2 { margin: 0 0 20px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--reg-ink); }

/* status steps */
.or-steps { list-style: none; margin: 0; padding: 0; }
.or-steps li { position: relative; padding: 0 0 26px 38px; }
.or-steps li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--reg-line); background: var(--reg-bg); }
.or-steps li::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: 0; width: 2px; background: var(--reg-line); }
.or-steps li:last-child { padding-bottom: 0; }
.or-steps li:last-child::after { display: none; }
.or-steps li.is-done::before { border-color: var(--or-ok); background: var(--or-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.6 9.3 2.6 2.6 6-6.1' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.or-steps li.is-current::before { border-color: var(--co-accent); box-shadow: 0 0 0 4px rgba(240, 70, 14, .15); }
.or-steps b { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--reg-ink); }
.or-steps span { font-size: 14.5px; line-height: 1.5; color: var(--reg-muted); }
.or-note { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--reg-line); font-size: 14px; color: var(--reg-muted); }
.or-note a { color: var(--reg-ink); text-decoration: underline; text-decoration-color: var(--co-accent); text-underline-offset: 3px; }

/* side */
.order-page .or-help p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--reg-muted); }
.or-help .co-trust { padding: 18px 20px; border-radius: 18px; }
.or-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.or-links a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 50px; border: 1px solid var(--reg-line); font-size: 13.5px; font-weight: 600; color: var(--reg-ink); text-decoration: none; transition: border-color .2s; }
.or-links a:hover { border-color: var(--reg-ink); }
.or-home { width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) { .or-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 991.98px) {
  .or-hero { grid-template-columns: 1fr; }
  .or-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .or-hero { padding: 26px 20px; border-radius: 24px; }
  .or-action { padding: 22px 20px; border-radius: 22px; }
  .or-action .co-btn { width: 100%; }
  .or-id { flex: 1; }
  .or-idrow .co-icobtn--solid { width: 100%; }
}
