/* ============================================================
   SaaS Onboarding — 6-Step Tenant Registration Wizard
   Standalone page, no header, centered card design
   ============================================================ */

:root {
    --reg-primary: #F26A21;
    --reg-primary-dark: #d95a15;
    --reg-primary-light: #fff5ed;
    --reg-bg: #f7f8fc;
    --reg-card: #ffffff;
    --reg-border: #e2e8f0;
    --reg-text: #374151;
    --reg-heading: #1e293b;
    --reg-muted: #6b7280;
    --reg-success: #10b981;
    --reg-success-bg: #ecfdf5;
    --reg-error: #ef4444;
    --reg-error-bg: #fef2f2;
    --reg-radius: 18px;
    --reg-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

.reg-page {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    background: var(--reg-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    margin: 0;
    /* Defensive: prevent any off-screen positioned element (e.g., a stray
       tooltip, a menu, or an sr-only helper) from creating horizontal scroll,
       which is especially bad in RTL where `left` values translate to
       physical-right shifts. */
    overflow-x: hidden;
}

.reg-container {
    max-width: 520px;
    width: 100%;
}

/* ---- Step Indicators ---- */
.reg-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    gap: 0;
    padding: 0 20px;
}

.reg-step-item {
    display: flex;
    align-items: center;
}

.reg-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid var(--reg-border);
    color: var(--reg-muted);
    background: var(--reg-card);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.reg-step-circle.active {
    border-color: var(--reg-primary);
    background: var(--reg-primary);
    color: #fff;
}

.reg-step-circle.completed {
    border-color: var(--reg-success);
    background: var(--reg-success);
    color: #fff;
}

.reg-step-line {
    width: 32px;
    height: 2px;
    background: var(--reg-border);
    margin: 0 4px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.reg-step-line.completed {
    background: var(--reg-success);
}

/* ---- Card ---- */
.reg-card {
    background: var(--reg-card);
    border-radius: var(--reg-radius);
    box-shadow: var(--reg-shadow);
    padding: 40px 36px;
    position: relative;
}

.reg-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--reg-heading);
    margin: 0 0 6px;
    text-align: center;
}

.reg-card-subtitle {
    font-size: 14px;
    color: var(--reg-muted);
    text-align: center;
    margin: 0 0 24px;
}

/* ---- Plan Badge ---- */
.reg-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--reg-primary-light);
    color: var(--reg-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 auto 20px;
    width: fit-content;
}

.reg-plan-badge i { font-size: 14px; }

/* ---- Wizard Steps — soft-fade transitions (2026-07-08, v2) ----
   V1's direction-aware X-slide broke every dropdown menu on the page because
   `transform` on the step creates a new stacking context, so the .sp-menu
   layers rendered UNDER the buttons below them. V2 uses OPACITY ONLY on the
   step container — no transforms — so dropdowns keep escaping through the
   card's normal z-index. The tiny rise remains but only on child elements,
   which are behind their own local content and never host escaping menus.
   ---------------------------------------------------------------- */
.reg-wizard-step {
    display: none;
}
.reg-wizard-step.active {
    display: block;
    animation: regStepFadeIn 0.32s ease-out both;
}
@keyframes regStepFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---- Child stagger applied ONLY to visual chrome (title, subtitle, action
       buttons) — NEVER to form-groups. Form-groups contain .smart-picker
       popovers, and any animation with `opacity < 1` or `transform` creates
       a stacking context that traps the .sp-menu underneath surrounding
       content. Chrome elements have no popovers, so they animate freely. ---- */
