/* ============================================================
   CarZoon DVLA — Advertise My Car
   Multi-step flow stylesheet — Updated to match mobile design
   ============================================================ */

/* UTILITY */
.display-n { display: none !important; }

select:not(.qm-filter) {
    opacity: 1 !important;
    visibility: visible !important;
}
button:focus,  button:hover { 
    background-color: #0f2744 !important;
    border-color: #0f2744 !important;
}
/* BASE */
.cz-advertise-section {
    padding: 24px 16px 60px;
    background: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.cz-advertise-wrap {
    max-width: 680px;
    margin: 0 auto;
}

/* ─── PROGRESS BAR ─────────────────────────────────────────── */
.cz-progress-bar-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(10,30,60,0.07);
}
.cz-progress-track {
    height: 4px;
    background: #e4eaf4;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 20px;
}
.cz-progress-fill {
    height: 100%;
    background: #1e4fc2;
    border-radius: 99px;
    transition: width 0.4s ease;
    width: 0%;
}
.cz-progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}
.cz-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    cursor: default;
}
.cz-ps-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8ecf4;
    color: #8a9abf;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}
.cz-progress-step span {
    font-size: 12px;
    color: #8a9abf;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}
/* Active step: filled blue circle */
.cz-progress-step.active .cz-ps-dot {
    background: #1e4fc2;
    color: #fff;
}
.cz-progress-step.active span {
    color: #0f2744;
    font-weight: 700;
}
/* Done step: green checkmark circle */
.cz-progress-step.done .cz-ps-dot {
    background: #1aad5b;
    color: #fff;
    font-size: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}
.cz-progress-step.done span {
    color: #1aad5b;
}

/* ─── STEP HEADER ──────────────────────────────────────────── */
.cz-step-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 4px;
}
.cz-page-title {
    font-size: 36px;
    font-weight: 800;
    color: #0d1f3c;
    margin: 0 0 10px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.cz-page-subtitle {
    font-size: 16px;
    color: #5b6f8a;
    margin: 0;
    line-height: 1.55;
}
.cz-step-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d1f3c;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.cz-step-subtitle {
    font-size: 15px;
    color: #5b6f8a;
    margin: 0;
    line-height: 1.5;
}

/* ─── CARD ─────────────────────────────────────────────────── */
.cz-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(10,30,60,0.06);
    margin-bottom: 16px;
}

/* ─── STEP 1: REG FIELD ────────────────────────────────────── */
.cz-field-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0d1f3c;
    margin-bottom: 12px;
}
.cz-plate-input-wrap {
    display: flex;
    align-items: stretch;
    background: #ffd84c !important;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #1a3a60;
    width: 100%;
}
.cz-plate-country {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    background: #1a3a60;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.cz-plate-input-wrap input {
    flex: 1;
    min-height: 68px;
    border: 0 !important;
    background: #ffc107 !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #111;
    padding: 0 20px;
    text-transform: uppercase;
    outline: none;
    font-family: inherit;
}
.cz-plate-input-wrap input::placeholder {
    color: #b8961a;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 600;
}
.cz-reg-actions {
    margin-top: 16px;
}
.cz-manual-link-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef1f8;
}
.cz-link-btn {
    background: none;
    border: none;
    color: #1e4fc2 !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: underline;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.cz-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    background: #1aad5b;
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s;
    text-decoration: none;
    box-shadow: unset;
}
.cz-btn-primary:hover {
    background: #158f4b;
    transform: translateY(-1px);
}
.cz-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.cz-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    background: transparent;
    color: #0d1f3c !important;
    border: 2px solid #c8d4e8;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    text-decoration: none;
    box-sizing: border-box;
}
.cz-btn-secondary:hover {
    border-color: #1e4fc2;
    background: #f0f5ff;
}
.cz-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 0 28px;
    background: #1aad5b;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s;
    box-sizing: border-box;
}
.cz-btn-submit:hover {
    background: #158f4b;
    transform: translateY(-1px);
}
.cz-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.cz-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #5b6f8a !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
}
.cz-btn-back:hover { color: #1e4fc2 !important; }

/* ─── SPINNER ──────────────────────────────────────────────── */
.cz-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cz-spin 0.75s linear infinite;
    vertical-align: middle;
}
@keyframes cz-spin { to { transform: rotate(360deg); } }

