:root {
    --bg0: #071425;
    --bg1: #081a2f;
    --border: rgba(255, 255, 255, 0.1);
    --text: rgba(255, 255, 255, 0.88);
    --muted: rgba(255, 255, 255, 0.55);
    --muted2: rgba(255, 255, 255, 0.35);
    --primary: #2d6bff;
    --primary2: #4f8cff;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);

    --bg0: #071425;
    --bg1: #081a2f;
    --text: rgba(255, 255, 255, 0.88);
    --muted: rgba(255, 255, 255, 0.55);
    --muted2: rgba(255, 255, 255, 0.35);
    --primary: #2d6bff;
    --primary2: #4f8cff;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

body {
    min-height: 100vh;
    color: var(--text);
    background: #192335;
    font-family: "Inter", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Inter", sans-serif;
    font-weight: 800;
}

.topbar {
    padding: 18px 0 8px;
    position: sticky;
    top: 0;
    z-index: 8;
    background: #16233b;
    box-shadow: 0px 4px 5.800000190734863px 2px #223d71;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand .logo {
    border-radius: 10px;
}

.stepper-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.step {
    text-align: right;
    font-size: 12px;
    line-height: 1.15;
    color: var(--muted);
    white-space: nowrap;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    user-select: none;
}

.step:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.75);
}

.step.active {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(45, 107, 255, 0.35);
    background: rgba(45, 107, 255, 0.1);
}

.progress-line {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-line > span {
    display: block;
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(45, 107, 255, 0.35);
    transition: width 0.25s ease;
}

.page-title {
    margin: 26px 0 6px;
    font-size: 34px;
    font-weight: 750;
    letter-spacing: 0.2px;
    text-align: center;
}

.page-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 18px;
}

.form-shell {
    max-width: 860px;
    margin: 0 auto 34px;
    padding: 24px;
    border-radius: 18px;
    background: #1b2537;
    border: 1px solid #334155;
    box-shadow: var(--shadow);
    margin-bottom: 100px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin: 8px 0 12px;
    color: rgba(255, 255, 255, 0.92);
}

.badge-step {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #2563eb;
    border: 1px solid #2563eb;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
}

.hint {
    color: var(--muted2);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(45, 107, 255, 0.7) !important;
    box-shadow: 0 0 0 0.22rem rgba(45, 107, 255, 0.18) !important;
}

/* ===== % INSIDE INPUT (not input-group) ===== */
.percent-wrap {
    position: relative;
}

.percent-wrap input {
    padding-right: 34px !important;
}

.percent-wrap .percent-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    pointer-events: none;
}

.toggle-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toggle-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    padding: 15px 16px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    min-width: 175px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.toggle-btn.active {
    background: rgba(45, 107, 255, 0.22);
    border-color: rgba(45, 107, 255, 0.55);
    color: rgba(255, 255, 255, 0.92);
}

.owner-rows {
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    padding: 14px;
    background: rgba(0, 0, 0, 0.1);
}

.owner-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.owner-row:last-child {
    border-bottom: 0;
}

.btn-add {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(45, 107, 255, 0.55);
    background: rgba(45, 107, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    transition: all 0.15s ease;
}

.btn-add:hover {
    background: rgba(45, 107, 255, 0.28);
    transform: translateY(-1px);
}

.btn-outline-darkish {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 10px 18px;
}

.btn-outline-darkish:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

.footer-mini {
    text-align: center;
    color: var(--muted2);
    font-size: 12px;
    margin-top: 16px;
}

.step-page {
    display: none;
}

.step-page.active {
    display: block;
}

/* FIX SELECT DROPDOWN VISIBILITY */
.form-select {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.form-select option {
    background: #081a2f !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ✅ Bottom nav like screenshot */
.wiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 35px !important;
}

.btn-prev-like {
    min-width: 150px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-prev-like:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    transform: translateY(-1px);
}

.btn-next-like {
    min-width: 260px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, var(--primary), var(--primary2));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 35px rgba(45, 107, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-next-like:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* step3-code */

.page-title {
    margin: 45px 0 6px;
    font-size: 34px;
    font-weight: 750;
    letter-spacing: 0.2px;
    text-align: center;
}

.page-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 18px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.35;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin: 6px 0 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 22px;
}

.form-label {
    font-size: 15px;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 12px 12px;
    box-shadow: none !important;
    height: 53px;
    font-size: 13px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(45, 107, 255, 0.7) !important;
    box-shadow: 0 0 0 0.22rem rgba(45, 107, 255, 0.18) !important;
}

textarea.form-control {
    height: 84px;
    resize: none;
}

/* radio cards (screenshot style) */
.radio-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.radio-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    min-height: 40px;
}

.radio-card .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.22);
    flex: 0 0 auto;
}

