/* UTIL-036 Xoay/xóa/sắp xếp trang PDF — bổ sung cho giao diện chung pdf-merge.css. */
.pdfo-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 0;padding:10px;border:1px solid var(--sou-line);border-radius:14px;background:#fff}
.pdfo-bar .pdfx-iconbtn{font-size:14px}
.pdfo-bar .pdfx-toolbar-group:nth-last-child(2){border-right:0}
.pdfo-zoom{margin:0 0 0 auto}
.pdfo-zoom button{min-height:44px}
.pdfo-grid{--pdfx-card:150px}
.pdfo-grid[data-zoom=s]{--pdfx-card:112px}
.pdfo-grid[data-zoom=l]{--pdfx-card:215px}
.pdfo-grid .pdfx-card{cursor:grab}
.pdfo-grid .pdfx-card-check span{white-space:nowrap}
/* Nhãn xoay/bản sao nằm đè góc ảnh thu nhỏ để mọi thẻ cao bằng nhau. */
.pdfo-tags{position:absolute;top:60px;right:12px;z-index:1;display:flex;flex-direction:column;align-items:flex-end;gap:4px;pointer-events:none}
.pdfo-tags:empty{display:none}
.pdfo-tags .pdfx-badge{padding:2px 7px;white-space:nowrap;box-shadow:0 1px 3px rgba(16,36,94,.2)}
.pdfo-tags .pdfx-badge:not(.warn){background:#fff}
.pdfo-grid .pdfx-card-sub{text-align:center}
.pdfo-trash ul{max-height:260px}
.pdfo-goto{margin-top:14px;align-items:flex-end}
.pdfo-goto .sou-field{flex:1 1 140px;margin:0}
@media(max-width:600px){
 .pdfo-zoom{margin-left:0}
 .pdfo-bar .pdfx-iconbtn .pdfx-btn-text{display:none}
 .pdfo-grid[data-zoom=s]{--pdfx-card:96px!important}
 .pdfo-grid[data-zoom=l]{--pdfx-card:100%!important}
}
