/* ═══════════════════════════════════════════════════════════════
   Tenant signup wizard — shared shell, steps, plan cards, payment,
   review, success
   ═══════════════════════════════════════════════════════════════ */

.wiz-page {
    min-height: 100vh;
    background: #D8E2F0;
    padding: 32px 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: var(--gray-900);
}
.wiz-shell {
    width: 100%;
    max-width: 900px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(13,53,133,.18);
    border: 1px solid var(--gray-200);
    display: flex;
    min-height: 580px;
    background: var(--white);
}
@media (max-width: 800px) {
    .wiz-shell { flex-direction: column; min-height: auto; }
}

/* ── LEFT BRAND PANEL ── */
.wiz-left {
    width: 340px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--blue-800) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 40px 36px;
    color: #fff;
}
.wiz-left::before {
    content: ''; position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 60px solid rgba(255,255,255,.05);
    top: -100px; right: -100px;
}
.wiz-left::after {
    content: ''; position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,.04);
    bottom: -60px; left: -60px;
}
@media (max-width: 800px) {
    .wiz-left { width: 100%; padding: 24px 28px; }
}
.wiz-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: #fff;
    position: relative; z-index: 1;
}
.wiz-brand span { color: var(--gold-300); }
.wiz-tagline {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
    position: relative; z-index: 1;
}
.wiz-illustration {
    text-align: center;
    position: relative; z-index: 1;
    padding: 16px 0;
}
.wiz-illustration i {
    font-size: 80px;
    color: rgba(255,255,255,.14);
}

.wiz-steps-nav {
    display: flex; flex-direction: column; gap: 0;
    position: relative; z-index: 1;
}
.wiz-step-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0;
}
.wiz-step-nav-dot {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.2);
}
.wiz-step-nav-dot--done   { background: var(--gold-300); border-color: var(--gold-300); color: var(--blue-800); }
.wiz-step-nav-dot--active { background: var(--white);     border-color: #fff;     color: var(--blue-800); }
.wiz-step-nav-dot--future { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.4); }

.wiz-step-nav-label { font-size: 12px; font-weight: 500; }
.wiz-step-nav-label--active { color: #fff; font-weight: 600; }
.wiz-step-nav-label--done   { color: var(--gold-300); }
.wiz-step-nav-label--future { color: rgba(255,255,255,.35); }

.wiz-step-nav-connector {
    width: 2px; height: 20px;
    background: rgba(255,255,255,.12);
    margin-left: 13px;
}
.wiz-step-nav-connector--done {
    background: var(--gold-300);
    opacity: .4;
}

/* ── RIGHT CONTENT PANEL ── */
.wiz-right {
    flex: 1;
    background: var(--white);
    display: flex; flex-direction: column;
    min-width: 0;
}
.wiz-progress-bar {
    height: 4px;
    background: var(--gray-100);
}
.wiz-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--gold-400), var(--gold-300));
    transition: width .3s;
}
.wiz-progress-fill--success {
    background: linear-gradient(to right, var(--green-500), #34d399);
}

.wiz-right-body {
    padding: 24px 36px;
    flex: 1;
    display: flex; flex-direction: column;
    min-height: 0;
}
@media (max-width: 800px) {
    .wiz-right-body { padding: 20px 22px; }
}
.wiz-right-footer {
    padding: 16px 36px 28px;
    border-top: 1px solid var(--gray-100);
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
}
@media (max-width: 800px) {
    .wiz-right-footer { padding: 14px 22px 20px; }
}

.wiz-step-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 4px;
}
.wiz-title {
    font-size: 22px; font-weight: 600;
    color: var(--blue-800);
    margin-bottom: 3px;
}
.wiz-subtitle {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* ── STEP COUNTER (dots above title) ── */
.wiz-step-counter {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.wiz-step-dots {
    display: flex; align-items: center; gap: 6px;
}
.wiz-step-dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.wiz-step-dot--done   { background: var(--gold-300); }
.wiz-step-dot--active { background: var(--navy-700); width: 28px; border-radius: 5px; }
.wiz-step-dot--future { background: var(--gray-200); }
.wiz-step-text {
    font-size: 11px; font-weight: 600;
    color: var(--gray-400);
}

/* ── FORM GRID ── */
.wiz-form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    flex: 1;
}
.wiz-form-grid--single { grid-template-columns: 1fr; }
.wiz-field { display: flex; flex-direction: column; gap: 4px; }
.wiz-field--full { grid-column: 1 / -1; }
@media (max-width: 600px) {
    .wiz-form-grid { grid-template-columns: 1fr; }
}

.wiz-field__label {
    font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--gray-400);
}
.wiz-field__label-optional {
    font-weight: 400;
    color: var(--gray-300);
}
.wiz-field__input {
    display: flex; align-items: center; gap: 9px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-100);
    border-radius: 10px;
    padding: 10px 13px;
    transition: all .15s;
}
.wiz-field__input:focus-within {
    border-color: var(--blue-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(16,66,160,.07);
}
.wiz-field__input i {
    font-size: 16px;
    color: var(--blue-500);
    opacity: .55;
    flex-shrink: 0;
}
.wiz-field__input input,
.wiz-field__input select {
    background: none; border: none; outline: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--gray-900);
    width: 100%;
}
.wiz-field__input input::placeholder { color: var(--gray-300); }