.reg-wizard-step.active > .reg-card-title,
.reg-wizard-step.active > .reg-card-subtitle,
.reg-wizard-step.active > .btn-next,
.reg-wizard-step.active > .btn-back {
    animation: regChildRise 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reg-wizard-step.active > .reg-card-title    { animation-delay: 0.00s; }
.reg-wizard-step.active > .reg-card-subtitle { animation-delay: 0.05s; }
.reg-wizard-step.active > .btn-next          { animation-delay: 0.16s; }
.reg-wizard-step.active > .btn-back          { animation-delay: 0.20s; }
@keyframes regChildRise {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Step indicator — smoother morphs on the circle + line ---- */
.reg-step-circle {
    transition: background-color .35s ease, color .35s ease,
                border-color .35s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .35s ease;
}
.reg-step-circle.active {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(242, 106, 33, .28);
}
.reg-step-circle.completed {
    animation: regCircleCheck 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes regCircleCheck {
    0%   { transform: scale(.65); }
    55%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.reg-step-line {
    position: relative;
    overflow: hidden;
}
.reg-step-line::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--reg-primary, #F26A21);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
[dir="rtl"] .reg-step-line::after { transform-origin: right center; }
.reg-step-line.completed::after { transform: scaleX(1); }

/* ---- Buttons — press feedback + hover lift ---- */
.btn-next, .btn-back {
    transition: transform .12s ease, box-shadow .2s ease,
                background-color .2s ease, border-color .2s ease;
}
.btn-next:hover, .btn-back:hover { transform: translateY(-1px); }
.btn-next:active, .btn-back:active { transform: translateY(0) scale(.985); }

/* ---- Respect the user's motion preference ---- */
@media (prefers-reduced-motion: reduce) {
    .reg-wizard-step.active,
    .reg-wizard-step.active > *,
    .reg-step-circle,
    .reg-step-circle.completed,
    .reg-step-line::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ---- Form Elements ---- */
.reg-form-group {
    margin-bottom: 18px;
}

.reg-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--reg-heading);
    margin-bottom: 6px;
}

.reg-form-group .form-control,
.reg-form-group select.form-control {
    width: 100%;
    border: 1.5px solid var(--reg-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Tajawal', sans-serif;
    transition: border-color 0.2s;
    background: #fff;
    color: var(--reg-text);
    -webkit-appearance: none;
    appearance: none;
}

.reg-form-group select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}

[dir="ltr"] .reg-form-group select.form-control {
    background-position: right 14px center;
    padding-left: 14px;
    padding-right: 36px;
}

.reg-form-group .form-control:focus {
    border-color: var(--reg-primary);
    box-shadow: 0 0 0 3px rgba(242,106,33,0.1);
    outline: none;
}

.reg-form-group .form-control.is-invalid {
    border-color: var(--reg-error);
}

.reg-form-row {
    display: flex;
    gap: 12px;
}

.reg-form-row > .reg-form-group {
    flex: 1;
}

/* ---- Password Toggle ---- */
.reg-password-wrap {
    position: relative;
}

.reg-password-wrap .form-control {
    padding-left: 40px;
}

[dir="ltr"] .reg-password-wrap .form-control {
    padding-left: 14px;
    padding-right: 40px;
}

.reg-password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--reg-muted);
    padding: 4px;
    font-size: 14px;
}

[dir="ltr"] .reg-password-toggle {
    left: auto;
    right: 12px;
}

/* ---- Subdomain Field ---- */
.reg-subdomain-wrap {
    position: relative;
}

.reg-subdomain-badge {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--reg-muted);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    pointer-events: none;
}

[dir="ltr"] .reg-subdomain-badge {
    left: auto;
    right: 12px;
}

.reg-subdomain-wrap .form-control {
    padding-left: 140px;
}

[dir="ltr"] .reg-subdomain-wrap .form-control {
    padding-left: 14px;
    padding-right: 140px;
}

.reg-subdomain-status {
    font-size: 12px;
    margin-top: 4px;
}

.reg-subdomain-status.available { color: var(--reg-success); }
.reg-subdomain-status.taken { color: var(--reg-error); }

/* ---- Field Error ---- */
.reg-field-error {
    font-size: 12px;
    color: var(--reg-error);
    margin-top: 4px;
    display: none;
}

.reg-field-error.show { display: block; }

/* ---- Alert ---- */
.reg-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

.reg-alert.error {
    background: var(--reg-error-bg);
    color: #b91c1c;
    border: 1px solid #fecaca;
    display: block;
}

.reg-alert.success {
    background: var(--reg-success-bg);
    color: #15803d;
    border: 1px solid #bbf7d0;
    display: block;
}

/* ---- Terms ---- */
.reg-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.reg-terms input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.reg-terms label {
    font-size: 13px;
    color: var(--reg-text);
    margin: 0;
    font-weight: 400;
}

/* ---- Buttons ---- */
.btn-register,
.btn-next,
.btn-verify {
    width: 100%;
    padding: 13px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: #ffffff;
    background: var(--reg-primary);
    font-family: 'Tajawal', sans-serif;
}

.btn-register:hover,
.btn-next:hover,
.btn-verify:hover {
    background: var(--reg-primary-dark);
}

.btn-register:disabled,
.btn-next:disabled,
.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-back {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--reg-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--reg-text);
    background: transparent;
    font-family: 'Tajawal', sans-serif;
    margin-top: 8px;
}

