/*=====================================================
ELIGIBILITY MODAL
======================================================*/

#eligibilityModal .modal-content {
    border: none;
    border-radius: clamp(20px, 3vw, 30px);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 35px 90px rgba(11,37,69,.18);
}

#eligibilityModal .modal-header {
    padding: clamp(18px, 3vw, 28px) clamp(20px, 4vw, 40px);
    border-bottom: 1px solid #edf2f7;
    background: #fff;
}

#eligibilityModal .modal-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--primary);
}

#eligibilityModal .btn-close {
    font-size: 18px;
    box-shadow: none;
    opacity: .7;
}

#eligibilityModal .btn-close:hover {
    opacity: 1;
}

#eligibilityModal .modal-body {
    padding: clamp(20px, 4vw, 45px);
    background: #fff;
}

/*=====================================================
STEP WRAPPER & PROGRESS BAR
======================================================*/

.loan-step {
    display: none;
}

.loan-step.active {
    display: block;
    animation: stepFade .45s ease;
}

@keyframes stepFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loan-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(35px, 5vw, 55px);
}

.loan-progress::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e8edf4;
    border-radius: 50px;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 50px;
    width: 33%;
    transition: .4s;
}

.progress-step {
    position: relative;
    z-index: 2;
    width: clamp(38px, 4.5vw, 48px);
    height: clamp(38px, 4.5vw, 48px);
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d9e2ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(13px, 1.2vw, 16px);
    color: var(--gray-500);
    transition: .35s;
}

.progress-step.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    box-shadow: 0 12px 25px rgba(229,152,25,.28);
}

.progress-step.completed {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

/*=====================================================
STEP HEADER & FORM
======================================================*/

.step-header {
    text-align: center;
    margin-bottom: clamp(25px, 4vw, 45px);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    margin-bottom: 20px;
}

.step-header h2 {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}

.step-header p {
    max-width: 650px;
    margin: auto;
    font-size: clamp(14px, 1.2vw, 17px);
    color: #64748b;
    line-height: 1.8;
}

.loan-form {
    max-width: 900px;
    margin: auto;
}

.loan-form label {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 700;
    color: var(--primary);
}

.loan-form label span {
    color: #ef4444;
}

.loan-input {
    width: 100%;
    height: clamp(50px, 5vw, 60px);
    border-radius: 18px;
    border: 2px solid #e7edf4;
    background: #fff;
    padding: 0 22px;
    font-size: clamp(14px, 1.1vw, 16px);
    transition: .35s;
}

.loan-input:hover {
    border-color: #cfd9e5;
}

.loan-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 5px rgba(229,152,25,.12);
    outline: none;
}

textarea.loan-input {
    height: 130px;
    padding: 18px 22px;
}

/*=====================================================
STEP FOOTER & RADIO BUTTONS
======================================================*/

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(30px, 5vw, 55px);
    padding-top: 25px;
    border-top: 1px solid #edf2f7;
    gap: 15px;
}

.step-footer .btn {
    min-width: clamp(140px, 18vw, 190px);
    height: clamp(48px, 5vw, 58px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 700;
    transition: .35s;
}

.step-footer .btn-outline-premium {
    background: #fff;
    border: 2px solid #d9e2ec;
    color: var(--primary);
}

.step-footer .btn-outline-premium:hover {
    background: #f8fafc;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.step-footer .btn-premium {
    background: var(--gradient-gold);
    color: #fff;
    border: none;
    box-shadow: 0 18px 35px rgba(229,152,25,.25);
}

.step-footer .btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 50px rgba(229,152,25,.32);
}

.step-content {
    max-width: 900px;
    margin: auto;
}

.step-content .row {
    row-gap: clamp(18px, 2.5vw, 28px);
}

.form-note {
    display: block;
    margin-top: 10px;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--gray-500);
    line-height: 1.6;
}

select.loan-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5 8 12l6.5-6.5' stroke='%2364748b' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center;
    padding-right: 55px;
}

.loan-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.loan-radio {
    flex: 1;
    min-width: min(100%, 200px);
}

.loan-radio input {
    display: none;
}

.loan-radio span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: clamp(56px, 6vw, 70px);
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: .35s;
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 700;
    color: var(--primary);
    padding: 0 10px;
}