.radio-card.active {
    border-color: rgba(45, 107, 255, 0.55);
    color: rgba(255, 255, 255, 0.92);
}

.radio-card.active .dot {
    border-color: rgba(45, 107, 255, 0.7);
    background: rgba(45, 107, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(45, 107, 255, 0.14);
}

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

/* bottom buttons like screenshot */
.wiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.btn-prev-like {
    min-width: 150px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-prev-like:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    transform: translateY(-1px);
}

.btn-next-like {
    min-width: 240px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, var(--primary), var(--primary2));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 35px rgba(45, 107, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-next-like:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Legal Entity buttons like screenshot */
.entity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.entity-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    min-height: 53px;
    justify-content: flex-start;
}

.entity-btn .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.22);
    flex: 0 0 auto;
}

.entity-btn.active {
    border-color: #3b82f6;
    color: rgba(255, 255, 255, 0.92);
}

.entity-btn.active .dot {
    border-color: #64748b;
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(45, 107, 255, 0.14);
}

/* bottom buttons like screenshot */
.wiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.btn-prev-like {
    min-width: 150px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-prev-like:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    transform: translateY(-1px);
}

.btn-next-like {
    min-width: 240px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, var(--primary), var(--primary2));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 35px rgba(45, 107, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-next-like:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.help-card {
    margin-top: 18px;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
}

.help-card b {
    color: rgba(255, 255, 255, 0.92);
}

.help-card a {
    color: rgba(79, 140, 255, 0.95);
    text-decoration: none;
}

/* step3-code-end */
/* step3-calendar-start */
/* ✅ Calendar input icon + proper spacing */
.input-icon {
    position: relative;
}

.input-icon .bi {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    font-size: 14px;
}

/* ✅ Make date picker icon visible in dark UI (Chrome/Edge) */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.85;
    cursor: pointer;
}

/* step3-calendar-end */
/* step-buisness-info-start */

/* ✅ Legal & Compliance row (3 cards in one line) */
.lc-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.lc-card {
    border-radius: 10px;
    padding: 14px;
}

.lc-card .form-label {
    margin-bottom: 8px;
    display: block;
}

/* ✅ Make select look like screenshot + visible options */
.lc-card .form-select {
    height: 44px;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 10px 12px !important;
    text-align: center;
}

.lc-card .form-select option {
    background: #081a2f !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* step-buisness-info-end */

/* consenet-form-start */

/* ===== STEP 4 Consent UI ===== */
.consent-title {
    margin: 18px 0 6px;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
}

.consent-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    margin-bottom: 14px;
}

.consent-sec-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
}

.consent-box {
    margin-top: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    padding: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.5;
}

.consent-list {
    padding-left: 18px;
    margin: 8px 0 0;
}

.consent-list li {
    margin-bottom: 8px;
}

.upload-list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.dropzone {
    margin-top: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    padding: 16px;
}

.dropzone.is-dragover {
    border-color: rgba(79, 140, 255, 0.95);
    background: rgba(45, 107, 255, 0.1);
}

.dz-inner {
    text-align: center;
}

.dz-title {
    font-weight: 800;
}

.dz-sub {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.dz-btn {
    margin-top: 10px;
    min-width: 220px;
}

/* ✅ previews inside dropzone (responsive + inside box) */
.dropzone .dz-preview {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    /* ✅ box ke andar limited height */
    max-height: 260px;
    overflow: auto;
    padding: 2px;
}

.dz-thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
    position: relative;
}