.btn-back:hover {
    background: #f8fafc;
    border-color: var(--reg-muted);
}

/* ---- Review Summary ---- */
.reg-review-section {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
}

.reg-review-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--reg-heading);
    margin: -4px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eef0f4;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0;
    text-transform: none;
}
.reg-review-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--reg-primary);
    border-radius: 2px;
}

.reg-review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    gap: 12px;
    border-bottom: none;
}
.reg-review-row + .reg-review-row {
    border-top: 1px solid #f3f4f6;
}
.reg-review-row:last-child {
    border-bottom: none;
}

.reg-review-label {
    font-size: 13px;
    color: var(--reg-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.reg-review-value {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--reg-heading);
    word-break: break-word;
    text-align: left;
    max-width: 65%;
    direction: ltr;
}

[dir="rtl"] .reg-review-value {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .reg-review-value[dir="ltr"] {
    text-align: left;
    direction: ltr;
}

/* ---- Verification Code Input ---- */
.reg-code-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
    direction: ltr; /* Always LTR for digit input */
}

.reg-code-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--reg-border);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
    caret-color: var(--reg-primary);
}

.reg-code-input:focus {
    border-color: var(--reg-primary);
    box-shadow: 0 0 0 3px rgba(242,106,33,0.15);
}

.reg-code-input.filled {
    border-color: var(--reg-primary);
    background: var(--reg-primary-light);
}

.reg-code-input.error {
    border-color: var(--reg-error);
    background: var(--reg-error-bg);
    animation: regShake 0.4s ease;
}

@keyframes regShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ---- Resend Code ---- */
.reg-resend {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--reg-muted);
}

.reg-resend-btn {
    background: none;
    border: none;
    color: var(--reg-primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Tajawal', sans-serif;
    padding: 0;
}

.reg-resend-btn:disabled {
    color: var(--reg-muted);
    cursor: not-allowed;
}

.reg-resend-timer {
    font-weight: 600;
    color: var(--reg-primary);
}

/* ---- Verification Email Icon ---- */
.reg-verify-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--reg-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

/* ---- Footer Link ---- */
.reg-footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--reg-muted);
}

.reg-footer-link a {
    color: var(--reg-primary);
    font-weight: 600;
    text-decoration: none;
}

.reg-footer-link a:hover { text-decoration: underline; }

/* ---- Invitation code styling (staff registration) ---- */
.reg-invitation-info {
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #92400e;
}

/* ============================================================
   Logo Upload Dropzone
   ============================================================ */
.reg-dropzone {
    border: 2px dashed var(--reg-border);
    border-radius: 12px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    padding: 20px;
    text-align: center;
    gap: 8px;
}

.reg-dropzone:hover {
    border-color: var(--reg-primary);
    background: var(--reg-primary-light);
}

.reg-dropzone.dragover {
    border-color: var(--reg-primary);
    background: var(--reg-primary-light);
    box-shadow: 0 0 0 4px rgba(242,106,33,0.1);
}

.reg-dropzone-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--reg-primary-light);
    color: var(--reg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
}

.reg-dropzone-text {
    font-size: 14px;
    color: var(--reg-muted);
}

.reg-dropzone-hint {
    font-size: 12px;
    color: #9ca3af;
}

/* ============================================================
   Section groups — visually separate blocks within a step
   ============================================================ */
