/**
 * Atlas Realtors Booking — Form styles
 *
 * All rules scoped to #arb-app so the plugin never bleeds into the host theme.
 * Brand color is injected via CSS custom properties (--arb-brand, --arb-brand-dark)
 * by ARB_Shortcode::render(); colour-coded result tiers (qualified/caution/not_ready)
 * use independent named variables.
 *
 * Mobile-first; breakpoints at 640px (tablet) and 960px (desktop).
 */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');
#arb-app {
    /* Local design tokens */
    --arb-text:        #111827;
    --arb-text-muted:  #6B7280;
    --arb-border:      #E5E7EB;
    --arb-border-soft: #F3F4F6;
    --arb-bg:          #FFFFFF;
    --arb-bg-soft:     #F9FAFB;
    --arb-bg-tint:     #F0FDF8;
    --arb-shadow-sm:   0 1px 2px rgba(17, 24, 39, 0.05);
    --arb-shadow-md:   0 4px 12px rgba(17, 24, 39, 0.06);
    --arb-shadow-lg:   0 12px 32px rgba(17, 24, 39, 0.08);
    --arb-radius-sm:   6px;
    --arb-radius:      12px;
    --arb-radius-lg:   16px;
    --arb-radius-xl:   24px;

    /* Verdict colors */
    --arb-success:     #047857;
    --arb-success-bg:  #ECFDF5;
    --arb-warning:     #B45309;
    --arb-warning-bg:  #FFFBEB;
    --arb-danger:      #B91C1C;
    --arb-danger-bg:   #FEF2F2;

    /* Layout */
    box-sizing: border-box;
    color: var(--arb-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    max-width: 880px;
    margin: 0 auto;
    padding: 16px;
}

#arb-app *,
#arb-app *::before,
#arb-app *::after {
    box-sizing: border-box;
}

#arb-app img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------------------------------
   Hero
---------------------------------------------------------------------------- */
.arb-hero {
    background: linear-gradient(135deg, var(--arb-brand) 0%, var(--arb-brand-dark) 100%);
    color: #fff;
    padding: 28px 22px;
    border-radius: var(--arb-radius-lg);
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--arb-shadow-md);
}

.arb-hero__title {
    margin: 0 0 8px;
    color: #fff;
    font-family:'Lora',serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.arb-hero__sub {
    margin: 0 0 16px;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
}

.arb-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: center;
}

.arb-hero__badges span {
    font-size: 12px;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.14);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
    .arb-hero { padding: 36px 28px; }
    .arb-hero__title { font-size: 28px; }
    .arb-hero__sub { font-size: 16px; }
    .arb-hero__badges span { font-size: 13px; }
}

/* ----------------------------------------------------------------------------
   Currency toggle
---------------------------------------------------------------------------- */
.arb-currency-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--arb-bg-soft);
    border: 1px solid var(--arb-border);
    border-radius: 999px;
    padding: 4px;
    margin: 0 auto 24px;
    width: 100%;
    max-width: 280px;
}

.arb-currency-btn {
    flex: 1;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--arb-text-muted);
    font-weight: 600;
    font-size: 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.arb-currency-btn:hover {
    color: var(--arb-text);
}

.arb-currency-btn.is-active {
    background: var(--arb-brand);
    color: #fff;
    box-shadow: var(--arb-shadow-sm);
}

/* ----------------------------------------------------------------------------
   Section titles (shared)
---------------------------------------------------------------------------- */
.arb-section-title {
    font-family:'Lora',serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 14px;
}

/* ----------------------------------------------------------------------------
   Service picker
---------------------------------------------------------------------------- */
.arb-service-picker {
    margin-bottom: 24px;
}

.arb-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .arb-service-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.arb-service-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "icon title arrow"
        "icon sub   price";
    align-items: center;
    gap: 4px 14px;
    padding: 18px;
    background: var(--arb-bg);
    border: 2px solid var(--arb-border);
    border-radius: var(--arb-radius);
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
    font-family: inherit;
}

.arb-service-card:hover {
    border-color: var(--arb-brand);
    background: var(--arb-bg-tint);
    transform: translateY(-1px);
    box-shadow: var(--arb-shadow-md);
}

.arb-service-card:focus-visible {
    outline: 2px solid var(--arb-brand);
    outline-offset: 2px;
}

