:root {
    /* --bg: #eef3ff; */
    --card: rgba(255, 255, 255, 0.85);
    --stroke: rgba(15, 23, 42, 0.12);
    --good: #16a34a;
    --shadow: 0 18px 55px rgba(2, 8, 23, 0.12);
    --shadow2: 0 10px 30px rgba(2, 8, 23, 0.10);
}



.page {
    width: 100%;
    margin: 0 auto;
    padding: 28px 18px 90px;
    position: relative;
    background:
        radial-gradient(1400px 650px at 50% 18%, rgba(10, 46, 144, 0.26), transparent 65%),
        radial-gradient(700px 480px at 35% 48%, rgba(12, 50, 155, 0.22), transparent 58%),
        radial-gradient(700px 480px at 65% 48%, rgba(11, 50, 155, 0.22), transparent 58%),
        radial-gradient(900px 600px at 50% 75%, rgba(5, 47, 164, 0.16), transparent 65%),
        linear-gradient(180deg, #f3f6ff 0%, #f8faff 55%, #fefefe 100%);
}

.page::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            #fefefe 100%);
}
#sig {
  touch-action: none;
}
.shell {
    border-radius: 26px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    width: 70%;
    position: relative;
    margin: 0 auto;
    margin-top: 40px;
    width: 60%;
}

@media (max-width: 999px) {
    .shell {
        width: 100%;
    }
}


@media (min-width: 1000px) and (max-width: 1399px) {
    .shell {
        width: 90%;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .shell {
        max-width: 85%;
        width: 100%;
    }
}





.grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.left,
.right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.left>.card,
.right>.card {
    flex: 1;
}



.card {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: var(--shadow2);
    overflow: hidden;
}

.card .hd {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.card .hd .h {
    font-weight: 850;
    color: rgba(15, 23, 42, 0.88);
    letter-spacing: -0.01em;
    font-size: 16px;
}

.card .hd1 {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    justify-content: left;
    padding-left: 10px;
    padding-top: 20px;
    margin-top: 20px;
    text-align: left;
    color: var(--primaryColor);
    display: flex;
    font-weight: 600;

}

.card .hd {
    display: flex;
    justify-content: center;
}

.h {
    text-align: center;
}

.card .bd {
    padding: 18px;
}

.section {
    display: grid;
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 12px;
}

label {
    display: block;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.72);
    margin-bottom: 3px;
    padding-left: 10px;
    padding-top: 10px;
}

.field {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
    transition: box-shadow 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.field {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23666' stroke-width='2'><polyline points='6,8 10,12 14,8'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
}
.field:focus {
    border-color: rgba(29, 78, 216, 0.45);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.hint {
    font-size: 12px;
    color: rgba(15, 23, 42, 0.65);
}

.hintdoc {
    font-size: 12px;
    color: rgba(15, 23, 42, 0.65);
    margin-top: 5px !important;
    padding-bottom: 20px;
    padding-left: 10px;
    text-align: center;

}

.banner {
    margin-top: 15px;
    border-radius: 8px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(186, 202, 245, 0.1), rgba(171, 170, 169, 0.1));
    color: rgba(15, 23, 42, 0.75);
    font-weight: 650;
    display: flex;
    gap: 10px;
    align-items: center;
}



.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.75);
    color: rgba(15, 23, 42, 0.85);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.08);
    min-width: 140px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0px);
    box-shadow: 0 7px 18px rgba(2, 8, 23, 0.08);
}

.btn.primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 16px 34px rgba(29, 78, 216, 0.28);
}

.btn.primary:hover {
    box-shadow: 0 18px 40px rgba(29, 78, 216, 0.33);
}

.btn.full {
    width: 100%;
    min-width: unset;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tab {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 850;
    color: rgba(15, 23, 42, 0.80);
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.10);
}

.tab.active {
    border-color: rgba(29, 78, 216, 0.45);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10), 0 14px 30px rgba(2, 8, 23, 0.10);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.10), rgba(255, 255, 255, 0.85));
}

.tab .ico {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(29, 78, 216, 0.12);
    color: rgba(29, 78, 216, 0.95);
    font-weight: 900;
}