.reg-form-section {
    margin-bottom: 22px;
}
.reg-form-section + .reg-form-section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed var(--reg-border, #e2e8f0);
}
.reg-section-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--reg-text, #1f2937);
    margin-bottom: 12px;
}
.reg-section-label-hint {
    font-weight: 400;
    font-size: 12px;
    color: var(--reg-muted, #6b7280);
    margin-inline-start: 6px;
}
.reg-upload-hint {
    font-size: 12px;
    color: var(--reg-muted, #6b7280);
    margin-top: 6px;
}

/* ============================================================
   STEP 2 — Logo & Brand Identity (rewritten 2026-07-08)
   ------------------------------------------------------------
   Previously the DIV `#logo-preview` was styled as-if it were the
   IMG (max-width:120px, margin:0 auto), so the actual preview
   floated centred while the Brand Color section below stayed
   left-aligned — the whole step looked misaligned. And the
   remove button (`.remove-logo`) had no CSS at all. This block
   defines both the empty dropzone and the "logo picked" preview
   card, both left-aligned to match the fields below.
   ============================================================ */

/* ---- Empty dropzone (visible until a file is picked) ---- */
.reg-upload-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 148px;
    padding: 22px 18px;
    border: 2px dashed var(--reg-border, #e2e8f0);
    border-radius: 12px;
    background: #fafbfc;
    color: var(--reg-muted, #6b7280);
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}
.reg-upload-zone:hover,
.reg-upload-zone.dragover {
    background: var(--reg-primary-light, #fff5ed);
    border-color: var(--reg-primary, #F26A21);
    color: var(--reg-primary, #F26A21);
}
.reg-upload-zone input[type="file"] {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}
.reg-upload-zone .upload-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--reg-primary-light, #fff5ed);
    color: var(--reg-primary, #F26A21);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.reg-upload-zone .upload-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--reg-text, #1f2937);
    line-height: 1.5;
}
.reg-upload-zone .upload-text span {
    color: var(--reg-primary, #F26A21);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Logo picked (shown after upload, left-aligned card) ---- */
.reg-logo-preview {
    display: none;                          /* JS toggles to flex */
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1.5px solid var(--reg-border, #e2e8f0);
    border-radius: 12px;
    background: #fff;
}
.reg-logo-preview[style*="block"],
.reg-logo-preview[style*="flex"] { display: flex !important; }

#logo-preview-img {
    width: 84px; height: 84px;
    border-radius: 10px;
    object-fit: contain;
    background: #f8fafc;
    padding: 6px;
    border: 1px solid var(--reg-border, #e2e8f0);
    flex-shrink: 0;
}
.reg-logo-preview .remove-logo {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--reg-error, #ef4444);
    background: #fff;
    color: var(--reg-error, #ef4444);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    font-family: inherit;
}
.reg-logo-preview .remove-logo:hover {
    background: var(--reg-error, #ef4444);
    color: #fff;
}
.reg-logo-preview .remove-logo i { font-size: 12px; }

/* Optional caption between the thumbnail and the button — populated by JS
   or left empty. Keeps the row from feeling empty when the logo is small. */
.reg-logo-preview .logo-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.reg-logo-preview .logo-meta strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--reg-text, #1f2937);
}
.reg-logo-preview .logo-meta small {
    font-size: 12px;
    color: var(--reg-muted, #6b7280);
}

@media (max-width: 480px) {
    .reg-logo-preview { flex-wrap: wrap; }
    .reg-logo-preview .remove-logo { margin-inline-start: 0; width: 100%; justify-content: center; }
}

/* ============================================================
   Color Picker  (class names match the HTML in register_tenant.php:
   .reg-color-picker-wrap, .reg-color-swatches, .reg-color-swatch,
   .reg-color-custom-row, .reg-palette-preview, .reg-palette-label,
   .reg-palette-chip)
   ============================================================ */
/* .reg-color-picker-wrap picks up .reg-form-section spacing/divider from the
   section-group block above — no additional wrapper styling needed. Label
   also flows through .reg-section-label. */

.reg-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.reg-color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset;
    transition: border-color .2s, transform .2s;
    flex-shrink: 0;
}
.reg-color-swatch:hover { transform: scale(1.06); }
.reg-color-swatch.active {
    border-color: var(--reg-heading, #111827);
    transform: scale(1.1);
}

/* Custom color row — small color-input + hex text-input. Full-width so it
   matches the width of the swatch row and the sections above. */
.reg-color-custom-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.reg-color-custom-row input[type="color"] {
    width: 42px; height: 42px;
    border: 1.5px solid var(--reg-border, #e2e8f0);
    border-radius: 8px;
    padding: 2px;
    cursor: pointer;
    background: none;
    flex-shrink: 0;
}
.reg-color-custom-row input[type="text"] {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 1.5px solid var(--reg-border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
}
.reg-color-custom-row input[type="text"]:focus {
    outline: none;
    border-color: var(--reg-primary, #F26A21);
    box-shadow: 0 0 0 3px rgba(242,106,33,.12);
}

/* Palette preview — label on the start, 3 gradient chips on the end. */
.reg-palette-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.reg-palette-label {
    flex: 1;
    font-size: 12.5px;
    color: var(--reg-muted, #6b7280);
    font-weight: 600;
}
.reg-palette-chip {
    width: 36px;
    height: 28px;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset;
    flex-shrink: 0;
}

/* ============================================================
   Add-on Cards
   ============================================================ */
.reg-addon-card {
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    transition: border-color 0.2s, background-color 0.2s;
}

.reg-addon-card.selected {
    border-color: var(--reg-primary);
    background: var(--reg-primary-light);
}

.reg-addon-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--reg-primary-light);
    color: var(--reg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.reg-addon-content {
    flex: 1;
    min-width: 0;
}

.reg-addon-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--reg-heading);
    margin-bottom: 2px;
}

.reg-addon-desc {
    font-size: 12px;
    color: var(--reg-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.reg-addon-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--reg-primary);
    white-space: nowrap;
    margin-top: 4px;
}

.reg-addon-type-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 4px;
}

.reg-addon-type-badge.monthly {
    background: #eff6ff;
    color: #2563eb;
}

.reg-addon-type-badge.yearly {
    background: #f0fdf4;
    color: #16a34a;
}

.reg-addon-type-badge.one_time {
    background: #faf5ff;
    color: #9333ea;
}

/* Toggle Switch */
.reg-toggle {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #d1d5db;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.2s;
    border: none;
    padding: 0;
}

.reg-toggle.active {
    background: var(--reg-primary);
}

.reg-toggle-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.reg-toggle.active .reg-toggle-dot {
    transform: translateX(20px);
}

[dir="rtl"] .reg-toggle-dot {
    left: auto;
    right: 2px;
}

[dir="rtl"] .reg-toggle.active .reg-toggle-dot {
    transform: translateX(-20px);
}

/* Add-ons Total Bar */
.reg-addons-total {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1.5px solid var(--reg-border);
    padding: 14px 0 0;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--reg-heading);
}

.reg-addons-total-amount {
    color: var(--reg-primary);
    font-size: 16px;
    font-weight: 800;
}

/* Add-ons Empty State */
.reg-addons-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--reg-muted);
}

.reg-addons-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

.reg-addons-empty p {
    font-size: 14px;
    margin: 0;
}

/* Skip Link */
.reg-skip-link {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}

.reg-skip-link a,
.reg-skip-link button {
    background: none;
    border: none;
    color: var(--reg-muted);
    cursor: pointer;
    font-size: 13px;
    font-family: 'Tajawal', sans-serif;
    text-decoration: underline;
    padding: 0;
}

.reg-skip-link a:hover,
.reg-skip-link button:hover {
    color: var(--reg-primary);
}

/* ============================================================
   Invoice Summary Table
   ============================================================ */
.reg-invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.reg-invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e8ecf1;
}

.reg-invoice-row:last-child {
    border-bottom: none;
}

.reg-invoice-label {
    font-size: 14px;
    color: var(--reg-text);
}

.reg-invoice-amount {
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

[dir="rtl"] .reg-invoice-amount {
    text-align: right;
}

.reg-invoice-total {
    font-size: 16px;
    font-weight: 800;
    color: var(--reg-primary);
    border-top: 2px solid var(--reg-heading);
    padding-top: 10px;
    margin-top: 4px;
}

.reg-invoice-note {
    font-size: 12px;
    font-style: italic;
    color: var(--reg-muted);
    margin-top: 8px;
}

.reg-color-swatch-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid var(--reg-border);
}

/* ============================================================
   Modal
   ============================================================ */
.reg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: regModalOverlayIn 0.2s ease;
}

@keyframes regModalOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reg-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    animation: regModalIn 0.25s ease;
}

@keyframes regModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.reg-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--reg-border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--reg-muted);
    transition: background 0.2s, border-color 0.2s;
}

[dir="rtl"] .reg-modal-close {
    right: auto;
    left: 16px;
}

.reg-modal-close:hover {
    background: #f8fafc;
    border-color: var(--reg-muted);
}

.reg-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--reg-heading);
    margin: 0 0 16px;
}

.reg-modal-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--reg-text);
}