/* ─── FORM MESSAGES ────────────────────────────────────────── */
.cz-form-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}
.cz-form-message.is-error  { color: #d93025; }
.cz-form-message.is-success { color: #1aad5b; }

/* ─── STEP 2: CONFIRM CARD ─────────────────────────────────── */
.cz-confirm-reg-badge {
    display: block;
    background: #ffd84c;
    border: 2px solid #e6c000;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #111;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}
/* Confirm grid: 2-col table layout to match screenshot */
.cz-confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid #e8edf6;
    border-radius: 12px;
    overflow: hidden;
}
.cz-confirm-item {
    padding: 14px 16px;
    border-bottom: 1px solid #e8edf6;
    background: #fff;
}
.cz-confirm-item:nth-child(odd) {
    border-right: 1px solid #e8edf6;
}
.cz-confirm-item:nth-last-child(-n+2) {
    border-bottom: none;
}
.cz-ci-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #7b91b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.cz-ci-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0d1f3c;
}
.cz-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── SELLING DETAILS: REG BADGE IN STEP ──────────────────── */
.cz-step-reg-badge {
    display: block;
    background: #ffd84c;
    border: 2px solid #e6c000;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #111;
    margin: 0 auto 6px;
    text-transform: uppercase;
    text-align: center;
    max-width: 220px;
}
.cz-step-vehicle-name {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #0d1f3c;
    margin-bottom: 22px;
}

/* ─── SECTION CARDS ────────────────────────────────────────── */
.cz-section-card {
    margin-bottom: 16px;
    /*display: none;*/
}
.cz-section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.cz-section-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.cz-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0d1f3c;
    margin: 0 0 2px;
}
.cz-section-desc {
    font-size: 13px;
    color: #7b91b0;
    margin: 0;
}

/* ─── FORM GRID ────────────────────────────────────────────── */
.cz-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.cz-form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.cz-span-2 { grid-column: span 2; }

.cz-input {
    width: 100%;
    min-height: 52px;
    border: 1.5px solid #d5e0ef;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    color: #0d1f3c;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s;
    font-family: inherit;
}
.cz-input:focus {
    border-color: #1e4fc2;
    box-shadow: 0 0 0 3px rgba(30,79,194,0.10);
}
.cz-input[readonly] {
    background: #f4f6fb;
    color: #5b6f8a;
    cursor: default;
}
.cz-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237b91b0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.cz-textarea {
    width: 100%;
    border: 1.5px solid #d5e0ef;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    color: #0d1f3c;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.18s;
    display: block;
}
.cz-textarea:focus {
    border-color: #1e4fc2;
    box-shadow: 0 0 0 3px rgba(30,79,194,0.10);
}
.cz-char-counter {
    margin-top: 8px;
    font-size: 12px;
    color: #7b91b0;
    text-align: right;
}
.cz-field-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7b91b0;
}

/* ─── FEATURES ACCORDION ───────────────────────────────────── */
.cz-acc-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cz-acc-item {
    border: 1px solid #e2e8f4;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.cz-acc-item:has(.cz-feature-check:checked) {
    border-color: #1e4fc2;
}
.cz-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafd;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0d1f3c !important;
    text-align: left;
    transition: background 0.18s;
}
.cz-acc-trigger:hover { background: #eef3ff; }
.cz-acc-trigger[aria-expanded="true"] { background: #eef3ff; }
.cz-acc-icon { font-size: 16px; flex-shrink: 0; }
.cz-acc-label { flex: 1; }
.cz-acc-count {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #1e4fc2;
    border-radius: 20px;
    padding: 2px 8px;
    min-width: 20px;
    text-align: center;
    display: none;
}
.cz-acc-count.has-checked { display: inline-block; }
.cz-acc-chevron {
    flex-shrink: 0;
    color: #7a93b8;
    transition: transform 0.22s;
}
.cz-acc-trigger[aria-expanded="true"] .cz-acc-chevron { transform: rotate(180deg); }
.cz-acc-body {
    padding: 14px 16px 18px;
    border-top: 1px solid #e2e8f4;
    background: #fff;
}
.cz-acc-body[hidden] { display: none; }

.cz-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}
.cz-features-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #0d1f3c;
    cursor: pointer;
    padding: 4px 0;
    line-height: 1.3;
}
.cz-features-grid label:hover { color: #1e4fc2; }
.cz-features-grid input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: #1e4fc2;
    cursor: pointer;
    flex-shrink: 0;
}
.cz-ev-badge {
    font-size: 10px;
    font-weight: 700;
    color: #1aad5b;
    background: #e6f9f0;
    border: 1px solid #b3edce;
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 2px;
    flex-shrink: 0;
}
.cz-ev-feature.cz-ev-hidden { display: none; }