.loan-radio span i {
    font-size: clamp(18px, 2vw, 22px);
}

.loan-radio:hover span {
    border-color: var(--secondary);
}

.loan-radio input:checked + span {
    background: var(--secondary-light);
    border-color: var(--secondary);
    color: var(--secondary-dark);
    box-shadow: 0 18px 35px rgba(229,152,25,.18);
}

#coApplicantFields {
    display: none;
    margin-top: 35px;
    padding: clamp(20px, 3vw, 30px);
    background: #ffffff;
    border: 2px solid #edf2f7;
    border-radius: 24px;
    animation: fadeCard .35s ease;
}

@keyframes fadeCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*=====================================================
INFO BOXES & INPUT GROUPS
======================================================*/

.wizard-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: clamp(25px, 4vw, 45px);
}

.info-box {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 22px;
    padding: clamp(20px, 2.5vw, 28px) clamp(16px, 2vw, 24px);
    transition: .35s;
    text-align: center;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(11,37,69,.08);
}

.info-box i {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: var(--secondary-light);
    color: var(--secondary);
    font-size: 22px;
}

.info-box h5 {
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-box p {
    margin: 0;
    color: var(--gray-600);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.6;
}

.loan-group {
    position: relative;
}

.loan-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-size: 18px;
}

.loan-group .loan-input {
    padding-left: 52px;
}

.section-divider {
    margin: clamp(25px, 4vw, 45px) 0;
    border-top: 1px dashed #dbe4ee;
}

/*=====================================================
STEP 4 : ELIGIBILITY PREVIEW
======================================================*/

.preview-wrapper {
    max-width: 980px;
    margin: auto;
}

.preview-header {
    text-align: center;
    margin-bottom: clamp(25px, 4vw, 45px);
}

.preview-icon {
    width: clamp(70px, 8vw, 95px);
    height: clamp(70px, 8vw, 95px);
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#fff8e6,#fff2cc);
    border: 2px solid rgba(229,152,25,.25);
}

.preview-icon i {
    font-size: clamp(30px, 4vw, 42px);
    color: var(--secondary);
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: clamp(12px, 1vw, 14px);
    margin-bottom: 18px;
}

.preview-header h2 {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.preview-header p {
    max-width: 760px;
    margin: auto;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: clamp(14px, 1.2vw, 17px);
}

.profile-result {
    background: linear-gradient(135deg,#ffffff,#fffdf8);
    border: 1px solid rgba(229,152,25,.20);
    border-radius: 26px;
    padding: clamp(20px, 3.5vw, 35px);
    margin-bottom: 35px;
    box-shadow: 0 20px 50px rgba(11,37,69,.06);
}

.profile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-status-icon {
    width: clamp(58px, 6vw, 75px);
    height: clamp(58px, 6vw, 75px);
    border-radius: 20px;
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-status-icon i {
    font-size: clamp(26px, 3vw, 34px);
    color: var(--secondary);
}

.profile-status h3 {
    margin: 0;
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--primary);
    font-weight: 800;
}

.profile-status span {
    display: block;
    color: var(--gray-600);
    margin-top: 6px;
    font-size: clamp(13px, 1.1vw, 15px);
}

.profile-score {
    text-align: center;
}

.profile-score h4 {
    margin-bottom: 10px;
    color: var(--gray-500);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-circle {
    width: clamp(75px, 8vw, 95px);
    height: clamp(75px, 8vw, 95px);
    border-radius: 50%;
    background: linear-gradient(135deg,#22c55e,#16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(15px, 2vw, 22px);
}

.summary-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 22px;
    padding: clamp(18px, 2.5vw, 24px);
    transition: .35s;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11,37,69,.08);
}

.summary-card small {
    display: block;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-size: 12px;
}

.summary-card strong {
    display: block;
    color: var(--primary);
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 700;
}

.summary-card i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 15px;
}

.recommendation-box {
    margin-top: 35px;
    background: linear-gradient(135deg,#f8fbff,#ffffff);
    border-left: 6px solid var(--secondary);
    border-radius: 22px;
    padding: clamp(20px, 3vw, 28px);
}

.recommendation-box h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
}

.recommendation-box ul {
    margin: 0;
    padding-left: 20px;
}

.recommendation-box li {
    margin-bottom: 12px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: clamp(14px, 1.1vw, 16px);
}

.preview-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: clamp(30px, 4vw, 45px);
}