/* ============================================================
   RTL Support
   ============================================================ */
[dir="rtl"] .reg-form-row { flex-direction: row-reverse; }
[dir="rtl"] .reg-terms { flex-direction: row-reverse; }
[dir="rtl"] .reg-review-row { flex-direction: row-reverse; }
[dir="rtl"] .reg-invoice-row { flex-direction: row-reverse; }
[dir="rtl"] .reg-addon-card { flex-direction: row-reverse; }
[dir="rtl"] .reg-color-custom { flex-direction: row-reverse; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 576px) {
    .reg-page { padding: 20px 12px; }
    .reg-card { padding: 28px 20px; }
    .reg-form-row { flex-direction: column; gap: 0; }
    [dir="rtl"] .reg-form-row { flex-direction: column; }

    .reg-code-input {
        width: 44px;
        height: 52px;
        font-size: 20px;
    }
    .reg-code-wrap { gap: 6px; }

    .reg-step-line { width: 16px; }
    .reg-step-circle { width: 28px; height: 28px; font-size: 11px; }

    .reg-subdomain-wrap .form-control { padding-left: 120px; }
    [dir="ltr"] .reg-subdomain-wrap .form-control { padding-left: 14px; padding-right: 120px; }

    /* Addon cards: stack vertically */
    .reg-addon-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    [dir="rtl"] .reg-addon-card {
        flex-direction: column;
        align-items: flex-end;
    }

    .reg-addon-card .reg-toggle {
        align-self: flex-end;
    }

    [dir="rtl"] .reg-addon-card .reg-toggle {
        align-self: flex-start;
    }

    /* Modal responsive */
    .reg-modal {
        width: 95%;
        padding: 20px;
    }

    /* Color swatches smaller on mobile */
    .reg-color-swatch {
        width: 30px;
        height: 30px;
    }
}