/* ── PLAN CARDS ── */
.wiz-plan-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 700px) {
    .wiz-plan-grid { grid-template-columns: 1fr; }
}
.wiz-plan {
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    text-align: center;
    background: var(--white);
}
.wiz-plan:hover { border-color: var(--blue-400); }
.wiz-plan--selected { border-color: var(--blue-700); background: var(--blue-50); }
.wiz-plan--popular  { border-color: var(--gold-300); }
.wiz-plan__badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold-300);
    color: var(--blue-800);
    font-size: 10px; font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.wiz-plan__name {
    font-size: 13px; font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 4px;
}
.wiz-plan__price {
    font-size: 24px; font-weight: 700;
    color: var(--blue-800);
    line-height: 1;
}
.wiz-plan__price-period {
    font-size: 13px; font-weight: 400;
    color: var(--gray-400);
}
.wiz-plan__period {
    font-size: 11px;
    color: var(--gray-400);
    margin: 4px 0 10px;
}
.wiz-plan__feats {
    display: flex; flex-direction: column; gap: 5px;
    text-align: left;
}
.wiz-plan__feat {
    font-size: 11px;
    color: var(--gray-600);
    display: flex; align-items: center; gap: 5px;
}
.wiz-plan__feat i { font-size: 12px; color: var(--green-500); flex-shrink: 0; }
.wiz-plan__feat--no i { color: var(--gray-300); }
.wiz-plan__feat--no   { color: var(--gray-300); }

.wiz-trial-note {
    text-align: center;
    font-size: 12px; color: var(--gray-400);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.wiz-trial-note i { font-size: 14px; color: var(--green-500); }

/* ── PAYMENT METHODS ── */
.wiz-pay-methods {
    display: flex; gap: 8px; margin-bottom: 16px;
    flex-wrap: wrap;
}
.wiz-pay-method {
    flex: 1; min-width: 140px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: all .15s;
    background: var(--white);
}
.wiz-pay-method:hover { border-color: var(--blue-400); }
.wiz-pay-method--selected {
    border-color: var(--blue-700);
    background: var(--blue-50);
}
.wiz-pay-method__icon { font-size: 20px; color: var(--gray-600); }
.wiz-pay-method__label {
    font-size: 12px; font-weight: 600;
    color: var(--gray-700);
}
.wiz-pay-method--selected .wiz-pay-method__label { color: var(--blue-800); }
.wiz-pay-method--selected .wiz-pay-method__icon  { color: var(--blue-700); }

.wiz-card-brands { display: flex; gap: 6px; margin-left: auto; }
.wiz-card-brand {
    height: 24px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    font-size: 10px; font-weight: 700;
    color: var(--gray-500);
    display: inline-flex; align-items: center;
}

.wiz-secure-note {
    display: flex; align-items: center; gap: 7px;
    margin-top: 10px;
    font-size: 11px; color: var(--gray-400);
}
.wiz-secure-note i { font-size: 15px; color: var(--green-500); }

/* ── REVIEW SECTIONS ── */
.wiz-review-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 12px;
}
@media (max-width: 600px) {
    .wiz-review-grid { grid-template-columns: 1fr; }
}
.wiz-review {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    padding: 14px 16px;
}
.wiz-review__title {
    font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.wiz-review__title i { font-size: 14px; }
.wiz-review__row {
    display: flex; justify-content: space-between; align-items: flex-start;
    font-size: 12px;
    padding: 3px 0;
    gap: 12px;
}
.wiz-review__key { color: var(--gray-400); font-weight: 500; flex-shrink: 0; }
.wiz-review__val { color: var(--gray-800); font-weight: 500; text-align: right; }

.wiz-accept-list {
    display: flex; flex-direction: column; gap: 6px;
}
.wiz-accept-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--gray-700);
    cursor: pointer;
}
.wiz-accept-item input[type=checkbox] {
    accent-color: var(--blue-700);
    width: 15px; height: 15px;
}
.wiz-accept-item a {
    color: var(--blue-600);
    font-weight: 600;
    text-decoration: none;
}