.dz-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.dz-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.note-text {
    text-align: center;
    font-size: 11px;
    opacity: 0.7;
}

/* eSign + Submit row */
.consent-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.consent-actions .btn-next-like {
    min-width: 180px;
}

.consent-actions .btn-prev-like {
    min-width: 180px;
}

/* ===== Signature Modal ===== */
.sig-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.sig-modal.open {
    display: block;
}

.sig-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.sig-panel {
    position: relative;
    max-width: 720px;
    margin: 60px auto;
    background: linear-gradient(
        180deg,
        rgba(11, 34, 60, 0.92),
        rgba(10, 31, 56, 0.88)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    padding: 16px;
}

.sig-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.sig-title {
    font-weight: 900;
    font-size: 14px;
}

.sig-sub {
    opacity: 0.75;
    font-size: 12px;
    margin-top: 2px;
}

.sig-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.sig-pad-wrap {
    margin-top: 12px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    overflow: hidden;
}

.sig-canvas {
    width: 100%;
    height: 220px;
    display: block;
    background: #ffffff;
    cursor: crosshair;
}

.sig-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.sig-preview {
    margin-top: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 12px;
}

.sig-preview-title {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.sig-preview img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ===== Thank you screen ===== */
.thankyou-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background:
        radial-gradient(
            900px 600px at 50% 10%,
            rgba(45, 107, 255, 0.18),
            transparent 60%
        ),
        linear-gradient(180deg, #071425, #081a2f);
    display: grid;
    place-items: center;
    padding: 16px;
}

.thankyou-card {
    width: min(560px, 96vw);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 22px;
    text-align: center;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.thankyou-title {
    font-size: 26px;
    font-weight: 900;
}

.thankyou-sub {
    margin-top: 8px;
    opacity: 0.85;
}

/* consent-form-end */

/* thankyyoustart */

.success-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background:
        radial-gradient(
            1200px 700px at 50% 10%,
            rgba(45, 107, 255, 0.18),
            transparent 60%
        ),
        linear-gradient(180deg, #071425, #081a2f);
}

/* top bar */
.success-topbar {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        180deg,
        rgba(7, 20, 37, 0.92),
        rgba(7, 20, 37, 0.65)
    );
}

.success-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(79, 140, 255, 0.95),
        rgba(45, 107, 255, 0.35)
    );
}

.success-center {
    height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* check icon */
.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #4f8cff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* thankyouend */
/* header-code-start */
/* ===== HEADER STEPPER (IMAGE STYLE) ===== */
.lns-steps {
    display: flex;
    gap: 56px;
    align-items: flex-end;
}

.lns-step {
    background: transparent;
    border: 0;
    padding: 6px 6px 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    cursor: pointer;
}

.lns-step-title {
    display: block;
    font-weight: 800;
    font-size: 25px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.9);
}

.lns-step-sub {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: white;
    transition: 0.15s ease;
}

/* underline line */
.lns-step::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 34px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    transform: scaleX(0);
    transform-origin: center;
    transition: 0.15s ease;
}

/* hover shows line + subtext brighter */
.lns-step:hover::after {
    transform: scaleX(1);
}

.lns-step:hover .lns-step-sub {
    color: white;
}

/* active */
.lns-step.active::after {
    transform: scaleX(1);
    background: #3b82f6;
}

.lns-step.active .lns-step-sub {
    color: rgba(79, 140, 255, 0.95);
}

/* responsive */

.header-wrap {
    max-width: 1370px;
    width: 100%;
    margin-left: 60px;
}

/* header-code-end */
/* footer-start */

/* ===== Footer wrapper ===== */
.fa-facebook-f:before,
.fa-facebook:before {
    content: "";
}