/* ==========================================================================
   Promo code feedback — final-review page step 5
   ========================================================================== */

/* Base feedback bubble (success / error) */
.reg-promo-feedback {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}
.reg-promo-feedback.success {
    background: var(--reg-success-bg);
    border-color: var(--reg-success);
    color: #065f46;
}
.reg-promo-feedback.error {
    background: var(--reg-error-bg);
    border-color: var(--reg-error);
    color: #991b1b;
}

/* The first-vs-recurring scope label that sits next to a money discount */
.promo-scope-badge {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
}

/* trial_extension feedback — its own block so it doesn't read as a money
   discount (no "0.00", no scope badge). One bold line with the gift icon. */
.promo-trial-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
}
.promo-trial-feedback-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--reg-primary-dark);
}
.promo-trial-feedback-row i.fa-gift {
    font-size: 18px;
    color: var(--reg-primary);
}
.promo-trial-feedback-row strong {
    color: var(--reg-primary-dark);
    font-weight: 700;
}

/* "+N bonus days" pill inside the invoice summary's trial-note row */
.promo-trial-bonus-badge {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--reg-primary);
    color: #fff;
    vertical-align: middle;
}

/* ==========================================================================
   Step 4 quota stepper — replaces the old "toggle card" pattern. Each row is
   a resource (Users / Contacts / ...) with [- N +] for picking extras.
   ========================================================================== */
.addon-stepper-card {
    /* Inherit base .addon-card styling (border, padding, layout) and only
       override what the stepper variant needs. */
    cursor: default !important;
}
.addon-stepper-card:hover {
    border-color: var(--reg-primary) !important;
}

.addon-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    user-select: none;
}
.addon-stepper-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: #f9fafb;
    color: #374151;
    width: 36px;
    height: 36px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.addon-stepper-btn:hover {
    background: var(--reg-primary);
    color: #fff;
}
.addon-stepper-btn:disabled {
    color: #d1d5db;
    background: #f9fafb;
    cursor: not-allowed;
}
.addon-stepper-input {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    text-align: center;
    width: 50px;
    height: 36px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2430;
    background: #fff;
}
/* Remove default browser spinners on number inputs — they conflict with the
   custom +/- buttons. */
.addon-stepper-input::-webkit-inner-spin-button,
.addon-stepper-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.addon-stepper-input { -moz-appearance: textfield; }

/* ---- Plan card / price bar (Option B — trial-aware) ---- */
#reg-price-bar.rpb-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFF9F3 0%, #FFF2E6 100%);
    border: 1.5px solid rgba(242,106,33,0.28);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(33,29,25,.04), 0 12px 28px -18px rgba(242,106,33,.28);
    font-family: inherit;
}
#reg-price-bar.rpb-card .rpb-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
}
#reg-price-bar.rpb-card .rpb-name-row {
    font-size: 15.5px;
    font-weight: 800;
    color: #2A241E;
    line-height: 1.25;
    letter-spacing: -.1px;
}
#reg-price-bar.rpb-card #reg-price-bar-name { font-weight: 800; }
#reg-price-bar.rpb-card #reg-price-bar-tier { color: #8C8479; font-weight: 700; }
#reg-price-bar.rpb-card .rpb-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--reg-success-bg, #ECFDF5);
    color: var(--reg-success, #10B981);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1px;
    line-height: 1;
}
#reg-price-bar.rpb-card .rpb-trial-badge i { font-size: 12px; }
#reg-price-bar.rpb-card .rpb-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: end;
    gap: 2px;
    flex: 0 0 auto;
}
[dir="rtl"] #reg-price-bar.rpb-card .rpb-right { align-items: flex-start; text-align: start; }
#reg-price-bar.rpb-card .rpb-strike {
    color: #A8A197;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