#cuiName {
    text-align: center;
    width: 100%;
}

/* =========================
   UPLOAD LAYOUT
========================= */

.uploadRow {
    width: 100%;
}

.pfDocs,
.pjDocs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

/* Mobile stack */
@media (max-width: 768px) {

    .pfDocs,
    .pjDocs {
        grid-template-columns: 1fr;
    }
}
.pfDocs > div,
.pjDocs > div {
    min-width: 0;
}
/* =========================
UPLOAD GRID
========================= */

.pfDocs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width:768px) {
    .pfDocs {
        grid-template-columns: 1fr;
    }
}

.pfDocs {
    align-items: stretch;
}

.pfDocs>div {
    display: flex;
}

.idZone,
.selfieZone {
    flex: 1;
    display: flex;
}

.idZone .dropzone,
.selfieZone .dropzone {
    flex: 1;
}

/* =========================
DROPZONE BASE
========================= */

.dropzone {
    width: 100%;
    min-height: 260px;
    border: 1.5px dashed rgba(15, 23, 42, .22);
    background: rgba(255, 255, 255, .62);
    border-radius: 18px;

    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;

    transition: border-color .14s ease,
        box-shadow .14s ease,
        transform .14s ease,
        background .14s ease;
}

.dropzone.drag {
    border-color: rgba(29, 78, 216, .65);
    box-shadow: 0 0 0 5px rgba(29, 78, 216, .10);
    background: rgba(29, 78, 216, .06);
    transform: translateY(-1px);
}

/* =========================
IMAGE FIRST
========================= */

.dz-watermark {
    width: 160px;
    opacity: .45;
    pointer-events: none;
    user-select: none;
}

/* =========================
TEXT BELOW IMAGE
========================= */

.dz-overlay {
    text-align: center;
}

.dz-title {
    font-weight: 900;
    font-size: 16px;
    margin-top: 6px;
}

.dz-sub {
    font-size: 12px;
    color: rgba(15, 23, 42, .65);
}

/* =========================
FILES
========================= */

.filelist {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.fileitem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .75);
}

.fileitem .name {
    font-weight: 800;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fileitem .meta {
    font-size: 12px;
    color: rgba(15, 23, 42, .6);
}

.x {
    border: none;
    background: rgba(15, 23, 42, .06);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 950;
}


.x {
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.80);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 950;
}


.x {
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.80);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 950;
}

.pillrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pill {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    font-weight: 900;
    text-align: center;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.10);
}

.checkline {
    cursor: pointer;
}

.priorityBox {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px 14px 0px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .75);
    cursor: pointer;
    transition: .15s ease;
}

.priorityBox:hover {
    box-shadow: 0 12px 30px rgba(2, 8, 23, .08);
    transform: translateY(-1px);
}

.priorityBox input {
    width: 20px;
    height: 20px;
}

.priorityContent {
    flex: 1;
}

.priorityTitle {
    font-weight: 900;
}

.prioritySub {
    font-size: 12px;
    color: rgba(15, 23, 42, .65);
}

.priorityBadge {
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 10px;
    background: #1475dc;
    color: white;
}


.pill.active {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #1475dc, var(--primaryColor));
    box-shadow: 0 1px 4px rgba(29, 78, 216, 0.28);
}

.billingWrap {
    padding: 10px 12px 14px 0px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .70);
    margin-top: 15px;
}

.contractLine {
    cursor: pointer;

}

.billingWrap .checkline {
    border: none;
    padding: 0;
    background: transparent;
}

#billingBox {
    margin-top: 12px;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.70);
    margin-top: 10px;
}

.checkline input {
    width: 18px;
    height: 18px;
}

.checkline .t {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.82);
    
}

.sigbox {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 14px;
}

canvas#sig {
    width: 100%;
    height: 120px;
    display: block;
    touch-action: none;
}


.canvaswrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: white;
}

canvas {
    width: 100%;
    height: 100px;
    display: block;
}

.sigactions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.mini {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.84);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
}

.summary {
    position: sticky;
    top: 16px;
}