.lns-footer.footer-new {
    background: url("img/foot-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: auto;
    background-color: unset;
    border-radius: 60px 60px 0 0;
    /* border-radius:20px; */
    border: unset;
    padding-bottom: 30px;
}

.lns-footer.footer-new {
    position: relative;
}

.pll-60 {
    padding-left: 100px;
}

.foote-wrap {
    max-width: 1270px;
    width: 100%;
}

/* Background image/gradient like screenshot (set your real bg image here) */
.lns-footer__bg {
    /* position:absolute;
        inset:0; */
    background:
        linear-gradient(
            180deg,
            rgba(8, 18, 41, 0.55) 0%,
            rgba(8, 18, 41, 0.75) 50%,
            rgba(8, 18, 41, 0.9) 100%
        ),
        url("img/foot-bg.png") center/cover no-repeat;
    /* background: rgba(8.73, 47.67, 95.63, 0.53);
            border-top-left-radius: 50px;
            border-top-right-radius: 50px;
            /* z-index: 0; */
}

.lns-footer__container {
    z-index: 1;
}

.lns-footer__logo {
    max-width: 150px;
}

/* ===== Your typography rules ===== */
.lns-footer__heading {
    color: #fff;
    font-size: 18px;
    font-family: Liberation Sans;
    font-weight: 900;
    line-height: 28px;
    word-wrap: break-word;
}

.lns-footer__desc {
    color: white;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
    max-width: 340px;
}

.lns-footer__link {
    color: white;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
    text-decoration: none;
}

.lns-footer__link:hover {
    opacity: 0.85;
    color: #9ca3af;
}

/* ===== Social circles ===== */
.lns-social {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background-color: #2d539d;
    border: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0px 0px 80px rgb(39 117 245 / 63%) !important;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.lns-social:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.2);
}

/* ===== Pills (Location/Phone/Email) ===== */
.lns-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 28px;
    background: rgba(26, 31, 53, 0.35);
    /* close to #1A1F3566 feel */
    border: 1px solid rgba(59, 130, 246, 0.2);
    /* close to #3B82F633 */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.foote-wrap .gap-2 {
    gap: 0.7rem !important;
}

.lns-pill__icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: #2d539d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex: 0 0 auto;
    box-shadow:
        0px 0px 80px rgba(59, 130, 246, 0.2),
        0px 0px 40px rgba(59, 130, 246, 0.4) !important;
}

.lns-pill__label {
    color: #6b7280;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 16px;
    word-wrap: break-word;
    margin-bottom: 2px;
}

.lns-pill__value,
.lns-pill__valueLink {
    color: #fff;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
    text-decoration: none;
}

.lns-pill__valueLink:hover {
    opacity: 0.9;
    color: #fff;
}

/* ===== Bottom bar links ===== */
.lns-bottombar {
    min-height: 85px;
    padding: 0 35px;
    border-top: 1px solid rgba(59, 130, 246, 0.18);
    border-top: 1px solid rgba(59, 130, 246, 0.18);
    background: rgba(26, 31, 53, 0.4);
    border-radius: 32px;
    outline: 1px rgba(59, 130, 246, 0.2) solid;
    outline-offset: -1px;
    backdrop-filter: blur(10px);
}