.arb-service-card__icon {
    grid-area: icon;
    font-size: 32px;
    line-height: 1;
}

.arb-service-card__title {
    font-family:'Lora',serif;
    grid-area: title;
    font-size: 16px;
    font-weight: 700;
    color: var(--arb-text);
    line-height: 1.3;
}

.arb-service-card__sub {
    grid-area: sub;
    font-size: 13px;
    color: var(--arb-text-muted);
    line-height: 1.4;
}

.arb-service-card__price {
    grid-area: price;
    font-size: 13px;
    color: var(--arb-brand-dark);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.arb-service-card__per {
    color: var(--arb-text-muted);
    font-weight: 500;
}

.arb-service-card__arrow {
    grid-area: arrow;
    color: var(--arb-brand);
    font-size: 20px;
    font-weight: 700;
}

/* Currency-aware price visibility */
#arb-app[data-currency="USD"] .arb-price-ngn { display: none; }
#arb-app[data-currency="NGN"] .arb-price-usd { display: none; }

/* ----------------------------------------------------------------------------
   Wizard
---------------------------------------------------------------------------- */
.arb-wizard {
    background: var(--arb-bg);
    border: 1px solid var(--arb-border);
    border-radius: var(--arb-radius-lg);
    padding: 18px;
    box-shadow: var(--arb-shadow-sm);
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .arb-wizard { padding: 28px; }
}

.arb-back-to-services {
    background: none;
    border: none;
    color: var(--arb-text-muted);
    cursor: pointer;
    padding: 0;
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: color 0.15s ease;
}

.arb-back-to-services:hover {
    color: var(--arb-brand);
}

.arb-wizard__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--arb-border-soft);
}

.arb-wizard__icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.arb-wizard__title {
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 700;
    color: var(--arb-text);
    line-height: 1.3;
}

.arb-wizard__sub {
    margin: 0;
    color: var(--arb-text-muted);
    font-size: 13px;
}

@media (min-width: 640px) {
    .arb-wizard__title { font-size: 20px; }
    .arb-wizard__sub { font-size: 14px; }
}

/* ----------------------------------------------------------------------------
   Progress tracker
---------------------------------------------------------------------------- */
.arb-progress {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.arb-progress::-webkit-scrollbar { display: none; }
.arb-progress { scrollbar-width: none; }

.arb-progress-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--arb-text-muted);
    background: var(--arb-bg-soft);
    border: 1px solid var(--arb-border-soft);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.arb-progress-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--arb-border);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.arb-progress-step.is-active {
    color: var(--arb-brand-dark);
    background: var(--arb-bg-tint);
    border-color: var(--arb-brand);
}

.arb-progress-step.is-active .arb-progress-step__num {
    background: var(--arb-brand);
}

.arb-progress-step.is-completed {
    color: var(--arb-brand-dark);
    background: var(--arb-bg-tint);
    border-color: var(--arb-bg-tint);
}

.arb-progress-step.is-completed .arb-progress-step__num {
    background: var(--arb-brand-dark);
}

.arb-progress-step.is-completed .arb-progress-step__num::before {
    content: "✓";
    font-size: 11px;
}

.arb-progress-step.is-completed .arb-progress-step__label-num { display: none; }

.arb-progress-divider {
    flex: 0 0 16px;
    height: 1px;
    background: var(--arb-border);
}

/* ----------------------------------------------------------------------------
   Form fields
---------------------------------------------------------------------------- */
.arb-step-container {
    min-height: 200px;
}

.arb-step {
    display: none;
}

.arb-step.is-active {
    display: block;
    animation: arb-fade-in 0.25s ease;
}

@keyframes arb-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.arb-step__heading {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--arb-text);
}

.arb-step__hint {
    font-size: 14px;
    color: var(--arb-text-muted);
    margin: 0 0 20px;
}

.arb-field {
    display: block;
    margin-bottom: 16px;
}

.arb-field__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--arb-text);
    margin-bottom: 6px;
}

.arb-field__label .arb-req {
    color: var(--arb-danger);
    margin-left: 2px;
}

.arb-field__hint {
    font-size: 12px;
    color: var(--arb-text-muted);
    margin-top: 4px;
}