/* ─── UPLOAD PHOTO AREA ────────────────────────────────────── */
.cz-upload-box {
    display: block;
    border: 2px dashed #c8d8ef;
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.25s;
    background: #f8fafd;
    margin-bottom: 16px;
}
.cz-upload-box:hover { border-color: #1e4fc2; background: #f0f5ff; }
.cz-upload-box.dragging { border-color: #1aad5b; background: #eafaf2; }
.cz-upload-icon { font-size: 30px; margin-bottom: 8px; }
.cz-upload-inner p { margin: 0 0 4px; font-size: 15px; color: #0d1f3c; }
.cz-upload-inner span { font-size: 12px; color: #7b91b0; }

/* ─── IMAGE PREVIEW ────────────────────────────────────────── */
.cz-image-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 4px;
}
.cz-image-preview-sm .cz-image-item { height: 70px; }
.cz-image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 80px;
    background: #e8edf5;
    border: 1px solid #dde5f0;
}
.cz-image-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.cz-remove-img {
    position: absolute; top: 4px; right: 4px;
    background: rgba(220,30,30,0.88);
    color: #fff; border: none; border-radius: 50%;
    width: 22px; height: 22px;
    padding: 0;
    font-size: 13px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.cz-existing-label {
    position: absolute; bottom: 4px; left: 4px;
    background: rgba(22,163,74,0.85);
    color: #fff; font-size: 10px; font-weight: 600;
    border-radius: 5px; padding: 2px 5px;
    pointer-events: none;
}

/* ─── ACCOUNT NOTICE ───────────────────────────────────────── */
.cz-account-notice {
    background: #eef4ff;
    border: 1px solid #c6d8ff;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #1c3a6e;
    line-height: 1.5;
}

/* ─── STEP NAV ─────────────────────────────────────────────── */
.cz-step-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eef1f8;
}
.cz-step-nav .cz-btn-back {
    text-align: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 2px solid #c8d4e8;
    border-radius: 10px;
    padding: 0;
}

/* ─── REVIEW ───────────────────────────────────────────────── */
.cz-review-card { margin-bottom: 14px; }
.cz-review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f8;
}
.cz-review-head h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0d1f3c;
    margin: 0;
}
.cz-edit-link {
    background: none;
    border: 1px solid #d0daea;
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e4fc2 !important;
    cursor: pointer;
    transition: 0.18s;
}
.cz-edit-link:hover { background: #f0f5ff; }
.cz-review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.cz-rv-item {
    background: #f8fafd;
    border: 1px solid #eaeef8;
    border-radius: 10px;
    padding: 10px 12px;
}
.cz-rv-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #7b91b0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}
.cz-rv-val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0d1f3c;
}
.cz-review-features-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cz-feat-tag {
    background: #eef4ff;
    color: #1e4fc2;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
}
.cz-review-text {
    font-size: 14px;
    color: #0d1f3c;
    line-height: 1.65;
    margin: 0;
    white-space: pre-wrap;
}
.cz-muted { color: #7b91b0; font-size: 14px; }

/* ─── TERMS ────────────────────────────────────────────────── */
.cz-terms-card {
    background: #f8fafd;
    border: 1.5px solid #d0daea;
}
.cz-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #0d1f3c;
    line-height: 1.5;
}
.cz-terms-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #1e4fc2;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}
.cz-terms-check a { color: #1e4fc2; font-weight: 600; }

/* ─── SUCCESS ──────────────────────────────────────────────── */
.cz-success-wrap {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 44px 24px 36px;
    box-shadow: 0 2px 12px rgba(10,30,60,0.06);
}
.cz-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #e8f8ef;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 36px;
}
.cz-success-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d1f3c;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}
.cz-success-sub {
    font-size: 15px;
    color: #5b6f8a;
    margin: 0 0 24px;
    line-height: 1.6;
}
.cz-success-card {
    background: #f4f8ff;
    border: 1.5px solid #d0daea;
    border-radius: 14px;
    padding: 4px 0;
    max-width: 440px;
    margin: 0 auto 20px;
    overflow: hidden;
}
.cz-success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e4eaf4;
}
.cz-success-row:last-child { border-bottom: none; }
.cz-success-label { font-size: 13px; font-weight: 500; color: #7b91b0; }
.cz-success-value { font-size: 15px; font-weight: 700; color: #0d1f3c; }
.cz-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff8e8;
    border: 1.5px solid #f5c400;
    border-radius: 99px;
    padding: 5px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #7a5000;
}
.cz-success-note {
    font-size: 14px;
    color: #7b91b0;
    margin: 0 0 24px;
    line-height: 1.65;
}
.cz-success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

/* ─── FIELD VALIDATION ERRORS ──────────────────────────────── */
.cz-input.cz-field-error,
.cz-select.cz-field-error,
.cz-textarea.cz-field-error {
    border-color: #d93025 !important;
    box-shadow: 0 0 0 3px rgba(217,48,37,0.12) !important;
}
.cz-field-error-msg {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #d93025;
    font-weight: 500;
}

/* ─── HIDDEN PROGRESS STEP ─────────────────────────────────── */
.cz-progress-step.cz-step-hidden {
    display: none !important;
}

/* ─── DESKTOP RESPONSIVE ───────────────────────────────────── */
@media (min-width: 768px) {
    .cz-advertise-section {
        padding: 40px 24px 80px;
    }
    .cz-advertise-wrap {
        max-width: 720px;
    }
    .cz-progress-bar-wrap {
        padding: 24px 28px 20px;
        border-radius: 20px;
    }
    .cz-ps-dot {
        width: 42px;
        height: 42px;
    }
    .cz-page-title { font-size: 40px; }
    .cz-step-title { font-size: 30px; }
    .cz-card {
        border-radius: 20px;
        padding: 28px 28px;
    }
    .cz-plate-input-wrap {
        max-width: 460px;
    }
    .cz-plate-input-wrap input {
        font-size: 30px;
        min-height: 72px;
    }
    .cz-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .cz-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cz-image-preview {
        grid-template-columns: repeat(5, 1fr);
    }
    .cz-image-item { height: 90px; }
    .cz-review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cz-step-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .cz-step-nav .cz-btn-primary,
    .cz-step-nav .cz-btn-submit {
        width: auto;
        min-width: 220px;
        flex-shrink: 0;
    }
    .cz-step-nav .cz-btn-back {
        width: auto;
        border: none;
        min-height: auto;
        padding: 0;
        border-radius: 0;
    }
    .cz-confirm-actions {
        flex-direction: row;
        gap: 14px;
    }
    .cz-confirm-actions .cz-btn-primary,
    .cz-confirm-actions .cz-btn-secondary {
        width: auto;
        flex: 1;
    }
    .cz-success-actions {
        flex-direction: row;
    }
    .cz-success-actions .cz-btn-primary,
    .cz-success-actions .cz-btn-secondary {
        flex: 1;
    }
}

/* ─── MOBILE FINE-TUNING (< 480px) ────────────────────────── */
@media (max-width: 479px) {
    .cz-advertise-section { padding: 16px 12px 40px; }
    .cz-progress-bar-wrap { padding: 16px 14px 14px; }
    .cz-ps-dot { width: 34px; height: 34px; font-size: 14px; }
    .cz-progress-step span { font-size: 11px; }
    .cz-page-title { font-size: 30px; }
    .cz-step-title { font-size: 24px; }
    .cz-card { padding: 18px 16px; }
    .cz-form-grid { grid-template-columns: repeat(2, 1fr); }
    .cz-features-grid { grid-template-columns: repeat(2, 1fr); }
    .cz-image-preview { grid-template-columns: repeat(4, 1fr); }
    .cz-plate-input-wrap input { font-size: 22px; min-height: 60px; }
}

/* ─── STEP 4: ACCOUNT TYPE SELECTOR ───────────────────────── */
/* Matches the signup page Private Seller / Dealer tab style */
.cz-account-role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid #0d1f3c;
    border-radius: 12px;
    overflow: hidden;
}
.cz-account-role-card {
    cursor: pointer;
    position: relative;
    display: block;
}
.cz-account-role-radio {
    position: absolute !important;
    opacity: 0;
    pointer-events: none;
}
.cz-account-role-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 12px 13px;
    background: #fff;
    text-align: center;
    transition: background 0.18s;
}
.cz-account-role-card:first-child .cz-account-role-inner {
    border-right: 1px solid #0d1f3c;
}
.cz-account-role-radio:checked + .cz-account-role-inner {
    background: #0d1f3c;
}
.cz-account-role-radio:checked + .cz-account-role-inner .cz-account-role-name,
.cz-account-role-radio:checked + .cz-account-role-inner .cz-account-role-desc {
    color: #fff !important;
}
.cz-account-role-name {
    font-size: 14px;
    font-weight: 700;
    color: #0d1f3c;
    line-height: 1.2;
}
.cz-account-role-desc {
    font-size: 12px;
    color: #6b7c9b;
    line-height: 1.3;
}

/* Step 4 inner card header (for guest) */
.cz-step4-panel-header {
    text-align: center;
    margin-bottom: 24px;
}
.cz-step4-title {
    font-size: 22px;
    font-weight: 900;
    color: #0d1f3c;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
}
.cz-step4-subtitle {
    font-size: 14px;
    color: #6b7c9b;
    margin: 0;
    line-height: 1.5;
}

/* Input with leading icon */
.cz-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.cz-input-icon {
    position: absolute;
    left: 14px;
    pointer-events: none;
    color: #8a9abf;
    flex-shrink: 0;
}
.cz-input-has-icon {
    padding-left: 42px !important;
}
.cz-input-has-toggle {
    padding-right: 44px !important;
}

/* Password visibility toggle button */
.cz-pwd-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #6b7c9b;
    padding: 4px;
    z-index: 2;
}
.cz-pwd-toggle:hover { color: #0d1f3c; }

/* Account type card — no extra padding needed */
#cz-account-type-card {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10,30,60,0.06);
}
