
.anwpt-rotate{--p:#1769e8;--ink:#101828;--m:#667085;--b:#e4e7ec;font-family:inherit}
.anwpt-rotate .anwpt-r-card{max-width:1100px;margin:25px auto;padding:28px;border:1px solid var(--b);border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(16,24,40,.06)}
.anwpt-rotate .anwpt-r-head{text-align:center;margin-bottom:22px}.anwpt-rotate .anwpt-r-head>span{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--p);background:#eff6ff;padding:5px 9px;border-radius:20px}.anwpt-rotate .anwpt-r-head h2{margin:8px 0 4px;font-size:30px;color:var(--ink)}.anwpt-rotate .anwpt-r-head p{margin:0;color:var(--m);font-size:13px}
.anwpt-rotate .anwpt-r-drop{border:2px dashed #cbd5e1;border-radius:16px;background:#f8fafc;padding:38px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;transition:.2s}.anwpt-rotate .anwpt-r-drop.drag{border-color:var(--p);background:#eff6ff}.anwpt-rotate .anwpt-r-icon{width:52px;height:52px;border:1px solid var(--b);border-radius:15px;background:#fff;display:grid;place-items:center;font-size:28px;color:var(--p);margin-bottom:5px}.anwpt-rotate .anwpt-r-drop strong{font-size:16px;color:var(--ink)}.anwpt-rotate .anwpt-r-drop small{color:var(--m)}.anwpt-rotate .anwpt-r-drop .select,.anwpt-rotate .anwpt-r-card button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--p);color:#fff;padding:11px 18px;font-weight:700;cursor:pointer}.anwpt-rotate .anwpt-r-drop .select{margin:5px 0;cursor:pointer}
.anwpt-rotate .r-file{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0 12px;padding:14px 16px;border:1px solid var(--b);border-radius:12px;background:#fafafa}.anwpt-rotate .r-file b{display:block;word-break:break-word}.anwpt-rotate .r-file small{color:var(--m);display:block;margin-top:4px}.anwpt-rotate .replace{color:var(--p);font-weight:700;cursor:pointer;white-space:nowrap}
.anwpt-rotate .r-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 0;border-top:1px solid var(--b);border-bottom:1px solid var(--b)}.anwpt-rotate .r-toolbar-info b{display:block;color:var(--ink)}.anwpt-rotate .r-toolbar-info small{color:var(--m)}.anwpt-rotate .r-toolbar-buttons{display:flex;flex-wrap:wrap;gap:7px}.anwpt-rotate .r-toolbar-buttons button{background:#f2f4f7;color:#344054;padding:9px 12px;font-size:12px}.anwpt-rotate .r-toolbar-buttons button:hover{background:#eaf2ff;color:var(--p)}
.anwpt-rotate .r-hint{font-size:12px;color:var(--m);margin:14px 0}.anwpt-rotate .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;max-height:680px;overflow:auto;padding:4px}
.anwpt-rotate .page{position:relative;border:1px solid var(--b);border-radius:14px;padding:9px;background:#fff;cursor:pointer;transition:.15s;box-shadow:0 2px 8px rgba(16,24,40,.04)}.anwpt-rotate .page:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(16,24,40,.08)}.anwpt-rotate .page.selected{border:2px solid var(--p);padding:8px;background:#f8fbff}.anwpt-rotate .thumb{height:190px;border-radius:9px;background:#f2f4f7;display:grid;place-items:center;overflow:hidden}.anwpt-rotate .thumb-canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:0 2px 8px rgba(0,0,0,.12)}.anwpt-rotate .loading{font-size:11px;color:var(--m)}.anwpt-rotate .select-dot{position:absolute;top:14px;left:14px;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid #d0d5dd;color:transparent;display:grid;place-items:center;font-size:12px;font-weight:800;z-index:2}.anwpt-rotate .page.selected .select-dot{background:var(--p);border-color:var(--p);color:#fff}.anwpt-rotate .page-bottom{display:flex;justify-content:space-between;align-items:center;padding:9px 3px 2px;font-size:12px}.anwpt-rotate .page-bottom b{color:var(--ink)}.anwpt-rotate .angle{color:var(--p);font-weight:800}
.anwpt-rotate .actions{display:flex;justify-content:center;gap:9px;margin-top:20px}.anwpt-rotate .actions .save{background:var(--p)}.anwpt-rotate .actions .download{background:#101828}.anwpt-rotate .actions .download:disabled{background:#98a2b3;cursor:not-allowed}.anwpt-rotate .actions .clear{background:#f2f4f7;color:#344054}
.anwpt-rotate .status{text-align:center;min-height:20px;color:#475467;font-size:12px;margin-top:12px}.anwpt-rotate .privacy{text-align:center;margin-top:12px;padding:9px;border-radius:10px;background:#f8fafc;color:#667085;font-size:11px}
@media(max-width:760px){.anwpt-rotate .anwpt-r-card{padding:18px;border-radius:14px}.anwpt-rotate .anwpt-r-head h2{font-size:25px}.anwpt-rotate .r-toolbar{align-items:flex-start;flex-direction:column}.anwpt-rotate .r-toolbar-buttons{width:100%}.anwpt-rotate .r-toolbar-buttons button{flex:1}.anwpt-rotate .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.anwpt-rotate .thumb{height:170px}.anwpt-rotate .actions{flex-wrap:wrap}.anwpt-rotate .actions button{flex:1}}

/* Live rotation preview */
.anwpt-rotate .page .thumb-canvas{transition:transform .22s ease}
.anwpt-rotate .r-toolbar-buttons .preview{background:#eaf2ff;color:#1769e8}
.anwpt-rotate .anwpt-r-modal[hidden]{display:none!important}
.anwpt-rotate .anwpt-r-modal{position:fixed;inset:0;z-index:999999}
.anwpt-rotate .anwpt-r-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.72);backdrop-filter:blur(3px)}
.anwpt-rotate .anwpt-r-modal-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1100px,calc(100vw - 30px));height:min(900px,calc(100vh - 30px));background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden}
.anwpt-rotate .anwpt-r-modal-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e4e7ec;background:#fff}
.anwpt-rotate .anwpt-r-modal-head b{display:block;color:#101828;font-size:16px}.anwpt-rotate .anwpt-r-modal-head small{display:block;color:#667085;margin-top:3px}
.anwpt-rotate .preview-close{width:38px;height:38px!important;padding:0!important;border-radius:50%!important;background:#f2f4f7!important;color:#344054!important;font-size:25px!important;line-height:1}
.anwpt-rotate .preview-stage{flex:1;min-height:0;background:#eef1f5;display:flex;align-items:center;justify-content:center;gap:12px;padding:25px}
.anwpt-rotate .preview-page-wrap{width:calc(100% - 90px);height:100%;display:flex;align-items:center;justify-content:center;overflow:auto}
.anwpt-rotate .preview-canvas{background:#fff;box-shadow:0 10px 35px rgba(0,0,0,.22);max-width:none}
.anwpt-rotate .preview-prev,.anwpt-rotate .preview-next{width:44px!important;height:44px;padding:0!important;border-radius:50%!important;background:#fff!important;color:#101828!important;font-size:30px!important;box-shadow:0 3px 12px rgba(0,0,0,.12)}
.anwpt-rotate .preview-prev:disabled,.anwpt-rotate .preview-next:disabled{opacity:.35;cursor:not-allowed}
.anwpt-rotate .preview-controls{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px;border-top:1px solid #e4e7ec}
.anwpt-rotate .preview-controls button{width:34px!important;height:34px;padding:0!important;background:#f2f4f7!important;color:#344054!important;border-radius:8px!important;font-size:18px!important}
.anwpt-rotate .preview-page-label{font-size:12px;color:#475467;min-width:150px;text-align:center}
.anwpt-rotate .preview-note{text-align:center;padding:9px 15px;background:#f8fafc;color:#667085;font-size:11px}
body.anwpt-preview-open{overflow:hidden}
@media(max-width:700px){
 .anwpt-rotate .anwpt-r-modal-box{width:100vw;height:100vh;border-radius:0}
 .anwpt-rotate .preview-stage{padding:12px;gap:5px}.anwpt-rotate .preview-page-wrap{width:calc(100% - 65px)}
 .anwpt-rotate .preview-prev,.anwpt-rotate .preview-next{width:34px!important;height:34px;font-size:24px!important}
}


/* Qentix 3.10.10 — final unified controls. Loaded inside each module stylesheet so module CSS cannot override these rules. */
.anwpt-rotate .anwpt-compress label.select,.anwpt-rotate .anwpt-compress label.replace,.anwpt-rotate .anwpt-compress .select,.anwpt-rotate .anwpt-compress .replace,.anwpt-rotate .anwpt-extract label.select,.anwpt-rotate .anwpt-extract label.replace,.anwpt-rotate .anwpt-extract .select,.anwpt-rotate .anwpt-extract .replace,.anwpt-rotate .anwpt-remove label.select,.anwpt-rotate .anwpt-remove label.replace,.anwpt-rotate .anwpt-remove .select,.anwpt-rotate .anwpt-remove .replace,.anwpt-rotate .anwpt-organize label.select,.anwpt-rotate .anwpt-organize label.replace,.anwpt-rotate .anwpt-organize .select,.anwpt-rotate .anwpt-organize .replace,.anwpt-rotate .anwpt-splitter label.select,.anwpt-rotate .anwpt-splitter label.replace,.anwpt-rotate .anwpt-splitter .select,.anwpt-rotate .anwpt-splitter .replace,.anwpt-rotate .anwpt-protect label.ap-select,.anwpt-rotate .anwpt-protect label.ap-replace,.anwpt-rotate .anwpt-protect .ap-select,.anwpt-rotate .anwpt-protect .ap-replace,.anwpt-rotate .anwpt-unlock label.au-select,.anwpt-rotate .anwpt-unlock label.au-replace,.anwpt-rotate .anwpt-unlock .au-select,.anwpt-rotate .anwpt-unlock .au-replace,.anwpt-rotate .anwpt-op label.select,.anwpt-rotate .anwpt-op label.replace,.anwpt-rotate .anwpt-op .select,.anwpt-rotate .anwpt-op .replace,.anwpt-rotate .anwpt-wm label.select,.anwpt-rotate .anwpt-wm label.replace,.anwpt-rotate .anwpt-wm .select,.anwpt-rotate .anwpt-wm .replace,.anwpt-rotate .anwpt-pn label.select,.anwpt-rotate .anwpt-pn label.replace,.anwpt-rotate .anwpt-pn .select,.anwpt-rotate .anwpt-pn .replace,.anwpt-rotate label.select,.anwpt-rotate label.replace,.anwpt-rotate .select,.anwpt-rotate .replace,.anwpt-rotate .anwpt-itp label.select,.anwpt-rotate .anwpt-itp label.replace,.anwpt-rotate .anwpt-itp .select,.anwpt-rotate .anwpt-itp .replace,.anwpt-rotate .anwpt-sign label.select,.anwpt-rotate .anwpt-sign label.replace,.anwpt-rotate .anwpt-sign .select,.anwpt-rotate .anwpt-sign .replace,.anwpt-rotate .anwpt-scan label.select,.anwpt-rotate .anwpt-scan label.replace,.anwpt-rotate .anwpt-scan .select,.anwpt-rotate .anwpt-scan .replace,.anwpt-rotate .anwpt-merger label.select,.anwpt-rotate .anwpt-merger label.replace,.anwpt-rotate .anwpt-merger .select,.anwpt-rotate .anwpt-merger .replace{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;vertical-align:middle!important;line-height:1.2!important;white-space:nowrap!important;
 min-height:46px!important;padding:0 18px!important;border:1px solid var(--anwpt-primary,#4F46E5)!important;border-radius:11px!important;background:var(--anwpt-primary,#4F46E5)!important;color:#fff!important;font:inherit!important;font-weight:700!important;cursor:pointer!important;box-sizing:border-box!important;text-decoration:none!important;
}
.anwpt-rotate .anwpt-compress label.replace,.anwpt-rotate .anwpt-compress .replace,.anwpt-rotate .anwpt-extract label.replace,.anwpt-rotate .anwpt-extract .replace,.anwpt-rotate .anwpt-remove label.replace,.anwpt-rotate .anwpt-remove .replace,.anwpt-rotate .anwpt-organize label.replace,.anwpt-rotate .anwpt-organize .replace,.anwpt-rotate .anwpt-splitter label.replace,.anwpt-rotate .anwpt-splitter .replace,.anwpt-rotate .anwpt-protect label.ap-replace,.anwpt-rotate .anwpt-protect .ap-replace,.anwpt-rotate .anwpt-unlock label.au-replace,.anwpt-rotate .anwpt-unlock .au-replace,.anwpt-rotate .anwpt-op label.replace,.anwpt-rotate .anwpt-op .replace,.anwpt-rotate .anwpt-wm label.replace,.anwpt-rotate .anwpt-wm .replace,.anwpt-rotate .anwpt-pn label.replace,.anwpt-rotate .anwpt-pn .replace,.anwpt-rotate label.replace,.anwpt-rotate .replace,.anwpt-rotate .anwpt-itp label.replace,.anwpt-rotate .anwpt-itp .replace,.anwpt-rotate .anwpt-sign label.replace,.anwpt-rotate .anwpt-sign .replace,.anwpt-rotate .anwpt-scan label.replace,.anwpt-rotate .anwpt-scan .replace,.anwpt-rotate .anwpt-merger label.replace,.anwpt-rotate .anwpt-merger .replace{
 background:#fff!important;border-color:var(--anwpt-border,#E5E7EB)!important;color:var(--anwpt-heading,#111827)!important;
}
.anwpt-rotate .anwpt-compress label.select:hover,.anwpt-rotate .anwpt-compress label.replace:hover,.anwpt-rotate .anwpt-compress .select:hover,.anwpt-rotate .anwpt-compress .replace:hover,.anwpt-rotate .anwpt-extract label.select:hover,.anwpt-rotate .anwpt-extract label.replace:hover,.anwpt-rotate .anwpt-extract .select:hover,.anwpt-rotate .anwpt-extract .replace:hover,.anwpt-rotate .anwpt-remove label.select:hover,.anwpt-rotate .anwpt-remove label.replace:hover,.anwpt-rotate .anwpt-remove .select:hover,.anwpt-rotate .anwpt-remove .replace:hover,.anwpt-rotate .anwpt-organize label.select:hover,.anwpt-rotate .anwpt-organize label.replace:hover,.anwpt-rotate .anwpt-organize .select:hover,.anwpt-rotate .anwpt-organize .replace:hover,.anwpt-rotate .anwpt-splitter label.select:hover,.anwpt-rotate .anwpt-splitter label.replace:hover,.anwpt-rotate .anwpt-splitter .select:hover,.anwpt-rotate .anwpt-splitter .replace:hover,.anwpt-rotate .anwpt-protect label.ap-select:hover,.anwpt-rotate .anwpt-protect label.ap-replace:hover,.anwpt-rotate .anwpt-protect .ap-select:hover,.anwpt-rotate .anwpt-protect .ap-replace:hover,.anwpt-rotate .anwpt-unlock label.au-select:hover,.anwpt-rotate .anwpt-unlock label.au-replace:hover,.anwpt-rotate .anwpt-unlock .au-select:hover,.anwpt-rotate .anwpt-unlock .au-replace:hover,.anwpt-rotate .anwpt-op label.select:hover,.anwpt-rotate .anwpt-op label.replace:hover,.anwpt-rotate .anwpt-op .select:hover,.anwpt-rotate .anwpt-op .replace:hover,.anwpt-rotate .anwpt-wm label.select:hover,.anwpt-rotate .anwpt-wm label.replace:hover,.anwpt-rotate .anwpt-wm .select:hover,.anwpt-rotate .anwpt-wm .replace:hover,.anwpt-rotate .anwpt-pn label.select:hover,.anwpt-rotate .anwpt-pn label.replace:hover,.anwpt-rotate .anwpt-pn .select:hover,.anwpt-rotate .anwpt-pn .replace:hover,.anwpt-rotate label.select:hover,.anwpt-rotate label.replace:hover,.anwpt-rotate .select:hover,.anwpt-rotate .replace:hover,.anwpt-rotate .anwpt-itp label.select:hover,.anwpt-rotate .anwpt-itp label.replace:hover,.anwpt-rotate .anwpt-itp .select:hover,.anwpt-rotate .anwpt-itp .replace:hover,.anwpt-rotate .anwpt-sign label.select:hover,.anwpt-rotate .anwpt-sign label.replace:hover,.anwpt-rotate .anwpt-sign .select:hover,.anwpt-rotate .anwpt-sign .replace:hover,.anwpt-rotate .anwpt-scan label.select:hover,.anwpt-rotate .anwpt-scan label.replace:hover,.anwpt-rotate .anwpt-scan .select:hover,.anwpt-rotate .anwpt-scan .replace:hover,.anwpt-rotate .anwpt-merger label.select:hover,.anwpt-rotate .anwpt-merger label.replace:hover,.anwpt-rotate .anwpt-merger .select:hover,.anwpt-rotate .anwpt-merger .replace:hover{
 background:var(--anwpt-hover,#4338CA)!important;border-color:var(--anwpt-hover,#4338CA)!important;color:#fff!important;box-shadow:0 10px 22px rgba(79,70,229,.18)!important;transform:translateY(-1px)!important;
}
/* Unified primary/secondary action buttons, excluding preview/modal controls. */
.anwpt-rotate .anwpt-compress .compress-btn,.anwpt-rotate .anwpt-extract .extract-btn,.anwpt-rotate .anwpt-remove .remove-btn,.anwpt-rotate .anwpt-organize .organize-btn,.anwpt-rotate .anwpt-splitter .split,.anwpt-rotate .anwpt-op .create,.anwpt-rotate .anwpt-merger .merge,.anwpt-rotate .anwpt-pn .apply,.anwpt-rotate .rotate-btn,.anwpt-rotate .anwpt-wm .apply,.anwpt-rotate .anwpt-itp .convert,.anwpt-rotate .anwpt-sign .sign-btn,.anwpt-rotate .anwpt-protect .protect-btn,.anwpt-rotate .anwpt-unlock .unlock-btn{
 background:var(--anwpt-primary,#4F46E5)!important;border-color:var(--anwpt-primary,#4F46E5)!important;color:#fff!important;
}
.anwpt-rotate .anwpt-compress .download,.anwpt-rotate .anwpt-compress .clear,.anwpt-rotate .anwpt-extract .download,.anwpt-rotate .anwpt-extract .clear,.anwpt-rotate .anwpt-remove .download,.anwpt-rotate .anwpt-remove .clear,.anwpt-rotate .anwpt-organize .download,.anwpt-rotate .anwpt-organize .clear,.anwpt-rotate .anwpt-splitter .download,.anwpt-rotate .anwpt-splitter .clear,.anwpt-rotate .anwpt-op .download,.anwpt-rotate .anwpt-op .clear,.anwpt-rotate .anwpt-merger .clear,.anwpt-rotate .anwpt-pn .clear,.anwpt-rotate .clear,.anwpt-rotate .anwpt-wm .clear,.anwpt-rotate .anwpt-itp .clear,.anwpt-rotate .anwpt-sign .clear,.anwpt-rotate .anwpt-protect .clear,.anwpt-rotate .anwpt-unlock .clear{
 background:#fff!important;border:1px solid var(--anwpt-border,#E5E7EB)!important;color:var(--anwpt-heading,#111827)!important;
}
.anwpt-rotate .anwpt-compress .compress-btn:hover,.anwpt-rotate .anwpt-extract .extract-btn:hover,.anwpt-rotate .anwpt-remove .remove-btn:hover,.anwpt-rotate .anwpt-organize .organize-btn:hover,.anwpt-rotate .anwpt-splitter .split:hover,.anwpt-rotate .anwpt-op .create:hover,.anwpt-rotate .anwpt-merger .merge:hover,.anwpt-rotate .anwpt-pn .apply:hover,.anwpt-rotate .rotate-btn:hover,.anwpt-rotate .anwpt-wm .apply:hover,.anwpt-rotate .anwpt-itp .convert:hover,.anwpt-rotate .anwpt-sign .sign-btn:hover,.anwpt-rotate .anwpt-protect .protect-btn:hover,.anwpt-rotate .anwpt-unlock .unlock-btn:hover,.anwpt-rotate .anwpt-compress .download:hover,.anwpt-rotate .anwpt-compress .clear:hover,.anwpt-rotate .anwpt-extract .download:hover,.anwpt-rotate .anwpt-extract .clear:hover,.anwpt-rotate .anwpt-remove .download:hover,.anwpt-rotate .anwpt-remove .clear:hover,.anwpt-rotate .anwpt-organize .download:hover,.anwpt-rotate .anwpt-organize .clear:hover,.anwpt-rotate .anwpt-splitter .download:hover,.anwpt-rotate .anwpt-splitter .clear:hover,.anwpt-rotate .anwpt-op .download:hover,.anwpt-rotate .anwpt-op .clear:hover,.anwpt-rotate .anwpt-merger .clear:hover,.anwpt-rotate .anwpt-pn .clear:hover,.anwpt-rotate .clear:hover,.anwpt-rotate .anwpt-wm .clear:hover,.anwpt-rotate .anwpt-itp .clear:hover,.anwpt-rotate .anwpt-sign .clear:hover,.anwpt-rotate .anwpt-protect .clear:hover,.anwpt-rotate .anwpt-unlock .clear:hover{
 background:var(--anwpt-hover,#4338CA)!important;border-color:var(--anwpt-hover,#4338CA)!important;color:#fff!important;
}
@media(max-width:600px){
 .anwpt-rotate .anwpt-compress label.select,.anwpt-rotate .anwpt-compress label.replace,.anwpt-rotate .anwpt-extract label.select,.anwpt-rotate .anwpt-extract label.replace,.anwpt-rotate .anwpt-remove label.select,.anwpt-rotate .anwpt-remove label.replace,.anwpt-rotate .anwpt-organize label.select,.anwpt-rotate .anwpt-organize label.replace,.anwpt-rotate .anwpt-splitter label.select,.anwpt-rotate .anwpt-splitter label.replace,.anwpt-rotate .anwpt-protect label.ap-select,.anwpt-rotate .anwpt-protect label.ap-replace,.anwpt-rotate .anwpt-unlock label.au-select,.anwpt-rotate .anwpt-unlock label.au-replace,.anwpt-rotate .anwpt-op label.select,.anwpt-rotate .anwpt-op label.replace,.anwpt-rotate .anwpt-wm label.select,.anwpt-rotate .anwpt-wm label.replace,.anwpt-rotate .anwpt-pn label.select,.anwpt-rotate .anwpt-pn label.replace,.anwpt-rotate label.select,.anwpt-rotate label.replace,.anwpt-rotate .anwpt-itp label.select,.anwpt-rotate .anwpt-itp label.replace,.anwpt-rotate .anwpt-sign label.select,.anwpt-rotate .anwpt-sign label.replace,.anwpt-rotate .anwpt-scan label.select,.anwpt-rotate .anwpt-scan label.replace,.anwpt-rotate .anwpt-merger label.select,.anwpt-rotate .anwpt-merger label.replace{min-height:44px!important;padding:0 16px!important}
}