.arb-input,
.arb-select,
.arb-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--arb-border);
    border-radius: var(--arb-radius-sm);
    background: var(--arb-bg);
    font-size: 15px;
    color: var(--arb-text);
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.arb-select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B7280'><path d='M4 6l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.arb-textarea {
    min-height: 96px;
    resize: vertical;
}

.arb-input:focus,
.arb-select:focus,
.arb-textarea:focus {
    outline: none;
    border-color: var(--arb-brand);
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.15);
}

.arb-input.is-error,
.arb-select.is-error,
.arb-textarea.is-error {
    border-color: var(--arb-danger);
}

.arb-field__error {
    color: var(--arb-danger);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.arb-field.has-error .arb-field__error { display: block; }

/* Two-column field rows on larger screens */
.arb-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .arb-field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ----------------------------------------------------------------------------
   Radio / checkbox cards
---------------------------------------------------------------------------- */
.arb-option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .arb-option-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.arb-option-grid--single { grid-template-columns: 1fr !important; }

.arb-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--arb-bg);
    border: 1.5px solid var(--arb-border);
    border-radius: var(--arb-radius);
    cursor: pointer;
    transition: all 0.15s ease;
}

.arb-option:hover {
    border-color: var(--arb-brand);
    background: var(--arb-bg-tint);
}

.arb-option input[type="radio"],
.arb-option input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--arb-brand);
    width: 16px;
    height: 16px;
}

.arb-option__body {
    flex: 1;
    min-width: 0;
}

.arb-option__title {
    font-weight: 600;
    color: var(--arb-text);
    font-size: 14px;
    line-height: 1.4;
}

.arb-option__desc {
    font-size: 12px;
    color: var(--arb-text-muted);
    margin-top: 2px;
    line-height: 1.4;
}

.arb-option.is-selected {
    border-color: var(--arb-brand);
    background: var(--arb-bg-tint);
    box-shadow: 0 0 0 1px var(--arb-brand) inset;
}

/* Chip-style multi-select (lighter weight than full option cards) */
.arb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arb-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--arb-bg);
    border: 1.5px solid var(--arb-border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    color: var(--arb-text);
}

.arb-chip input { display: none; }

.arb-chip:hover { border-color: var(--arb-brand); }

.arb-chip.is-selected {
    background: var(--arb-bg-tint);
    border-color: var(--arb-brand);
    color: var(--arb-brand-dark);
    font-weight: 600;
}

.arb-chip.is-selected::before {
    content: "✓";
    color: var(--arb-brand);
    font-weight: 700;
}

/* ----------------------------------------------------------------------------
   Warning / advisory boxes
---------------------------------------------------------------------------- */
.arb-warning {
    background: var(--arb-warning-bg);
    border: 1px solid #FCD34D;
    border-left: 4px solid var(--arb-warning);
    padding: 14px 16px;
    border-radius: var(--arb-radius-sm);
    margin-top: 14px;
    font-size: 13px;
    color: #7C2D12;
    line-height: 1.5;
}

.arb-warning strong { color: #7C2D12; }

.arb-warning--danger {
    background: var(--arb-danger-bg);
    border-color: #FECACA;
    border-left-color: var(--arb-danger);
    color: #7F1D1D;
}

.arb-warning--danger strong { color: #7F1D1D; }

.arb-info {
    background: var(--arb-bg-tint);
    border: 1px solid #A7F3D0;
    border-left: 4px solid var(--arb-brand);
    padding: 14px 16px;
    border-radius: var(--arb-radius-sm);
    margin-top: 14px;
    font-size: 13px;
    color: var(--arb-brand-dark);
    line-height: 1.5;
}

/* ----------------------------------------------------------------------------
   Step navigation
---------------------------------------------------------------------------- */
.arb-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--arb-border-soft);
}

/* ----------------------------------------------------------------------------
   Buttons
---------------------------------------------------------------------------- */
.arb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: var(--arb-radius-sm);
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
    min-height: 44px;
}

.arb-btn:disabled,
.arb-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

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

.arb-btn--primary:not(:disabled):hover {
    background: var(--arb-brand-dark);
    transform: translateY(-1px);
    box-shadow: var(--arb-shadow-md);
}

.arb-btn--ghost {
    background: transparent;
    color: var(--arb-text);
    border: 1.5px solid var(--arb-border);
}

.arb-btn--ghost:not(:disabled):hover {
    border-color: var(--arb-brand);
    color: var(--arb-brand-dark);
    background: var(--arb-bg-tint);
}

