.sc-tool-bg{
    background: #f8fbff;
}

.sc-card{
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(24, 39, 75, 0.08);
    border: 1px solid #edf2f7;
}

.sc-form-card,
.sc-info-card{
    height: 100%;
}

.sc-form-title{
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.sc-help{
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.sc-status{
    display: none;
    margin-top: 18px;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.sc-status-info{
    background: #eef6ff;
    color: #2563eb;
}

.sc-status-success{
    background: #ecfdf3;
    color: #067647;
}

.sc-status-error{
    background: #fef3f2;
    color: #b42318;
}

.sc-note-box{
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.sc-badge{
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.sc-title{
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.sc-subtitle{
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.sc-points{
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.sc-points li{
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #334155;
    line-height: 1.7;
}

.sc-points li:before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 700;
}

.sc-mini-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.sc-mini-item{
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
}

.sc-mini-item h4{
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.sc-mini-item p{
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.sc-supported{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sc-supported span{
    display: inline-block;
    padding: 9px 14px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.sc-section-title{
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #0f172a;
}

.sc-section-text{
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.sc-score-list{
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.sc-score-list li{
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    color: #475569;
    line-height: 1.8;
}

.sc-score-list li:before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.sc-feature-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sc-feature-box{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.sc-feature-box h4{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.sc-feature-box p{
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

/* Modal */
#salaryResultModal{
    z-index: 1060;
}

.sc-modal-content{
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    max-height: 90vh;
}

.sc-modal-header{
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border-bottom: none;
    padding: 22px 26px;
}

.sc-modal-header .modal-title{
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.sc-modal-header .close{
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 30px;
    outline: none;
}

.sc-modal-body{
    padding: 30px 26px;
    background: #f8fafc;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.sc-modal-footer{
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 18px 26px;
}

.sc-result-subtitle{
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.8;
}

.sc-result-box{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.sc-result-box h3{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.sc-result-highlight{
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
}

.sc-result-amount{
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.sc-result-box p{
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.sc-result-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc-result-list li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #eef2f7;
}

.sc-result-list li:last-child{
    border-bottom: none;
}

.sc-result-list li span{
    color: #475569;
    font-size: 15px;
}

.sc-result-list li strong{
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

/* Backdrop */
.modal-backdrop,
.salary-modal-backdrop{
    z-index: 1050;
    background: rgba(15, 23, 42, 0.72);
}

.modal-backdrop.show{
    opacity: 0.72 !important;
}

/* Lock background when modal is open */
body.modal-open,
body.salary-modal-open{
    overflow: hidden !important;
}

/* Stop clicking page behind modal */
body.salary-modal-open header,
body.salary-modal-open footer,
body.salary-modal-open section,
body.salary-modal-open nav,
body.salary-modal-open .main-wrapper,
body.salary-modal-open .shop-area,
body.salary-modal-open .blog-area,
body.salary-modal-open .container,
body.salary-modal-open .row,
body.salary-modal-open .col-lg-12,
body.salary-modal-open .col-lg-6,
body.salary-modal-open .col-md-12,
body.salary-modal-open .col-md-6,
body.salary-modal-open .col-sm-12{
    pointer-events: none;
    user-select: none;
}

/* Keep modal and its backdrop active */
body.salary-modal-open #salaryResultModal,
body.salary-modal-open #salaryResultModal *,
body.salary-modal-open .modal-backdrop,
body.salary-modal-open .salary-modal-backdrop{
    pointer-events: auto;
    user-select: auto;
}

/* Optional: make the page behind look inactive */
body.salary-modal-open .shop-area,
body.salary-modal-open .blog-area,
body.salary-modal-open header,
body.salary-modal-open footer{
    filter: blur(1px);
}

/* Responsive */
@media (max-width: 991px){
    .sc-title{
        font-size: 30px;
    }

    .sc-section-title{
        font-size: 28px;
    }

    .sc-mini-grid{
        grid-template-columns: 1fr;
    }

    .sc-feature-list{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px){
    .sc-card{
        padding: 24px;
    }

    .sc-form-title{
        font-size: 25px;
    }

    .sc-title{
        font-size: 26px;
    }

    .sc-section-title{
        font-size: 24px;
    }

    .sc-feature-list{
        grid-template-columns: 1fr;
    }

    .sc-result-amount{
        font-size: 28px;
    }

    .sc-modal-content{
        max-height: 92vh;
    }

    .sc-modal-body{
        max-height: calc(92vh - 120px);
    }

    .sc-modal-body,
    .sc-modal-header,
    .sc-modal-footer{
        padding-left: 18px;
        padding-right: 18px;
    }
}