/*=====================================================
PREVIEW ACTIONS
======================================================*/
.preview-actions .btn {
  min-width: 240px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.preview-actions .btn-premium {
  background: var(--gradient-gold);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-hover);
}

.preview-actions .btn-outline-premium {
  border: 2px solid var(--gray-200);
  background: #fff;
  color: var(--primary);
}

/*=====================================================
STEP 5 : SUCCESS SCREEN
======================================================*/
#step5 {
  padding: 20px 0;
}

.success-wrapper {
  max-width: 980px;
  margin: auto;
  text-align: center;
}

/*=====================================================
SUCCESS ICON
======================================================*/
.success-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fff5, #d9fbe7);
  border: 5px solid rgba(34, 197, 94, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(34, 197, 94, 0.18);
}

.success-icon i {
  font-size: 56px;
  color: #16a34a;
}

/*=====================================================
SUCCESS TEXT
======================================================*/
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-weight: 700;
  margin-bottom: 20px;
}

.success-wrapper h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.2;
}

.success-wrapper p {
  max-width: 760px;
  margin: auto;
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 50px;
}

/*=====================================================
APPLICATION SUMMARY
======================================================*/
.submission-summary {
  background: #fff;
  border-radius: 26px;
  border: 1px solid #edf2f7;
  box-shadow: 0 25px 55px rgba(11, 37, 69, 0.08);
  padding: 35px;
  margin-bottom: 50px;
}

.summary-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.summary-item {
  background: #f8fafc;
  border-radius: 18px;
  padding: 22px;
  text-align: left;
  border: 1px solid #edf2f7;
}

.summary-item span {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.summary-item strong {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

/*=====================================================
NEXT STEPS
======================================================*/
.next-steps {
  margin-bottom: 55px;
}

.next-steps h3 {
  font-size: 28px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 35px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-box {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 22px;
  padding: 28px;
  transition: all 0.35s ease;
}

.step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.08);
}

.step-box i {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.step-box h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-box p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.7;
}

/*=====================================================
ACTION BUTTONS
======================================================*/
.success-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.success-buttons .btn {
  min-width: 260px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.35s ease;
}

.success-buttons .btn-premium {
  background: var(--gradient-gold);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-hover);
}

.success-buttons .btn-premium:hover {
  transform: translateY(-4px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
}

.btn-whatsapp:hover {
  background: #1ebd5a;
  color: #fff;
  transform: translateY(-4px);
}

/*=====================================================
SECURITY NOTE
======================================================*/
.security-note {
  margin-top: 35px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 22px;
  color: var(--gray-600);
  line-height: 1.8;
}

.security-note i {
  color: #16a34a;
  margin-right: 8px;
}

/*=====================================================
PREMIUM FINISH & MODAL
======================================================*/
#eligibilityModal .modal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* Firefox standard scrollbar properties */
#eligibilityModal .modal-body {
  scrollbar-width: thin;
  scrollbar-color: #f5b74b #f1f5f9;
}

/* Webkit scrollbar properties */
#eligibilityModal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#eligibilityModal .modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 20px;
}

#eligibilityModal .modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f5b74b, #e59819);
  border-radius: 20px;
}

#eligibilityModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #d88d0b;
}


/*=====================================================
CARD HOVER
======================================================*/

.info-box,
.summary-card,
.summary-item,
.step-box{

transition:.4s cubic-bezier(.16,1,.3,1);

}

.info-box:hover,
.summary-card:hover,
.summary-item:hover,
.step-box:hover{
transform:translateY(-8px);
box-shadow:0 25px 60px rgba(11,37,69,.12);
}

/*=====================================================
INPUT ICON ANIMATION
======================================================*/

.loan-group i{
transition:.3s;
}

.loan-group:focus-within i{
color:var(--secondary);
transform:translateY(-50%) scale(1.15);
}

/*=====================================================
BUTTON RIPPLE
======================================================*/