/* ── BUTTONS ── */
.wiz-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 24px;
    border-radius: 10px;
    font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; border: none;
    transition: all .15s;
}
.wiz-btn:disabled {
    opacity: .55; cursor: not-allowed;
    transform: none !important; box-shadow: none !important;
}
.wiz-btn i { font-size: 15px; }
.wiz-btn--primary {
    background: var(--navy-800); color: #fff;
    box-shadow: 0 4px 14px rgba(13,53,133,.25);
}
.wiz-btn--primary:hover:not(:disabled) {
    background: var(--navy-700); transform: translateY(-1px);
}
.wiz-btn--primary i { color: var(--gold-300); }
.wiz-btn--secondary {
    background: var(--white); color: var(--gray-500);
    border: 1.5px solid var(--gray-200);
}
.wiz-btn--secondary:hover:not(:disabled) {
    border-color: var(--gray-300); color: var(--gray-700);
}
.wiz-btn--gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    color: var(--blue-800);
    box-shadow: 0 4px 16px rgba(240,192,64,.35);
}
.wiz-btn--gold:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(240,192,64,.4);
}
.wiz-btn--gold i { color: var(--blue-800); }
.wiz-btn--lg { padding: 13px 32px; font-size: 14px; }

/* ── SUCCESS ── */
.wiz-success {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    flex: 1; text-align: center; padding: 20px;
}
.wiz-success__icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--green-100);
    border: 3px solid var(--green-border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.wiz-success__icon i {
    font-size: 40px;
    color: var(--green-500);
}
.wiz-success__title {
    font-size: 24px; font-weight: 600;
    color: var(--blue-800);
    margin-bottom: 6px;
}
.wiz-success__sub {
    font-size: 13px;
    color: var(--gray-400);
    max-width: 360px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.wiz-success__sub strong { color: var(--gray-700); }

.wiz-creds {
    background: var(--blue-50);
    border: 1.5px solid var(--blue-100);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 380px;
}
.wiz-creds__title {
    font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 5px;
}
.wiz-creds__title i { font-size: 13px; }
.wiz-creds__row {
    display: flex; justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px solid var(--blue-100);
}
.wiz-creds__row:last-child { border-bottom: none; }
.wiz-creds__key { color: var(--gray-400); }
.wiz-creds__val { font-weight: 600; color: var(--blue-800); }
.wiz-creds__val--secret { letter-spacing: .1em; color: var(--blue-600); }
.wiz-creds__val--accent { color: var(--blue-600); }

.wiz-success__email-note {
    font-size: 12px; color: var(--gray-400);
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 6px;
}
.wiz-success__email-note i { font-size: 15px; color: var(--blue-400); }
.wiz-success__email-note strong { color: var(--gray-700); }
.wiz-success__actions {
    display: flex; gap: 10px; justify-content: center;
    flex-wrap: wrap;
}

/* ── ERROR ── */
.wiz-error {
    background: var(--red-100);
    border: 1px solid var(--red-border);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    color: var(--red-500);
    font-size: 12px;
    display: flex; align-items: center; gap: 8px;
}
.wiz-error i { font-size: 15px; flex-shrink: 0; }

/* ── SIGN IN LINK (footer of step 1) ── */
.wiz-signin {
    font-size: 12px; color: var(--gray-400);
}
.wiz-signin a {
    color: var(--blue-600);
    font-weight: 600;
    text-decoration: none;
}