.right .card.summary .bd {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.right .card.summary .trust {
    margin-top: auto;
    margin-bottom: 20px !important;
}

.summary {
    display: flex;
    flex-direction: column;
}

.summary .trust {
    margin-top: auto;
}

.left .card {
    display: flex;
    flex-direction: column;
}
.bottomBlock {
  margin-top: auto;
}
.left .card .bd {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.leftBottom {
    margin-top: auto;
}

.checkoutWrap {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .75);
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.checkoutSummary {
    display: grid;
    gap: 8px;
}

.csRow {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 13px;
}

.csTotal {
    font-size: 15px;
    font-weight: 950;
}

.csDivider {
    border: none;
    height: 1px;
    background: rgba(15, 23, 42, .10);
    margin: 8px 0;
}

.checkoutLine {
    display: flex;
    /* gap:10px; */
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkoutLine input {
    width: 18px;
    height: 18px;
}

.checkoutChecks {
    display: grid;
    margin-top: 10px;
    gap: 5px;
}

.bigPrice{
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.price {
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: right;
    color: rgba(15, 23, 42, 0.75);
}
.section {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.sumrow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.sumrow:first-of-type {
    border-top: none;
    padding-top: 0;
}

.sumrow .k {
    font-size: 12px;
    color: rgba(15, 23, 42, 0.64);
    font-weight: 800;
}

.sumrow .v {
    font-size: 14px;
    color: rgba(15, 23, 42, 0.88);
    font-weight: 900;
    text-align: right;
}

.trust {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #fff;
    display: grid;
    gap: 10px;
}

.trust .t1 {
    font-weight: 950;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    margin-bottom: 10px;
}



.lock {
    position: relative;
    font-size: 38px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: rgba(124, 71, 0, 0.95);
}

.lock::before,
.lock::after {
    content: '';
    position: absolute;
    top: 70%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(203, 203, 203, 0.35), transparent);
    transform: translateY(-50%);
}

.lock::before {
    right: 100%;
    margin-right: 10px;
}

.lock::after {
    left: 100%;
    margin-left: 10px;
}


.checks {
    display: grid;
    gap: 6px;
    justify-content: center;
}

.check {
    display: grid;
    grid-template-columns: 22px auto;
    column-gap: 10px;
    align-items: center;
    font-weight: 800;
    font-size: 13px;
    color: rgba(15, 23, 42, 0.78);
}


.hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .summary {
        position: static;
    }


}

@media (max-width: 640px) {
    .row2 {
        grid-template-columns: 1fr;
    }

    .step-pill span.lbl {
        display: none;
    }

    .shell {
        padding: 18px;
    }

    .page {
        padding: 18px 14px 34px;
    }
}

@media (max-width: 440px) {

    .shell {
        padding: 7px;
    }

    .page {
        padding: 18px 7px 34px;
    }
    .card .bd {
    padding: 10px;
}
.modalCheck.full input {
  padding: 5px 10px;
}
}


/* ==========================
   STEP BAR WRAPPER
=========================== */
.topbar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.flowbar {
    width: 100%;
    max-width: 860px;
    height: 50px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef1f6;
    display: flex;
}

.stepper {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    overflow: hidden;
    font-family: sans-serif;
}

.step {
    position: relative;
    flex: 1;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    /* Centers content horizontally */
    align-items: center;
    /* Centers content vertically */
    gap: 10px;
    height: 100%;
    color: #2d3a8c;
    font-weight: 500;
    text-align: center;
    /* Centers the text */
}

.num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.txt {
    text-align: center;
    /* Ensures text inside .txt is centered */
}


.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -24px !important;
    width: 26px;

    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
}

.step.active {
    background: var(--primaryColor);
    color: white;
}

.step.active .num {
    background: white;
    color: #1475dc;
}

.step.completed {
    background: #1475dc;
    color: white;
}

.step.completed .num {
    background: white;
    color: #1475dc;
}

.stepper.full-blue {
    background: var(--primaryColor);
}

/* This color will show when steps are not active or completed */
.step.inactive {
    background: #eef1f6;
    color: #b1b9cc;
}

.step.inactive .num {
    background: rgba(255, 255, 255, 0.3);
    color: #b1b9cc;
}

/* ==========================
   STEP BAR WRAPPER
=========================== */
.topbar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.flowbar {
    width: 100%;
    max-width: 860px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef1f6;
    display: flex;
}

.stepper {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    overflow: hidden;
    font-family: sans-serif;
    position: relative;
    /* Needed to allow the transition effect on the background */
}

.step {
    position: relative;
    flex: 1;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    /* Centers content horizontally */
    align-items: center;
    /* Centers content vertically */
    gap: 10px;
    height: 100%;
    color: #2d3a8c;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth color transition */
}

.num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
    /* Transition for the number circle */
}

.txt {
    text-align: center;
    /* Ensures text inside .txt is centered */
}

/* Triangle between steps */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -25px;
    width: 25px;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
}

