.th-pdf-tool{
    width:100%;
    max-width:860px;
    margin:24px auto;
    box-sizing:border-box;
    padding:24px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.th-pdf-tool h3{
    margin:0 0 18px;
    font-size:21px;
    line-height:1.3;
}
.th-pdf-file{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
}
.th-pdf-drop{
    position:relative;
    width:100%;
    min-height:165px;
    box-sizing:border-box;
    border:2px dashed #d6dbe3;
    border-radius:10px;
    background:#fafbfc;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    cursor:pointer;
    transition:border-color .2s,background .2s;
}
.th-pdf-drop:hover,
.th-pdf-drop.dragging,
.th-pdf-drop:focus{
    border-color:#2563eb;
    background:#f7f9ff;
    outline:none;
}
.th-pdf-drop.has-file{
    border-style:solid;
    background:#f8fafc;
}
.th-pdf-upload-inner{
    padding:20px;
    width:100%;
}
.th-pdf-upload-icon{
    width:46px;
    height:46px;
    margin:0 auto 10px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef2ff;
    color:#2563eb;
    font-size:23px;
}
.th-pdf-upload-title{
    font-size:16px;
    font-weight:700;
    margin-bottom:5px;
    color:#20242a;
}
.th-pdf-upload-sub{
    font-size:13px;
    color:#6b7280;
    margin-bottom:11px;
}
.th-pdf-browse{
    display:inline-block;
    padding:10px 18px;
    border:1px solid #2554e6;
    border-radius:12px;
    background:#2554e6;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}
.th-pdf-browse:hover{background:#1f48c7;border-color:#1f48c7}
.th-pdf-file-name{
    margin-top:10px;
    font-size:13px;
    color:#4b5563;
    word-break:break-word;
}
.th-pdf-options{margin-top:16px}
.th-pdf-tool label{
    display:block;
    font-weight:600;
    margin:12px 0 6px;
}
.th-pdf-tool select,
.th-pdf-tool input[type=text]{
    display:block;
    width:100%;
    max-width:340px;
    box-sizing:border-box;
    padding:9px 11px;
    border:1px solid #d1d5db;
    border-radius:7px;
    background:#fff;
}
.th-pdf-run{
    margin-top:16px;
    padding:11px 23px;
    border:0;
    border-radius:12px;
    background:#2554e6;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:background .2s ease,transform .05s ease;
}
.th-pdf-run:hover{background:#1f48c7}
.th-pdf-run:active{transform:translateY(1px)}
.th-pdf-run:disabled{opacity:.6;cursor:wait}
.th-pdf-status{
    margin-top:14px;
    min-height:20px;
    font-weight:600;
    color:#374151;
}
.th-pdf-status.err{color:#b42318}
@media(max-width:900px){
    .th-pdf-tool{max-width:100%;margin:20px auto}
}
@media(max-width:600px){
    .th-pdf-tool{padding:18px;margin:16px auto}
    .th-pdf-drop{min-height:150px}
    .th-pdf-upload-inner{padding:16px}
}

.th-pdf-status.ocr{color:#2554e6}