.lns-bottombar__copy {
    color: white;
    font-size: 15px;
    font-family: "Liberation Sans", Arial, sans-serif;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.lns-bottombar__link {
    color: white;
    font-size: 15px;
    font-family: "Liberation Sans", Arial, sans-serif;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
    text-decoration: none;
}

.lns-bottombar__link:hover {
    opacity: 0.85;
    color: #9ca3af;
}

.lns-bottombar__dot {
    color: #60a5fa;
    line-height: 20px;
}

/* ===== Disclaimer bar ===== */
.lns-disclaimer {
    border-radius: 32px;
    background: #1a1f3566;
    border: 1px solid #3b82f633;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.lns-disclaimer__btn {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0 35px;
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.lns-disclaimer__title {
    color: white;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.lns-disclaimer__infoIcon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d539d;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lns-disclaimer__infoIcon i {
    color: white;
    font-size: 12px;
    font-weight: 900;
    line-height: 12px;
}

.lns-disclaimer__chev {
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.2s ease;
}

.lns-disclaimer__chev {
    transition: transform 0.18s ease;
}

.lns-disclaimer__chev.is-open {
    transform: rotate(180deg);
}

.lns-disclaimer__body {
    padding: 0 18px 16px 18px;
}

.lns-disclaimer__body p {
    margin: 0 0 12px 0;
    color: white;
    font-size: 16px;
    font-family: "Liberation Sans", Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
}

body .sk-instagram-feed {
    border: 2px #60a5fa solid !important;
    border-radius: 50px !important;
}

.lns-pill__label {
    color: #6b7280;
    font-size: 12px;
    font-family: "Liberation Sans", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 16px;
    word-wrap: break-word;
    margin-bottom: 2px;
}

.howItWorkSec.cirsec .headingDiv h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #60a5fa;
    border-radius: 12px;
    border: 2px #60a5fa solid;
    padding: 30px 25px;
    line-height: 35px;
}

.mb-45 {
    margin-bottom: 45px;
}

.lns-pill__value,
.lns-pill__valueLink {
    color: #fff;
    font-size: 14px;
    font-family: "Liberation Sans", Arial, sans-serif;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
    text-decoration: none;
}

.loc-wid.lns-pill {
    min-height: 110px;
}

.phn-wid.lns-pill {
    min-height: 106px;
}

.eml-wid.lns-pill {
    min-height: 106px;
}

.lns-footer__container,
.lns-footer .foote-wrap {
    position: relative;
    z-index: 2;
}

.money-wrap {
    position: relative;
}

.money-wrap .money-sign {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(255 255 255 / 58%);
    font-weight: 700;
    pointer-events: none;
}

.money-wrap input.form-control {
    padding-left: 30px;
}

/* Need help line */
.need-help-line {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #687893;
    margin-bottom: 40px;
}

.need-help-email {
    margin-top: 6px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.need-help-email a {
    color: #2563ebc7;
    text-decoration: none;
}

.need-help-email a:hover {
    text-decoration: underline;
}

.help-card.fz .need {
    font-size: 17px;
}

/* $-sign-code-end */

/* ===== Step 3 alignment fixes (Figma) ===== */
/* Make radio rows match Figma alignment */
.radio-row.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.radio-row.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.radio-row.grid-4 .radio-card,
.radio-row.grid-3 .radio-card {
    width: 100%;
    min-height: 53px;
    /* same height as inputs */
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 10px;
}

.radio-row.grid-4 .radio-card .dot,
.radio-row.grid-3 .radio-card .dot {
    width: 14px;
    height: 14px;
}

/* Seasonal: two buttons (no dot) like Figma */
.seg-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.seg-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 800;
    font-size: 13px;
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.seg-btn.active {
    border-color: rgba(45, 107, 255, 0.55);
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767px) {
    .lns-bottombar {
        padding: 18px 20px !important;
    }

    .phn-wid.lns-pill {
        margin-left: 0px !important;
    }

    .eml-wid.lns-pill {
        margin-left: 0px !important;
    }
}

@media (max-width: 768px) {
    .radio-row.grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .radio-row.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .radio-row.grid-3 {
        grid-template-columns: 1fr;
    }
}

.w-54.form-control {
    width: 54%;
}

.form-control.w-50 {
    width: 50%;
}

p.mb-2.docu-gentxt {
    font-size: 17px;
}

ol.consent-list.docu-gentxt li {
    font-size: 15px;
}

label.form-label.upload-gentxt {
    font-size: 17px;
}

/* ===== Mobile stepper & layout fixes (575px to 320px) ===== */
@media (max-width: 575.98px) {
    .topbar {
        position: relative;
        padding: 12px 0 10px;
    }

    .header-wrap {
        max-width: 100%;
        margin-left: 0;
        padding: 0 12px;
        display: block !important;
    }

    .brand {
        justify-content: center;
        margin-bottom: 12px;
    }

    .brand .logo img {
        max-width: 112px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .lns-steps {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        align-items: stretch;
    }

    .lns-step {
        width: 100%;
        min-height: 78px;
        padding: 10px 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.025);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .lns-step::after {
        display: none;
    }

    .lns-step.active {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(59, 130, 246, 0.13);
        box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
    }

    .lns-step-title {
        font-size: 15px;
        line-height: 1;
    }

    .lns-step-sub {
        margin-top: 6px;
        font-size: 10px;
        line-height: 1.25;
        white-space: normal;
        word-break: break-word;
    }

    .page-title {
        margin: 22px 0 8px;
        font-size: 28px;
        line-height: 1.15;
    }

    .page-sub {
        font-size: 14px;
        line-height: 1.45;
        padding: 0 10px;
    }

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .form-shell {
        padding: 18px 14px;
        border-radius: 14px;
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 19px;
    }

    .form-label {
        font-size: 14px;
    }

    .w-54.form-control,
    .form-control.w-50 {
        width: 100%;
    }

    .entity-grid,
    .seg-row,
    .grid-2,
    .lc-row {
        grid-template-columns: 1fr !important;
    }

    .toggle-group {
        display: grid;
        grid-template-columns: 1fr;
    }

    .toggle-btn,
    .entity-btn,
    .seg-btn,
    .radio-row.grid-4 .radio-card,
    .radio-row.grid-3 .radio-card {
        width: 100%;
        min-width: 100%;
    }

    .owner-rows {
        padding: 12px;
    }

    .wiz-actions,
    .consent-actions,
    .sig-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-prev-like,
    .btn-next-like,
    .consent-actions .btn-next-like,
    .consent-actions .btn-prev-like {
        width: 100%;
        min-width: 100%;
    }

    .dropzone {
        padding: 14px;
    }

    .dropzone .dz-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 220px;
    }

    .help-card {
        padding: 14px;
    }

    .sig-panel {
        margin: 20px 12px;
        padding: 14px;
    }

    .sig-canvas {
        height: 180px;
    }

    .need-help-line {
        margin-top: 26px;
        margin-bottom: 26px;
    }
}

@media (max-width: 480px) {
    .lns-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lns-step {
        min-height: 84px;
        padding: 10px 8px;
    }

    .lns-step-title {
        font-size: 18px;
    }

    .lns-step-sub {
        font-size: 11px;
        line-height: 1.3;
    }
}

@media (max-width: 420px) {
    .header-wrap {
        padding: 0 10px;
    }

    .brand .logo img {
        max-width: 105px;
    }

    .lns-steps {
        gap: 8px;
    }

    .lns-step {
        min-height: 82px;
        padding: 10px 6px;
        border-radius: 10px;
    }

    .lns-step-title {
        font-size: 18px;
    }

    .lns-step-sub {
        font-size: 11px;
        line-height: 1.3;
    }

    .page-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 18px;
    }

    .form-shell {
        padding: 16px 12px;
    }

    .form-control,
    .form-select {
        height: 50px;
        font-size: 12px;
    }

    .dropzone .dz-preview {
        grid-template-columns: 1fr;
    }

    .dz-thumb img {
        height: 140px;
    }
}

@media (max-width: 360px) {
    .lns-step-title {
        font-size: 16px;
    }

    .lns-step-sub {
        font-size: 10px;
    }

    .badge-step {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .btn-prev-like,
    .btn-next-like {
        padding: 11px 14px;
        font-size: 14px;
    }
}

.ajax-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 25, 0.82);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ajax-loader-box {
    text-align: center;
    color: #fff;
}

.ajax-loader-box img {
    width: 90px;
    max-width: 100%;
    margin-bottom: 18px;
    animation: pulseLogo 1.3s infinite ease-in-out;
}

.loader-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: #fff;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}

.ajax-loader-box p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

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

@keyframes pulseLogo {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.lns-swal-popup {
    border-radius: 16px !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55) !important;
}

.lns-swal-title {
    font-weight: 800 !important;
    font-size: 24px !important;
}

.lns-swal-text {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 15px !important;
}

.lns-swal-confirm {
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
}

.lns-swal-cancel {
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
}

/* icon ring glow */
.swal2-success,
.swal2-error,
.swal2-warning,
.swal2-info,
.swal2-question {
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.25));
}
