/* ──────────────────────────────────────────────────────────────────────
   Apply wizard styling — tuned to match the Virtual Check website
   design system (Inter font, slate palette, sky accent, rounded
   corners, soft shadows). Class names are preserved 1:1 so wizard.js
   and industry-select.js keep working without changes.
   ────────────────────────────────────────────────────────────────────── */

/* ────────────────────────────────────────────────────────
   RESET (scoped to wizard, leaves site body styles alone)
   ──────────────────────────────────────────────────────── */
.app-layout *, .app-layout *::before, .app-layout *::after {
    box-sizing: border-box;
}

/* ────────────────────────────────────────────────────────
   LEGACY HEADER — site navbar replaces this. Hide if present.
   ──────────────────────────────────────────────────────── */
.app-header { display: none !important; }

/* ────────────────────────────────────────────────────────
   TWO-COLUMN LAYOUT
   ──────────────────────────────────────────────────────── */
.app-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    font-family: inherit;
    color: #0f172a;             /* slate-900 */
}

/* ────────────────────────────────────────────────────────
   SIDEBAR — white card with sky accent
   ──────────────────────────────────────────────────────── */
.sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    background: #f8fafc;        /* slate-50 */
    border-right: 1px solid #e2e8f0; /* slate-200 */
    padding: 32px 0;
    position: sticky;
    top: 96px;
    align-self: flex-start;
    /* Clip our own corners so the panel can have overflow:visible
       for absolutely-positioned children like the industry dropdown */
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.step-nav {
    position: relative;
    padding: 0;
}

/* vertical connector line — runs between bubbles */
.step-nav::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: calc(24px + 18px); /* aligns with bubble center on left side */
    width: 2px;
    background: #e2e8f0;     /* slate-200 */
    z-index: 0;
}

.step-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: background .15s;
}
.step-nav-item:hover { background: rgba(255, 255, 255, .6); }

.step-nav-bubble {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0; /* slate-200 */
    color: #94a3b8;              /* slate-400 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all .2s ease;
    order: 1; /* bubble on the LEFT */
}

.step-nav-label {
    font-size: 13px;
    color: #64748b;            /* slate-500 */
    font-weight: 500;
    transition: color .2s, font-weight .2s;
    line-height: 1.3;
    order: 2;
}

/* active step */
.step-nav-item.active {
    background: rgba(255, 255, 255, .9);
}
.step-nav-item.active .step-nav-label {
    color: #0f172a;            /* slate-900 */
    font-weight: 600;
}
.step-nav-item.active .step-nav-bubble {
    background: linear-gradient(135deg, #0ea5e9, #4f46e5); /* sky-500 → indigo-600 */
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .15),
                0 4px 12px rgba(14, 165, 233, .25);
}

/* completed step */
.step-nav-item.complete .step-nav-label {
    color: #475569;            /* slate-600 */
}
.step-nav-item.complete .step-nav-bubble {
    background: #ecfdf5;       /* emerald-50 */
    border-color: #6ee7b7;     /* emerald-300 */
    color: #047857;            /* emerald-700 */
}

/* ────────────────────────────────────────────────────────
   CONTENT PANEL
   ──────────────────────────────────────────────────────── */
.content-panel {
    flex: 1;
    padding: 36px 40px 48px;
    min-width: 0;
    background: #ffffff;
    /* Match the wrapper card's rounded corners on our outer edges */
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

/* ────────────────────────────────────────────────────────
   ARROW NAVIGATION ROW
   ──────────────────────────────────────────────────────── */
.arrow-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0; /* slate-200 */
    background: #ffffff;
    color: #64748b;            /* slate-500 */
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
    flex-shrink: 0;
}
.arrow-btn:hover:not(:disabled) {
    border-color: #0f172a;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}
.arrow-btn:disabled { opacity: .35; cursor: not-allowed; }

.step-counter {
    font-size: 13px;
    font-weight: 600;
    color: #475569;            /* slate-600 */
    letter-spacing: .2px;
}

/* ────────────────────────────────────────────────────────
   STEP HEADING
   ──────────────────────────────────────────────────────── */
.step-heading {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.step-heading h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}
.step-heading p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ────────────────────────────────────────────────────────
   PLAN BADGE (legacy, kept for compatibility)
   ──────────────────────────────────────────────────────── */
.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 9999px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 12px;
    margin-left: auto;
    white-space: nowrap;
}
.plan-badge .icon { font-size: 13px; }
.plan-badge.none {
    border-color: #e2e8f0;
    color: #94a3b8;
    background: #f8fafc;
}