.arb-btn--xl {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
    min-height: 52px;
}

.arb-btn--whatsapp {
    background: #25D366;
    color: #fff;
    width: 100%;
}

.arb-btn--whatsapp:hover {
    background: #1FB855;
    transform: translateY(-1px);
    box-shadow: var(--arb-shadow-md);
}

/* ----------------------------------------------------------------------------
   Result / verdict
---------------------------------------------------------------------------- */
.arb-result {
    margin-bottom: 32px;
}

.arb-verdict {
    padding: 22px 20px;
    border-radius: var(--arb-radius-lg);
    margin-bottom: 28px;
    border: 1px solid;
}

.arb-verdict__icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 10px;
}

.arb-verdict__title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.arb-verdict__body {
    font-size: 14px;
    margin: 0;
    line-height: 1.55;
}

.arb-verdict--qualified {
    background: var(--arb-success-bg);
    border-color: #A7F3D0;
    color: #064E3B;
}
.arb-verdict--qualified .arb-verdict__title { color: var(--arb-success); }

.arb-verdict--caution {
    background: var(--arb-warning-bg);
    border-color: #FCD34D;
    color: #7C2D12;
}
.arb-verdict--caution .arb-verdict__title { color: var(--arb-warning); }

.arb-verdict--not_ready {
    background: var(--arb-danger-bg);
    border-color: #FECACA;
    color: #7F1D1D;
}
.arb-verdict--not_ready .arb-verdict__title { color: var(--arb-danger); }

.arb-verdict__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 10px 20px;
    background: var(--arb-text);
    color: #fff !important;
    border-radius: var(--arb-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.arb-verdict__cta:hover { background: var(--arb-brand-dark); }

/* ----------------------------------------------------------------------------
   Testimonials
---------------------------------------------------------------------------- */
.arb-testimonials {
    margin-bottom: 28px;
}

.arb-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .arb-testimonials__grid { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
}

.arb-testimonial {
    background: var(--arb-bg);
    border: 1px solid var(--arb-border);
    border-radius: var(--arb-radius);
    padding: 16px;
    box-shadow: var(--arb-shadow-sm);
}

.arb-testimonial__stars {
    color: #F59E0B;
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.arb-testimonial__text {
    font-size: 13px;
    color: var(--arb-text);
    margin: 0 0 10px;
    line-height: 1.5;
}

.arb-testimonial__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0;
}

.arb-testimonial__country {
    font-size: 12px;
    color: var(--arb-text-muted);
    margin: 0;
}

/* ----------------------------------------------------------------------------
   Payment card
---------------------------------------------------------------------------- */
.arb-payment-card {
    background: var(--arb-bg);
    border: 1px solid var(--arb-border);
    border-radius: var(--arb-radius-lg);
    padding: 22px;
    box-shadow: var(--arb-shadow-md);
}

@media (min-width: 640px) {
    .arb-payment-card { padding: 28px; }
}

.arb-payment-card__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--arb-border-soft);
}

.arb-payment-card__amount {
    font-size: 30px;
    font-weight: 700;
    color: var(--arb-brand-dark);
    line-height: 1.1;
}

.arb-payment-card__tag {
    font-size: 13px;
    color: var(--arb-text-muted);
}

.arb-payment-card__included {
    margin-bottom: 18px;
}

.arb-payment-card__included h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 10px;
}

.arb-payment-card__included ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arb-payment-card__included li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 13.5px;
    color: var(--arb-text);
    line-height: 1.5;
}