/* Active Step */
.step.active {
    background: var(--primaryColor);
    /* Color when step is active */
    color: white;
}

/* Active Step Number */
.step.active .num {
    background: white;
    color: var(--primaryColor);
}

/* Completed Step */
.step.completed {
    background: #1475dc;
    color: white;
}

/* Completed Step Number */
.step.completed .num {
    background: white;
    color: #1475dc;
}

/* When all steps are completed, full blue bar */
.stepper.full-blue {
    background: var(--primaryColor);
}

/* Inactive Step (default step style) */
.step.inactive {
    background: #eef1f6;
    /* Default inactive background color */
    color: #b1b9cc;
    /* Light color for inactive text */
}

.step.inactive .num {
    background: rgba(255, 255, 255, 0.3);
    color: #b1b9cc;
    /* Light color for inactive number */
}

/* Smooth Transition Effect for Background Color */
.step.inactive,
.step.completed,
.step.active {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.step:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    width: 30px !important;
    height: 1px;
    background: #b1b9cc;
}
@media (max-width: 767px) {
  .stepper .txt {
    font-size: 10px;
  }
  .step:not(:first-child)::before {
    display: none;
  }
}
@media (max-width: 490px) {
  .stepper .txt {
    display: none;
  }
  
}


/* =========================================
   PREMIUM CHECKBOXES – GLOBAL DROP IN
   Works for:
   .checkline
   .checkoutLine
   .contractLine
   .priorityBox
========================================= */
.checkline input[type="checkbox"],
.checkoutLine input[type="checkbox"],
.contractLine input[type="checkbox"],
.priorityBox input[type="checkbox"],
.modalCheck input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 20px;
    height: 20px;
    border-radius: 6px;
    min-width: 20px;     
    min-height: 20px;

    border: 2px solid rgba(15, 23, 42, .25);
    background: white;

    cursor: pointer;
    display: grid;
    place-items: center;
    margin-right: 5px;
    margin-left: 15px;

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .12s ease;
}
@media (max-width: 440px) {

.checkline input[type="checkbox"],
.checkoutLine input[type="checkbox"],
.contractLine input[type="checkbox"],
.priorityBox input[type="checkbox"],
.modalCheck input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 25px;
}
}

/* Hover glow */

.checkline:hover input,
.checkoutLine:hover input,
.contractLine:hover input,
.priorityBox:hover input,
.modalCheck:hover input {
    box-shadow: 0 0 0 4px rgba(1, 88, 180, .12);
}


/* Checked base */

.checkline input:checked,
.checkoutLine input:checked,
.contractLine input:checked,
.priorityBox input:checked,
.modalCheck input:checked {
    background: #0158b4;
    border-color: #0158b4;
    transform: scale(1.08);
}


/* Checkmark */

.checkline input:checked::after,
.checkoutLine input:checked::after,
.contractLine input:checked::after,
.priorityBox input:checked::after,
.modalCheck input:checked::after {
    content: "";
    width: 6px;
    height: 10px;
    margin-top: -5px;

    border: solid white;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg) scale(0);
    animation: checkPop .18s ease forwards;
}


/* Checkmark pop animation */

@keyframes checkPop {
    to {
        transform: rotate(45deg) scale(1);
    }
}


/* Optional success pulse */