/* ────────────────────────────────────────────────────────
   PLAN CARD (inline summary in arrow-nav row)
   ──────────────────────────────────────────────────────── */
.plan-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    min-width: 240px;
    max-width: 480px;
    margin-left: auto;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.plan-card-header {
    padding: 8px 14px;
    background: linear-gradient(to right, #f0f9ff, #eef2ff); /* sky-50 → indigo-50 */
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.plan-card-type {
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;            /* sky-700 */
    letter-spacing: -.01em;
}
.plan-card-tier {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}
.plan-card-fees {
    display: flex;
    align-items: stretch;
    background: #ffffff;
}
.plan-card-fee {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-right: 1px solid #f1f5f9;
    gap: 2px;
}
.plan-card-fee:last-child { border-right: none; }
.pcf-label {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}
.pcf-value {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    letter-spacing: -.01em;
}

@media (max-width: 600px) {
    .plan-card { min-width: 0; width: 100%; max-width: 100%; margin-left: 0; }
    .pcf-value { font-size: 13px; }
}

/* ────────────────────────────────────────────────────────
   FORM GRID
   ──────────────────────────────────────────────────────── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}
.form-grid .full  { grid-column: 1 / -1; }
.form-grid .third { grid-column: span 1; }
.form-grid .three-up {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    gap: 24px;
}
.form-grid .three-up .field              { flex: 1; min-width: 0; }
.form-grid .three-up .field:first-child  { flex: 2; }
.form-grid .three-up.equal .field,
.form-grid .three-up.equal .field:first-child { flex: 1; }

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .form-grid .full,
    .form-grid .third { grid-column: 1; }
    .form-grid .three-up { flex-direction: column; gap: 14px; }
    .form-grid .three-up .field { flex: none; width: 100%; }
}

/* ────────────────────────────────────────────────────────
   FORM FIELDS
   ──────────────────────────────────────────────────────── */
.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #475569;            /* slate-600 */
    margin-bottom: 6px;
}
.field label .req { color: #e11d48; margin-left: 2px; }  /* rose-600 */

.field input,
.field select,
.field textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    line-height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    background: #ffffff;
    transition: border-color .15s, box-shadow .15s, background .15s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.field input::placeholder,
.field textarea::placeholder { color: #94a3b8; }

.field select    { padding-right: 36px; cursor: pointer; }
.field textarea  { height: auto; min-height: 96px; line-height: 1.5; padding: 12px 14px; }

.field select {
    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='%2364748b' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.field input:hover,
.field select:hover { border-color: #cbd5e1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #0ea5e9;     /* sky-500 */
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
    background: #ffffff;
}

.field input.error,
.field select.error,
.field textarea.error {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);
}
.field .hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}
.field-error-msg {
    display: block;
    font-size: 11px;
    color: #e11d48;
    font-weight: 500;
    margin-top: 6px;
}

/* ────────────────────────────────────────────────────────
   OPTIONAL DOCS BANNER
   ──────────────────────────────────────────────────────── */
.docs-optional-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f0f9ff;       /* sky-50 */
    border: 1px solid #bae6fd; /* sky-200 */
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}
.docs-banner-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.docs-banner-body strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0c4a6e;            /* sky-900 */
    margin-bottom: 4px;
}
.docs-banner-body p {
    font-size: 13px;
    color: #075985;            /* sky-800 */
    line-height: 1.55;
    margin: 0;
}

.docs-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #475569;
    margin: 0 0 10px;
}
.docs-optional-tag {
    display: inline-block;
    background: #e0f2fe;       /* sky-100 */
    color: #0369a1;            /* sky-700 */
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 9999px;
    padding: 2px 8px;
    border: 1px solid #bae6fd;
}

.docs-accepted-note {
    font-size: 12px;
    color: #94a3b8;
    margin: 12px 0 4px;
}

/* ────────────────────────────────────────────────────────
   UPLOAD ZONE
   ──────────────────────────────────────────────────────── */