.arb-payment-card__included li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--arb-bg-tint);
    color: var(--arb-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.arb-credit-note {
    background: var(--arb-bg-tint);
    border-radius: var(--arb-radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    color: var(--arb-brand-dark);
    margin-bottom: 18px;
    line-height: 1.5;
}

.arb-policy {
    background: var(--arb-bg-soft);
    border-radius: var(--arb-radius-sm);
    padding: 14px 16px;
    margin-bottom: 18px;
}

.arb-policy h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 6px;
}

.arb-policy p {
    font-size: 12.5px;
    color: var(--arb-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ----------------------------------------------------------------------------
   Payment methods
---------------------------------------------------------------------------- */
.arb-payment-methods {
    margin-bottom: 18px;
}

.arb-payment-methods h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 10px;
}

.arb-pm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

@media (min-width: 640px) {
    .arb-pm-grid { grid-template-columns: repeat(4, 1fr); }
}

.arb-pm-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 12px 8px;
    background: var(--arb-bg);
    border: 1.5px solid var(--arb-border);
    border-radius: var(--arb-radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 12px;
    color: var(--arb-text);
}

.arb-pm-option:hover {
    border-color: var(--arb-brand);
}

.arb-pm-option input[type="radio"] {
    display: none;
}

.arb-pm-option:has(input:checked) {
    border-color: var(--arb-brand);
    background: var(--arb-bg-tint);
    color: var(--arb-brand-dark);
    font-weight: 600;
}

.arb-pm-icon {
    font-size: 22px;
    line-height: 1;
}

.arb-pm-details {
    background: var(--arb-bg-soft);
    border-radius: var(--arb-radius-sm);
    padding: 14px 16px;
    font-size: 13px;
    color: var(--arb-text);
    line-height: 1.6;
    margin-bottom: 4px;
}

.arb-pm-details:empty { display: none; }

.arb-pm-details h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 6px;
}

.arb-pm-details .arb-pm-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px dashed var(--arb-border);
}

.arb-pm-details .arb-pm-row:last-child { border-bottom: none; }

.arb-pm-details .arb-pm-row strong { font-weight: 700; }

.arb-pm-details .arb-pm-empty {
    color: var(--arb-text-muted);
    font-style: italic;
    font-size: 12.5px;
}

/* ----------------------------------------------------------------------------
   Terms checkbox + confirm
---------------------------------------------------------------------------- */
.arb-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--arb-bg-soft);
    border-radius: var(--arb-radius-sm);
    margin: 18px 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--arb-text);
    line-height: 1.5;
}

.arb-terms-check input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--arb-brand);
    width: 16px;
    height: 16px;
}

.arb-confirm-btn { margin-top: 4px; }

.arb-secure-note {
    text-align: center;
    font-size: 12px;
    color: var(--arb-text-muted);
    margin: 12px 0 0;
}

/* ----------------------------------------------------------------------------
   Success screen
---------------------------------------------------------------------------- */
.arb-success {
    background: var(--arb-bg);
    border: 1px solid var(--arb-border);
    border-radius: var(--arb-radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--arb-shadow-sm);
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .arb-success { padding: 36px 32px; }
}

.arb-success__icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.arb-success__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 6px;
    line-height: 1.3;
}

.arb-success__meta {
    font-size: 14px;
    color: var(--arb-text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

.arb-success__meta strong {
    color: var(--arb-text);
}

.arb-whatsapp-step,
.arb-calendly-step,
.arb-next-steps {
    text-align: left;
    background: var(--arb-bg-soft);
    border-radius: var(--arb-radius);
    padding: 18px 18px;
    margin-bottom: 16px;
}

.arb-whatsapp-step h4,
.arb-calendly-step h4,
.arb-next-steps h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--arb-text);
    margin: 0 0 8px;
}

.arb-whatsapp-step p,
.arb-calendly-step p {
    font-size: 13.5px;
    color: var(--arb-text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

.arb-expiry-notice {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: var(--arb-radius-sm);
    padding: 8px 12px;
    color: #7C2D12 !important;
    font-size: 12.5px !important;
}

.arb-next-steps ol {
    margin: 0;
    padding-left: 20px;
    font-size: 13.5px;
    color: var(--arb-text);
    line-height: 1.6;
}

.arb-next-steps li { padding: 3px 0; }

.arb-success__email-note {
    font-size: 12.5px;
    color: var(--arb-text-muted);
    margin: 14px 0 0;
    font-style: italic;
}

/* ----------------------------------------------------------------------------
   Loading overlay
---------------------------------------------------------------------------- */
.arb-loading {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 99999;
    backdrop-filter: blur(2px);
}

.arb-loading p {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.arb-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: arb-spin 0.85s linear infinite;
}

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

/* ----------------------------------------------------------------------------
   Utilities
---------------------------------------------------------------------------- */
#arb-app [hidden] { display: none !important; }

#arb-app a {
    color: var(--arb-brand-dark);
    text-decoration: underline;
}

#arb-app a:hover {
    color: var(--arb-brand);
}