.checkline input:checked,
.checkoutLine input:checked,
.contractLine input:checked,
.priorityBox input:checked,
.modalCheck input:checked {
    animation: pulse .35s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 88, 180, .4);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(1, 88, 180, 0);
    }
}


/* Disabled */

.checkline input:disabled,
.checkoutLine input:disabled,
.contractLine input:disabled,
.priorityBox input:disabled,
.modalCheck input:disabled {
    opacity: .45;
    cursor: not-allowed;
}


/* 
.step:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 22px !important;
  pointer-events: none;
  z-index: 6;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 12px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 18'%3E%3Cpath d='M2 0 L14 9 L2 18 M14 9 L30 9' fill='none' stroke='%23b1b9cc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
} */
/* ==========  help hand =========  */

#helperHand {
    position: fixed;
    font-size: 28px;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transform: scale(.5);
    transition:
        top .35s ease,
        left .35s ease,
        opacity .2s ease,
        transform .2s ease;
}

#helperHand.show {
    opacity: 1;
    transform: scale(1);
    animation: handTap .9s ease infinite;
}

@keyframes handTap {
    0% {
        transform: translateX(0) scale(1);
    }

    50% {
        transform: translateX(6px) scale(1.05);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

.contractPulse {
    animation: contractPulse .35s ease;
}

@keyframes contractPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 88, 180, .4);
    }

    100% {
        box-shadow: 0 0 0 6px rgba(1, 88, 180, 0);
    }
}
/* ========= CONTRACT MODAL ======= */

.contractModal {
    position: fixed;
    inset: 0;
    background: rgba(119, 119, 119, 0.96);
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    overscroll-behavior: contain;
}

.contractModal.hidden {
    display: none;
}

/* INNER WRAPPER — NO SCROLL HERE */
.contractModalInner {
    width: 100%;
    max-width: 794px;
    height: 92vh;

    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);

    display: flex;
    flex-direction: column;

    overflow: hidden; /* 🔴 important — prevent body scroll bleed */
}

/* PDF SCROLL CONTAINER */
#contractFrame {
    width: 100%;
    flex: 1;
    min-height: 0;

    overflow-y: auto;                  /* 🔴 scroll here */
    -webkit-overflow-scrolling: touch; /* 🔴 iOS momentum scroll */

    background: white;
}

/* PDF OBJECT fills container */
#contractFrame object {
    width: 100%;
    height: 100%;
    display: block;
}

/* Warning + checkbox area */
.contractWarning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff7e6;
  border: 1px solid #f2c97d;
  color: #7a4a00;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin: 14px;
}

.contractWarning .lock {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.modalCheck.full {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 14px 16px 14px;
}

.modalCheck.full input {
  margin-top: 3px;
}

.contractAttention {
  background: #fff3cd;
  border: 1px solid #f0c36d;
  border-radius: 10px;
  padding: 10px;
}

.contractShake {
  animation: shake .35s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.btnCaz {
    background-color: var(--primaryColor);
    color: var(--bg);
    font-size: 14px;
    font-weight: 650;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 1px 1px 2px #c8c9cc, -1px -1px 2px #ffffff;
    min-width: 200px;
    margin: 0 14px 14px 14px;
    position: sticky;
  bottom: 0;
  z-index: 5;
}


/* ===== MOBILE FIX ===== */
@media (max-width: 820px) {

    .contractModalInner {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }

}

.btnCaz:hover {
    background-color: var(--primaryColorDark);
    color: var(--bg);

}

.canvaswrap {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8faff, #eef3ff);
    border: 2px dashed rgba(1, 89, 180, .35);
    padding: 18px;
    transition: all .25s ease;
}

.canvaswrap.active-signature {
    border: 2px solid #0159b4;
    background: white;
    box-shadow: 0 0 0 4px rgba(1, 89, 180, .08);
}

.canvaswrap canvas {
    width: 100%;
    height: 180px;
    background: transparent;
    display: block;
}

.sig-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
    color: rgba(1, 89, 180, .6);
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
}

.sig-placeholder span {
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    color: rgba(1, 89, 180, .45);
}