.upload-zone {
    border: 2px dashed #cbd5e1; /* slate-300 */
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #f8fafc;        /* slate-50 */
}
.upload-zone:hover,
.upload-zone.drag-over {
    border-color: #0ea5e9;
    background: #f0f9ff;
}
.upload-zone input[type=file] { display: none; }
.upload-zone .upload-icon { font-size: 36px; margin-bottom: 10px; }
.upload-zone p {
    font-size: 14px;
    color: #475569;
    margin: 0;
}
.upload-zone p span { color: #0284c7; font-weight: 600; }
.upload-zone .size-note {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

.file-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #334155;
}
.file-item .remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #e11d48;
    font-size: 16px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s;
}
.file-item .remove:hover { background: #fef2f2; }

/* ────────────────────────────────────────────────────────
   TERMS ROW
   ──────────────────────────────────────────────────────── */
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0 6px;
    font-size: 13px;
    color: #334155;
}
.terms-row input[type=checkbox] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #0ea5e9;
}
.terms-row a {
    color: #0284c7;
    text-decoration: underline;
    text-decoration-color: rgba(2, 132, 199, .35);
    text-underline-offset: 2px;
}
.terms-row a:hover {
    text-decoration-color: #0284c7;
}

/* ────────────────────────────────────────────────────────
   STEP FOOTER NAV + SUBMIT
   ──────────────────────────────────────────────────────── */
.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.btn-action-next {
    padding: 12px 28px;
    background: #0f172a;       /* slate-900 */
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .15);
    font-family: inherit;
}
.btn-action-next:hover {
    background: #1e293b;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .2);
    transform: translateY(-1px);
}

.btn-action-back {
    padding: 12px 24px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.btn-action-back:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
}
.btn-submit {
    padding: 13px 32px;
    background: linear-gradient(135deg, #0284c7, #4f46e5); /* sky-600 → indigo-600 */
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    min-width: 200px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, .3);
    font-family: inherit;
}
.btn-submit:hover {
    box-shadow: 0 6px 20px rgba(2, 132, 199, .4);
    transform: translateY(-1px);
}
.btn-submit:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ────────────────────────────────────────────────────────
   ALERT
   ──────────────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
    line-height: 1.5;
}
.alert.error {
    background: #fef2f2;
    border-left: 4px solid #e11d48;
    color: #9f1239;
}
.alert.success {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

/* ────────────────────────────────────────────────────────
   SUCCESS SCREEN
   ──────────────────────────────────────────────────────── */
.success-screen {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 72px 24px;
    gap: 14px;
}
.success-screen.show { display: flex; }
.success-screen .check {
    font-size: 64px;
    color: #10b981;            /* emerald-500 */
    width: 96px;
    height: 96px;
    line-height: 96px;
    border-radius: 9999px;
    background: #ecfdf5;
    border: 2px solid #6ee7b7;
    margin-bottom: 8px;
}
.success-screen h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    margin: 0;
}
.success-screen p {
    font-size: 15px;
    color: #475569;
    max-width: 420px;
    line-height: 1.6;
    margin: 0;
}

/* ────────────────────────────────────────────────────────
   REVIEW SUMMARY (Step 5)
   ──────────────────────────────────────────────────────── */