#reg-price-bar.rpb-card .rpb-hero {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}
#reg-price-bar.rpb-card .rpb-hero-price {
    font-size: 26px;
    font-weight: 900;
    color: var(--reg-success, #10B981);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.6px;
    line-height: 1;
}
#reg-price-bar.rpb-card[data-has-trial="0"][data-is-free="0"] .rpb-hero-price {
    color: var(--reg-primary, #F26A21);
}
#reg-price-bar.rpb-card .rpb-hero-cur {
    font-size: 14px;
    font-weight: 800;
    color: var(--reg-success, #10B981);
    letter-spacing: .2px;
}
#reg-price-bar.rpb-card[data-has-trial="0"][data-is-free="0"] .rpb-hero-cur {
    color: var(--reg-primary, #F26A21);
}
#reg-price-bar.rpb-card .rpb-hero-caption {
    font-size: 11.5px;
    color: #8C8479;
    font-weight: 700;
    letter-spacing: .15px;
}

/* Small screens — stack right column under left */
@media (max-width: 480px) {
    #reg-price-bar.rpb-card { padding: 14px 16px; gap: 12px; }
    #reg-price-bar.rpb-card .rpb-right {
        align-items: flex-start; text-align: start;
        border-top: 1px dashed rgba(242,106,33,0.22);
        padding-top: 12px; width: 100%;
    }
    [dir="rtl"] #reg-price-bar.rpb-card .rpb-right { align-items: flex-start; text-align: start; }
    #reg-price-bar.rpb-card .rpb-hero-price { font-size: 24px; }
}

/* ---- Mobile step indicator — text instead of circles on small screens ---- */
.reg-step-text {
    display: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--reg-primary);
    margin-bottom: 16px;
}
@media (max-width: 480px) {
    .reg-steps { display: none; }
    .reg-step-text { display: block !important; }
}

/* ---- Language switch (AR ⇄ EN) — fixed to the TOP-RIGHT of the viewport,
       hardcoded (right:) not inset-inline-end so it doesn't jump to the other
       corner when the visitor flips the language between EN and AR. Stays put
       through scroll and lives OUTSIDE .reg-card so no absolute-positioning
       conflicts. ---- */
