/*
 * FrontHub Ebook Converter v122
 * PDF Tools standard.
 */

#fheb122-modal *{box-sizing:border-box}

#fheb122-modal .fheb122-modal{
 width:min(720px,calc(100vw - 32px))!important;
}

#fheb122-modal .fheb122-tabs{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 gap:7px;
 padding:14px 20px;
 background:#fafbfe;
 border-bottom:1px solid #edf0f5;
}

#fheb122-modal .fheb122-tabs button{
 height:38px;
 border:1px solid #e0e5ee;
 border-radius:10px;
 background:#fff;
 color:#556074;
 font-weight:800;
 cursor:pointer;
}

#fheb122-modal .fheb122-tabs button.active{
 border-color:transparent;
 background:linear-gradient(135deg,#6659ef,#339cf3);
 color:#fff;
}

#fheb122-modal .fheb122-tabs button:disabled,
#fheb122-modal .fheb122-tabs button.same-format{
 opacity:.42;
 cursor:not-allowed;
}

#fheb122-modal .fheb122-operation{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:12px;
 min-height:42px;
 margin-bottom:12px;
 border-radius:11px;
 background:linear-gradient(135deg,#6659ef,#339cf3);
 color:#fff;
 font-size:12px;
 font-weight:850;
}

#fheb122-modal .fheb122-operation span,
#fheb122-modal .fheb122-operation strong{
 min-width:76px;
 text-align:center;
}

#fheb122-modal .fheb122-credit-summary{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:8px;
 margin-bottom:8px;
}

#fheb122-modal .fheb122-credit-summary>div{
 display:flex;
 align-items:center;
 justify-content:space-between;
 min-height:38px;
 padding:0 12px;
 border:1px solid #e1e6ef;
 border-radius:10px;
 background:#f8faff;
}

#fheb122-modal .fheb122-credit-summary span{
 color:#788499;
 font-size:10px;
}

#fheb122-modal .fheb122-credit-summary strong{
 color:#4d59d8;
 font-size:11px;
}

#fheb122-modal .fheb122-credit{
 margin-bottom:12px;
}

#fheb122-modal .fheb122-credit[hidden],
#fheb122-modal .fheb122-credit-panel[hidden]{
 display:none!important;
}

#fheb122-modal .fheb122-credit-toggle{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 align-items:center;
 gap:10px;
 width:100%;
 min-height:42px;
 padding:0 13px;
 border:1px solid #e1e6ef;
 border-radius:10px;
 background:#f8faff;
 color:#455268;
 font-size:11px;
 font-weight:700;
 text-align:left;
 cursor:pointer;
}

#fheb122-modal .fheb122-credit-toggle i{
 font-style:normal;
 transition:transform .18s;
}

#fheb122-modal .fheb122-credit-toggle.open i{
 transform:rotate(180deg);
}

#fheb122-modal .fheb122-credit-badge{
 padding:4px 8px;
 border-radius:999px;
 background:#eeefff;
 color:#5561df;
 font-size:9px;
 font-weight:800;
}

#fheb122-modal .fheb122-credit-panel{
 padding:10px 13px;
 border:1px solid #e1e6ef;
 border-top:0;
 border-radius:0 0 10px 10px;
 background:#fff;
}

#fheb122-modal .fheb122-credit-line{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 padding:8px 0;
 border-bottom:1px solid #edf0f5;
}

#fheb122-modal .fheb122-credit-line strong,
#fheb122-modal .fheb122-credit-line small{
 display:block;
}

#fheb122-modal .fheb122-credit-line strong{
 color:#334155;
 font-size:10px;
}

#fheb122-modal .fheb122-credit-line small{
 margin-top:2px;
 color:#8490a3;
 font-size:9px;
}

#fheb122-modal .fheb122-credit-line>span{
 color:#5561df;
 font-size:10px;
 font-weight:800;
}

#fheb122-modal .fheb122-credit-total{
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding-top:10px;
 color:#536074;
 font-size:10px;
}

#fheb122-modal .fheb122-credit-total strong{
 color:#4d59d8;
}

#fheb122-modal .fheb122-warning{
 margin-top:9px;
 padding:9px 10px;
 border-radius:8px;
 background:#fff1f1;
 color:#a92b22;
 font-size:10px;
}

#fheb122-modal .fheb122-drop{
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 min-height:176px!important;
 padding:22px 20px!important;
 border:1.5px dashed #b9c6df!important;
 border-radius:15px!important;
 background:#fbfcff!important;
 color:#273348!important;
 text-align:center!important;
 cursor:pointer!important;
 pointer-events:auto!important;
 user-select:none!important;
}

#fheb122-modal .fheb122-drop:hover,
#fheb122-modal .fheb122-drop.drag{
 border-color:#6975ef!important;
 background:#f5f7ff!important;
}

#fheb122-modal .fheb122-drop *{
 pointer-events:none!important;
}

#fheb122-modal .fheb122-drop-icon{
 display:flex;
 align-items:center;
 justify-content:center;
 width:58px;
 height:58px;
 margin-bottom:12px;
 padding:0 7px;
 border-radius:15px;
 background:linear-gradient(135deg,#6659ef,#339cf3);
 color:#fff;
 font-size:9px;
 font-weight:900;
}

#fheb122-modal .fheb122-drop strong{
 color:#253247;
 font-size:14px;
 font-weight:850;
}

#fheb122-modal .fheb122-drop>span:not(.fheb122-drop-icon){
 margin-top:6px;
 color:#8290a5;
 font-size:10px;
}