.review-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.review-section {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}
.review-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(to right, #f0f9ff, #eef2ff); /* sky-50 → indigo-50 */
    border-bottom: 1px solid #e2e8f0;
}
.review-section-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.01em;
}
.review-edit-btn {
    appearance: none;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.review-edit-btn:hover {
    background: #f0f9ff;
    border-color: #7dd3fc;
    color: #075985;
}
.review-edit-btn:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.review-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 18px;
    border-top: 1px solid #f1f5f9;
    min-width: 0;
}
.review-row:nth-child(odd)             { border-right: 1px solid #f1f5f9; }
.review-row:nth-child(odd):last-child  { border-right: none; }
.review-row:nth-child(-n+2)            { border-top: none; }
.review-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.review-value {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    word-break: break-word;
}
.review-value em {
    color: #94a3b8;
    font-style: normal;
}

@media (max-width: 600px) {
    .review-grid { grid-template-columns: 1fr; }
    .review-row { border-right: none !important; }
    .review-row:nth-child(2) { border-top: 1px solid #f1f5f9; }
    .review-section-header { padding: 10px 14px; }
    .review-row { padding: 10px 14px; }
}

/* ────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .app-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .content-panel {
        padding: 24px 20px 40px;
        /* Sidebar is now on top — round our bottom corners instead */
        border-top-right-radius: 0;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
    }

    /* Sidebar — horizontal scrollable strip */
    .sidebar {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        overflow-x: auto;
        padding: 14px 12px;
        position: static;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Round the top of the card on mobile (sidebar sits on top) */
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
        border-bottom-left-radius: 0;
    }
    .sidebar::-webkit-scrollbar { display: none; }
    .step-nav { display: flex; flex-direction: row; }
    .step-nav::before { display: none; }
    .step-nav-item {
        flex-direction: column;
        align-items: center;
        padding: 4px 14px;
        gap: 6px;
        white-space: nowrap;
        border-left: none;
    }
    .step-nav-item:hover { background: transparent; }
    .step-nav-item.active { background: transparent; }
    .step-nav-label {
        font-size: 10px;
        text-align: center;
        order: 2;
    }
    .step-nav-bubble {
        width: 32px;
        height: 32px;
        font-size: 12px;
        order: 1;
    }

    .step-heading h2 { font-size: 20px; }
    .arrow-nav { margin-bottom: 22px; }

    /* 16px prevents iOS auto-zoom on input focus */
    .field input,
    .field select,
    .field textarea { font-size: 16px; }

    .btn-action-next,
    .btn-submit { width: 100%; justify-content: center; }

    .step-actions { flex-direction: column-reverse; gap: 12px; }
    .btn-action-back { width: 100%; text-align: center; }

    .submit-row { flex-direction: column-reverse; gap: 12px; }
}

/* ────────────────────────────────────────────────────────
   EYE TOGGLE (show/hide sensitive fields)
   ──────────────────────────────────────────────────────── */
.has-eye-toggle { position: relative; }
.has-eye-toggle input { padding-right: 40px; }
.eye-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    display: flex;
    align-items: center;
    line-height: 1;
    transition: color .15s;
    border-radius: 6px;
}
.eye-toggle:hover { color: #475569; }

/* Sidebar checkmark — completed bubble (override font size for ✓) */
.step-nav-item.complete .step-nav-bubble {
    font-size: 16px;
}

/* ────────────────────────────────────────────────────────
   INDUSTRY SELECT — custom combobox
   ──────────────────────────────────────────────────────── */
.industry-select { position: relative; }

.industry-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
    user-select: none;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.industry-trigger.has-value { color: #0f172a; }
.industry-trigger:hover     { border-color: #cbd5e1; }
.industry-trigger:focus,
.industry-trigger:focus-visible {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}
.industry-trigger.error {
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, .12) !important;
}
.industry-chevron {
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
    flex-shrink: 0;
}

.industry-panel {
    display: none;
    position: absolute;
    z-index: 500;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12),
                0 2px 6px rgba(15, 23, 42, .04);
    overflow: hidden;
    flex-direction: column;
}
.industry-panel.open { display: flex; }

.industry-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    background: #f8fafc;
}
.industry-search-icon { width: 16px; height: 16px; flex-shrink: 0; }
.industry-search-box {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: #0f172a;
    background: transparent;
    font-family: inherit;
}
.industry-search-box::placeholder { color: #94a3b8; }

.industry-list { overflow-y: auto; max-height: 340px; }

.icat-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    user-select: none;
    transition: background .12s;
}
.icat-hdr:hover { background: #f1f5f9; }
.icat-chevron   { font-size: 14px; color: #94a3b8; }
.icat-items     { display: none; }
.icat-items.open{ display: block; }

.icat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f8fafc;
    transition: background .12s;
}
.icat-row:hover    { background: #f0f9ff; }
.icat-row.selected {
    background: #e0f2fe;
    color: #0c4a6e;
}
.icat-code {
    flex-shrink: 0;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 11px;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 7px;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}
.icat-label { color: #0f172a; line-height: 1.4; }
.icat-empty {
    padding: 24px 14px;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
}

/* ────────────────────────────────────────────────────────
   LEGACY NOTICE/CHECKBOX HELPERS (kept for any existing usage)
   ──────────────────────────────────────────────────────── */
.notice-badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}
.checkbox-label input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #0ea5e9;
    flex-shrink: 0;
}
.captcha-row { padding: 14px 0 6px; }