.reg-lang-switch {
    position: fixed;
    top: 18px;
    right: 18px;
    left: auto;
    z-index: 20;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: #fff;
    border: 1px solid var(--reg-border, #e2e8f0);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.reg-lang-opt {
    min-width: 32px;
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--reg-muted, #6b7280);
    font-family: 'Tajawal', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    border-radius: 999px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .12s ease;
}
.reg-lang-opt:hover:not(.active) {
    color: var(--reg-text, #374151);
    background: #f8fafc;
}
.reg-lang-opt.active {
    background: var(--reg-primary, #F26A21);
    color: #fff;
    box-shadow: 0 2px 6px rgba(242, 106, 33, .28);
}
.reg-lang-opt:active { transform: scale(.96); }
@media (max-width: 480px) {
    .reg-lang-switch { top: 12px; right: 12px; left: auto; }
    .reg-lang-opt   { min-width: 28px; padding: 5px 11px; font-size: 12px; }
}


/* =========================================================================
   STEP 4 — Verify code, then finalize (loading → success | failed)
   ------------------------------------------------------------------------
   Renders inside the wizard card as a single "state machine" step.
   JS toggles one of `.is-loading | .is-done | .is-failed` on #step-4; the
   matching child (`.reg-finalize-loading | .reg-finalize-success |
   .reg-finalize-failed`) becomes visible and the others stay hidden.

   [BOOM 2026-08-11] The verification-code screen now lives in this SAME step
   (it used to be step 6, with finalize as a separate step 7 that asked the
   visitor for nothing). So the step starts with NO state class at all, showing
   only `.reg-verify-block`; the moment the code is accepted a state class
   lands and the code block gets out of the way.
   ========================================================================= */
.reg-finalize > * { display: none; }
.reg-finalize.is-loading .reg-finalize-loading,
.reg-finalize.is-done    .reg-finalize-success,
.reg-finalize.is-failed  .reg-finalize-failed { display: block; text-align: center; }

/* Code entry is the DEFAULT face of the step — visible until, and only until,
   one of the finalize states takes over. The `> *` rule above hides every
   direct child by default, so this has to opt the block back in explicitly. */
.reg-finalize-host > .reg-verify-block { display: block; }
.reg-finalize-host.is-loading > .reg-verify-block,
.reg-finalize-host.is-done    > .reg-verify-block,
.reg-finalize-host.is-failed  > .reg-verify-block { display: none; }

/* NOTE (2026-07-08): the indicator bar is KEPT VISIBLE here — the step shows
   the 4th circle (active during loading, green check on success). goToStep()
   controls visibility in JS; the old rule that hid .reg-steps was removed. */

/* ---- Spinning gear + pulsing rings (loading state) ---- */
.reg-finalize-gear {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 32px auto 24px;
}
.reg-finalize-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(242, 106, 33, .15);
    animation: regFinalizePulse 2s ease-out infinite;
}
.reg-finalize-ring:nth-child(1) { width: 140px; height: 140px; animation-delay: 0s;   }
.reg-finalize-ring:nth-child(2) { width: 170px; height: 170px; animation-delay: 0.5s; }
.reg-finalize-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1s;   }
@keyframes regFinalizePulse {
    0%   { opacity: .6; transform: translate(-50%, -50%) scale(.8); }
    100% { opacity: 0;  transform: translate(-50%, -50%) scale(1.2); }
}
.reg-finalize-gear-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 84px; height: 84px;
    border-radius: 50%;
    background: #fff;
    display: grid; place-items: center;
    box-shadow: 0 8px 26px rgba(242, 106, 33, .18);
    z-index: 2;
}
.reg-finalize-gear-icon i {
    font-size: 34px;
    color: var(--reg-primary, #F26A21);
}
.reg-finalize-gear-icon .fa-spin { animation-duration: 1.5s; }

.reg-finalize-progress {
    max-width: 320px;
    margin: 24px auto 12px;
    height: 6px;
    background: #f2ede6;
    border-radius: 999px;
    overflow: hidden;
}
.reg-finalize-progress-bar {
    height: 100%;
    width: 5%;
    background: linear-gradient(90deg, var(--reg-primary, #F26A21), #ffb37a);
    border-radius: 999px;
    transition: width .5s ease;
}
.reg-finalize-status {
    color: var(--reg-primary, #F26A21);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .1px;
    margin-top: 8px;
}

/* ---- Success state (green checkmark + celebration) ---- */
.reg-finalize-check {
    width: 96px; height: 96px;
    margin: 32px auto 20px;
    border-radius: 26px;
    background: #fff;
    display: grid; place-items: center;
    color: var(--reg-primary, #F26A21);
    box-shadow:
        0 1px 2px rgba(33,29,25,.04),
        0 20px 42px -18px rgba(242,106,33,.35);
    position: relative;
    animation: regFinalizeCheckPop .5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reg-finalize-check::before {
    content: '';
    position: absolute; inset: 5px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(242,106,33,.10) 0%, transparent 60%);
}
.reg-finalize-check svg {
    position: relative;
    width: 46px; height: 46px;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: regFinalizeCheckStroke .5s .18s ease-out forwards;
}
@keyframes regFinalizeCheckPop {
    from { opacity: 0; transform: scale(.6); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes regFinalizeCheckStroke {
    to { stroke-dashoffset: 0; }
}

.reg-finalize-greeting {
    color: var(--reg-muted, #8C8479);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
    margin-bottom: 6px;
}
.reg-finalize-heading {
    margin-top: 4px !important;
}
.reg-finalize-heading-sub {
    max-width: 42ch;
    margin: 0 auto 32px !important;
}
.reg-finalize-cta {
    display: inline-flex !important;
    align-items: center; justify-content: center; gap: 10px;
    width: auto !important;
    min-width: 260px;
    padding: 14px 28px !important;
    text-decoration: none;
    font-weight: 800;
}
.reg-finalize-cta:hover { text-decoration: none; }

/* ---- Failed state ---- */
.reg-finalize-x {
    width: 96px; height: 96px;
    margin: 32px auto 20px;
    border-radius: 24px;
    background: #fef2f2;
    color: #dc2626;
    display: grid; place-items: center;
    font-size: 36px;
    box-shadow: 0 12px 30px -12px rgba(220,38,38,.28);
}
