.rpa-tool-bg{
    background: #f8fbff;
}

.rpa-card{
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(24, 39, 75, 0.08);
    border: 1px solid #edf2f7;
}

.rpa-form-card,
.rpa-info-card{
    height: 100%;
}

.rpa-form-title{
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.rpa-help{
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.rpa-status{
    display: none;
    margin-top: 18px;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.rpa-status-info{
    background: #eef6ff;
    color: #2563eb;
}

.rpa-status-success{
    background: #ecfdf3;
    color: #067647;
}

.rpa-status-error{
    background: #fef3f2;
    color: #b42318;
}

.rpa-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;
}

.rpa-badge{
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.rpa-title{
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.rpa-subtitle{
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.rpa-points{
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.rpa-points li{
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #334155;
    line-height: 1.7;
}

.rpa-points li:before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 700;
}

.rpa-mini-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.rpa-mini-item{
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
}

.rpa-mini-item h4{
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.rpa-mini-item p{
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.rpa-supported{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rpa-supported span{
    display: inline-block;
    padding: 9px 14px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.rpa-section-title{
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #0f172a;
}

.rpa-section-text{
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.rpa-score-list{
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.rpa-score-list li{
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    color: #475569;
    line-height: 1.8;
}

.rpa-score-list li:before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.rpa-feature-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.rpa-feature-box{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.rpa-feature-box h4{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.rpa-feature-box p{
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

.rpa-upload-box{
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    min-height: 220px;
    overflow: hidden;
    transition: all .2s ease;
}

.rpa-upload-box:hover,
.rpa-upload-box.rpa-upload-active{
    border-color: #2563eb;
    background: #eff6ff;
}

.rpa-upload-input{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.rpa-upload-inner{
    position: relative;
    z-index: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
}

.rpa-upload-icon{
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
}

.rpa-upload-inner h4{
    font-size: 20px;
    margin-bottom: 8px;
    color: #0f172a;
    font-weight: 700;
}

.rpa-upload-inner p{
    font-size: 15px;
    color: #64748b;
    margin-bottom: 8px;
}

.rpa-upload-types{
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.rpa-selected-file{
    margin-top: 12px;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
    word-break: break-word;
}

/* Modal */
#resumeParserResultModal{
    z-index: 1060;
}

.rpa-modal-content{
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    max-height: 90vh;
}

.rpa-modal-header{
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border-bottom: none;
    padding: 22px 26px;
}

.rpa-modal-header .modal-title{
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.rpa-modal-header .close{
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 30px;
    outline: none;
}

.rpa-modal-body{
    padding: 30px 26px;
    background: #f8fafc;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.rpa-modal-footer{
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 18px 26px;
}

.rpa-result-subtitle{
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.8;
}

.rpa-overview-card{
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 22px;
}

.rpa-overview-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.rpa-overview-title{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rpa-overview-summary{
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.rpa-overall-box{
    min-width: 220px;
    text-align: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 18px;
}

.rpa-overall-box .rpa-score-value{
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 8px;
}

.rpa-overall-box .rpa-score-label{
    font-size: 14px;
    color: rgba(255,255,255,.82);
}

.rpa-section-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.rpa-section-card{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.rpa-section-card h4{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f172a;
}

.rpa-section-card .rpa-card-text{
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.rpa-section-card-empty{
    color: #94a3b8;
    font-style: italic;
}

.rpa-result-box{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.rpa-result-box h3{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.rpa-result-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.rpa-result-list li{
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    color: #475569;
    line-height: 1.8;
}

.rpa-result-list li:last-child{
    border-bottom: none;
}

.rpa-chip-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rpa-chip{
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.modal-backdrop,
.rpa-modal-backdrop{
    z-index: 1050;
    background: rgba(15, 23, 42, 0.72);
}

.modal-backdrop.show{
    opacity: 0.72 !important;
}

body.modal-open,
body.rpa-modal-open{
    overflow: hidden !important;
}

body.rpa-modal-open header,
body.rpa-modal-open footer,
body.rpa-modal-open section,
body.rpa-modal-open nav,
body.rpa-modal-open .main-wrapper,
body.rpa-modal-open .shop-area,
body.rpa-modal-open .blog-area,
body.rpa-modal-open .container,
body.rpa-modal-open .row,
body.rpa-modal-open .col-lg-12,
body.rpa-modal-open .col-lg-6,
body.rpa-modal-open .col-md-12,
body.rpa-modal-open .col-md-6,
body.rpa-modal-open .col-sm-12{
    pointer-events: none;
    user-select: none;
}

body.rpa-modal-open #resumeParserResultModal,
body.rpa-modal-open #resumeParserResultModal *,
body.rpa-modal-open .modal-backdrop,
body.rpa-modal-open .rpa-modal-backdrop{
    pointer-events: auto;
    user-select: auto;
}

@media (max-width: 991px){
    .rpa-title{
        font-size: 30px;
    }

    .rpa-section-title{
        font-size: 28px;
    }

    .rpa-mini-grid,
    .rpa-section-grid{
        grid-template-columns: 1fr;
    }

    .rpa-feature-list{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px){
    .rpa-card{
        padding: 24px;
    }

    .rpa-form-title{
        font-size: 25px;
    }

    .rpa-title{
        font-size: 26px;
    }

    .rpa-section-title{
        font-size: 24px;
    }

    .rpa-feature-list,
    .rpa-section-grid{
        grid-template-columns: 1fr;
    }

    .rpa-modal-content{
        max-height: 92vh;
    }

    .rpa-modal-body{
        max-height: calc(92vh - 120px);
    }

    .rpa-modal-body,
    .rpa-modal-header,
    .rpa-modal-footer{
        padding-left: 18px;
        padding-right: 18px;
    }
}