#fheb122-modal .fheb122-drop small{
 margin-top:6px;
 color:#9aa5b5;
 font-size:9px;
}

#fheb122-modal .fheb122-file-row{
 display:grid;
 grid-template-columns:44px minmax(0,1fr) 30px;
 align-items:center;
 gap:10px;
 margin-top:11px;
 padding:9px 10px;
 border:1px solid #e2e7ef;
 border-radius:11px;
 background:#fff;
}

#fheb122-modal .fheb122-file-row[hidden]{
 display:none!important;
}

#fheb122-modal .fheb122-file-icon{
 display:flex;
 align-items:center;
 justify-content:center;
 width:42px;
 height:36px;
 border-radius:9px;
 background:#eef0ff;
 color:#5863e8;
 font-size:8px;
 font-weight:900;
}

#fheb122-modal .fheb122-file-row strong,
#fheb122-modal .fheb122-file-row small{
 display:block;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}

#fheb122-modal .fheb122-file-row small{
 margin-top:2px;
 color:#8490a3;
 font-size:9px;
}

#fheb122-modal .fheb122-file-row button{
 border:0;
 background:transparent;
 color:#64748b;
 font-size:18px;
 cursor:pointer;
}

#fheb122-modal .fheb122-encrypted{
 display:grid;
 grid-template-columns:36px minmax(0,1fr);
 gap:9px;
 margin-top:12px;
 padding:11px 12px;
 border:1px solid #ecdba5;
 border-radius:11px;
 background:#fffaf0;
}

#fheb122-modal .fheb122-encrypted[hidden]{
 display:none!important;
}

#fheb122-modal .fheb122-encrypted strong,
#fheb122-modal .fheb122-encrypted small{
 display:block;
}

#fheb122-modal .fheb122-encrypted strong{
 color:#694f17;
 font-size:10px;
}

#fheb122-modal .fheb122-encrypted small{
 margin-top:2px;
 color:#8b7648;
 font-size:9px;
}

#fheb122-modal .fheb122-encrypted input{
 grid-column:1/-1;
 height:39px;
 padding:0 10px;
 border:1px solid #ddc981;
 border-radius:9px;
 background:#fff;
}

#fheb122-modal .fheb122-encrypted button{
 grid-column:2;
 justify-self:end;
 height:34px;
 padding:0 11px;
 border:0;
 border-radius:8px;
 background:#6659ef;
 color:#fff;
 font-size:9px;
 font-weight:800;
 cursor:pointer;
}

#fheb122-modal .fhpdf-status{
 margin-top:13px;
}

#fheb122-modal .fhpdf-progress{
 height:8px;
 overflow:hidden;
 border-radius:999px;
 background:#e9edf4;
}

#fheb122-modal .fhpdf-progress i{
 display:block;
 width:0;
 height:100%;
 border-radius:999px;
 background:linear-gradient(90deg,#6659ef,#339cf3);
 transition:width .25s;
}

#fheb122-modal .fhpdf-status[hidden],
#fheb122-modal .fhpdf-ready[hidden],
#fheb122-modal .fhpdf-error[hidden]{
 display:none!important;
}

#fheb122-modal .fhpdf-download-btn{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 height:39px;
 padding:0 16px;
 border:0;
 border-radius:10px;
 background:linear-gradient(135deg,#2a9363,#47b878);
 color:#fff;
 font-weight:850;
 text-decoration:none;
 cursor:pointer;
}

#fheb122-modal .fhpdf-actions{
 display:flex;
 justify-content:flex-end;
 gap:8px;
 margin-top:18px;
}

#fheb122-modal .fhpdf-actions button{
 height:39px;
 padding:0 15px;
 border-radius:10px;
 font-weight:850;
}

#fheb122-modal .fhpdf-secondary{
 border:1px solid #dce2eb;
 background:#fff;
 color:#596477;
}

#fheb122-modal .fhpdf-primary{
 border:0!important;
 background:linear-gradient(135deg,#6659ef,#339cf3)!important;
 color:#fff!important;
}

html[data-theme="dark"] #fheb122-modal .fheb122-drop,
html.dark #fheb122-modal .fheb122-drop{
 background:#0f172a!important;
 border-color:#475569!important;
 color:#e5e7eb!important;
}

html[data-theme="dark"] #fheb122-modal .fheb122-drop strong,
html.dark #fheb122-modal .fheb122-drop strong{
 color:#f1f5f9!important;
}

html[data-theme="dark"] #fheb122-modal .fheb122-credit-summary>div,
html[data-theme="dark"] #fheb122-modal .fheb122-credit-toggle,
html.dark #fheb122-modal .fheb122-credit-summary>div,
html.dark #fheb122-modal .fheb122-credit-toggle{
 background:#111827;
 border-color:#334155;
 color:#e5e7eb;
}

html[data-theme="dark"] #fheb122-modal .fheb122-credit-panel,
html[data-theme="dark"] #fheb122-modal .fheb122-file-row,
html.dark #fheb122-modal .fheb122-credit-panel,
html.dark #fheb122-modal .fheb122-file-row{
 background:#0f172a;
 border-color:#334155;
 color:#e5e7eb;
}

@media(max-width:620px){
 #fheb122-modal .fheb122-tabs{
  grid-template-columns:repeat(2,1fr);
 }

 #fheb122-modal .fheb122-credit-summary{
  grid-template-columns:1fr;
 }
}
