.elementor-3424 .elementor-element.elementor-element-30079ff{--display:flex;}/* Start custom CSS for html, class: .elementor-element-ef775da *//* ================= GLOBAL ================= */
body {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ================= WRAPPER ================= */
.ms-wrapper {
    display:flex;
    justify-content:center;
    padding:60px 15px;
}

/* ================= CARD ================= */
.ms-card {
    width:100%;
    max-width:760px;
    padding:45px;
    border-radius:22px;

    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ================= TITLE ================= */
.ms-card h2 {
    font-size:30px;
    font-weight:700;
    margin-bottom:25px;
    color:#0f172a;
}

/* ================= STEP BAR ================= */
.ms-steps-wrapper {
    display:flex;
    justify-content:center;
    margin-bottom:35px;
}

.ms-steps {
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    max-width:760px;
    position:relative;
}

/* BASE LINE */
.ms-steps::before {
    content:'';
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    height:4px;
    background:#e5e7eb;
    transform:translateY(-50%);
    border-radius:10px;
}

/* ACTIVE LINE */
.ms-steps::after {
    content:'';
    position:absolute;
    top:50%;
    left:0;
    height:4px;
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    transform:translateY(-50%);
    border-radius:10px;
    width: calc(33.33% * var(--step));
    transition:0.4s;
}

/* STEP */
.ms-steps .step {
    width:44px;
    height:44px;
    border-radius:50%;
    background:#fff;
    border:2px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    color:#64748b;
    z-index:2;
    transition:0.3s;
}

/* ACTIVE STEP */
.ms-steps .step.active {
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    border:none;
    box-shadow:0 10px 25px rgba(37,99,235,0.35);
}

/* ================= LABELS ================= */
.ms-labels {
    display:flex;
    justify-content:space-between;
    max-width:760px;
    margin:0 auto 30px;
    font-size:13px;
    color:#94a3b8;
}

.ms-labels span.active {
    color:#2563eb;
    font-weight:600;
}

/* ================= FORM ================= */
.form-step {
    display:none;
    animation:fadeIn 0.4s ease;
}
.form-step.active {
    display:block;
}

/* ================= INPUT ================= */
input {
    width:100%;
    padding:15px;
    margin-bottom:18px;

    border-radius:12px;
    border:1px solid #e5e7eb;
    background:#f9fafb;

    font-size:14px;
    color:#0f172a;

    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    transition:all 0.25s ease;
}

/* ================= FIX DROPDOWN PERFECT ================= */
select {
    width:100%;
    height:52px; /* FIX HEIGHT SAME AS INPUT */
    padding:0 45px 0 15px;

    border-radius:12px;
    border:1px solid #e5e7eb;
    background-color:#f9fafb;

    font-size:14px;
    color:#334155;

    appearance:none !important;
    -webkit-appearance:none !important;
    -moz-appearance:none !important;

    cursor:pointer;

    /* PERFECT ARROW */
    background-image:url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat:no-repeat;
    background-position:right 15px center;
    background-size:18px;

    transition:all 0.25s ease;
}

/* REMOVE EDGE/IE ARROW */
select::-ms-expand {
    display:none;
}

/* FOCUS */
select:focus {
    border-color:#2563eb;
    background-color:#fff;
    box-shadow:
        0 0 0 3px rgba(37,99,235,0.15),
        0 4px 12px rgba(0,0,0,0.05);
    outline:none;
}

/* OPTION STYLE */
select option {
    padding:10px;
}

/* ================= FOCUS ================= */
input:focus, select:focus {
    border-color:#2563eb;
    background:#fff;
    box-shadow:
        0 0 0 3px rgba(37,99,235,0.15),
        0 4px 12px rgba(0,0,0,0.05);
    outline:none;
}

/* ================= PLACEHOLDER ================= */
input::placeholder {
    color:#94a3b8;
}

/* ================= LABEL ================= */
label {
    font-size:13px;
    font-weight:500;
    margin-bottom:6px;
    display:block;
    color:#475569;
}

/* ================= FILE INPUT ================= */
input[type="file"] {
    padding:12px;
    background:#fff;
    border:1px dashed #cbd5f5;
    cursor:pointer;
}

input[type="file"]:hover {
    border-color:#2563eb;
}

/* ================= BUTTON ================= */
button {
    background:linear-gradient(135deg,#2563eb,#1e40af);
    color:#fff;
    border:none;
    padding:14px 28px;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

/* HOVER */
button:hover {
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(37,99,235,0.35);
}

/* ================= BUTTON ROW ================= */
.btn-row {
    display:flex;
    justify-content:space-between;
    margin-top:10px;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {opacity:0; transform:translateY(10px);}
    to {opacity:1; transform:translateY(0);}
}

/* ================= MOBILE ================= */
@media(max-width:600px){
    .ms-card {
        padding:25px;
    }

    .ms-steps .step {
        width:36px;
        height:36px;
        font-size:12px;
    }

    .ms-labels {
        font-size:11px;
    }
}

/* ================= MOBILE PERFECT FIX ================= */
@media(max-width:768px){

    /* CARD */
    .ms-card {
        padding:20px;
        border-radius:16px;
    }

    /* TITLE */
    .ms-card h2 {
        font-size:22px;
    }

    /* INPUT */
    input, select {
        padding:13px;
        font-size:14px;
    }

    /* BUTTON FULL WIDTH */
    .btn-row {
        flex-direction:column;
        gap:10px;
    }

    .btn-row button {
        width:100%;
    }

    /* STEP BAR */
    .ms-steps {
        gap:6px;
    }

    .ms-steps .step {
        width:32px;
        height:32px;
        font-size:12px;
    }

    /* LABELS HIDE (IMPORTANT) */
    .ms-labels {
        display:none;
    }

    /* FILE INPUT */
    input[type="file"] {
        font-size:12px;
        padding:10px;
    }
}

.row{
    display:flex;
    gap:10px;
}

.row input,
.row select{
    flex:1;
}

#spouseBox{
    animation: fadeIn 0.3s ease;
}

/* DATE FIX MOBILE */
input[type="date"] {
    position: relative;
    background: #fff !important;
    color: #111 !important;
}

/* FORCE TEXT VISIBILITY */
input[type="date"]::-webkit-datetime-edit {
    color: #111;
}

/* PLACEHOLDER STYLE */
input[type="date"]:invalid {
    color: #94a3b8;
}

/* CALENDAR ICON FIX */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
}

.loan-box{
    display:none;
    margin-top:15px;
}

.form-disabled{
    opacity:0.5;
    pointer-events:none;
    user-select:none;
}
.doc-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.doc-item{
    background:#fff;
    padding:15px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    box-shadow:0 4px 12px rgba(0,0,0,0.04);
}

.doc-item:hover{
    border-color:#2563eb;
}


.doc-item label{
    font-size:13px;
    margin-bottom:5px;
    color:#444;
}

.file-preview{
    margin-top:8px;
}

.file-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f1f5f9;
    padding:8px;
    margin-top:5px;
    border-radius:8px;
    font-size:13px;
}



.file-item button{
    background:#ef4444;
    color:#fff;
    border:none;
    padding:4px 8px;
    border-radius:5px;
    cursor:pointer;
}/* End custom CSS */