.btn{
position:relative;
overflow:hidden;
}

.btn::after{
content:"";
position:absolute;
width:0;
height:0;
border-radius:50%;
background:rgba(255,255,255,.35);
transform:translate(-50%,-50%);
transition:.6s;
left:50%;
top:50%;
}

.btn:active::after{
width:420px;
height:420px;
}

/*=====================================================
FLOATING ANIMATION
======================================================*/

.success-icon{
animation:floatSuccess 3s ease-in-out infinite;
}

@keyframes floatSuccess{

0%,100%{
transform:translateY(0);
}

50%{
transform:translateY(-8px);
}

}

/*=====================================================
PULSE
======================================================*/

.score-circle{
animation:pulseScore 2s infinite;
}

@keyframes pulseScore{

0%{
box-shadow:0 0 0 0 rgba(34,197,94,.35);
}
70%{
box-shadow:0 0 0 18px rgba(34,197,94,0);
}
100%{
box-shadow:0 0 0 0 rgba(34,197,94,0);
}

}

/*=====================================================
SUCCESS ICON
======================================================*/

.success-icon::before{
content:"";
position:absolute;
width:150px;
height:150px;
border-radius:50%;
border:2px dashed rgba(34,197,94,.18);
animation:rotateRing 18s linear infinite;
}

@keyframes rotateRing{
from{
transform:rotate(0deg);
}
to{
transform:rotate(360deg);
}

}

/*=====================================================
SHAKE VALIDATION
======================================================*/

.input-error{
border-color:#ef4444 !important;
animation:shakeField .4s;
}

@keyframes shakeField{

20%{
transform:translateX(-5px);
}

40%{
transform:translateX(5px);
}

60%{
transform:translateX(-5px);
}

80%{
transform:translateX(5px);
}

}

/*=====================================================
LOADING BUTTON
======================================================*/

.btn-loading{

pointer-events:none;
opacity:.8;

}

.btn-loading::before{

content:"";
width:18px;
height:18px;
margin-right:10px;
border-radius:50%;
border:2px solid rgba(255,255,255,.45);
border-top-color:#fff;
display:inline-block;
animation:spinLoader .8s linear infinite;
}

@keyframes spinLoader{

to{
transform:rotate(360deg);
}

}

/*=====================================================
SKELETON
======================================================*/

.skeleton{

position:relative;
overflow:hidden;
background:#edf2f7;
}

.skeleton::after{

content:"";
position:absolute;
left:-150px;
top:0;
width:150px;
height:100%;
background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);
animation:skeletonMove 1.4s infinite;
}

@keyframes skeletonMove{
100%{
left:100%;
}

}

/*=====================================================
GRADIENT TEXT
======================================================*/

.gradient-text{
background:linear-gradient(135deg,#0b2545,#e59819);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

/*=====================================================
SECTION ENTRY
======================================================*/

.loan-step.active{
animation:stepReveal .45s cubic-bezier(.16,1,.3,1);
}

@keyframes stepReveal{

from{
opacity:0;
transform:translateY(25px);
}
to{
opacity:1;
transform:none;
}

}

/*=====================================================
PREMIUM FINISH & MODAL
======================================================*/

#eligibilityModal .modal-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}


/*=====================================================
MODAL SCROLLBAR
======================================================*/

#eligibilityModal .modal-body {
    scrollbar-width: thin;
    scrollbar-color: #f5b74b #f1f5f9;
}

#eligibilityModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#eligibilityModal .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 20px;
}

#eligibilityModal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #f5b74b,
        #e59819
    );

    border-radius: 20px;
}

#eligibilityModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #d88d0b;
}


/*=====================================================
BOOTSTRAP MODAL — STACKING FIX
======================================================*/

/* BACKDROP */

.modal-backdrop {
    z-index: 1050 !important;
}

.modal-backdrop.show {
    opacity: .72 !important;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}


/* MODAL */

#eligibilityModal {
    z-index: 1060 !important;
}


/* DIALOG */

#eligibilityModal .modal-dialog {
    position: relative;
    z-index: 1061 !important;
}


/* CONTENT */

#eligibilityModal .modal-content {
    position: relative;
    z-index: 1062 !important;
    background: #fff;
}