/* ALOPARDEH v80: photo-first touch sorting and compact edit/delete; scoped users header and logs. */
.alo62-gallery .alo62-card .alo62-card-top{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;position:relative;overscroll-behavior:contain}
.alo62-gallery .alo62-card .alo62-card-top:active{cursor:grabbing}
.alo62-gallery .alo62-card .alo62-card-top img{-webkit-user-drag:none;user-select:none;pointer-events:none}
.alo62-gallery .alo62-card .alo62-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex-wrap:nowrap!important;margin-top:7px}
.alo62-gallery .alo62-card .alo62-actions .alo80-icon-button{flex:0 0 39px!important;width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important;padding:9px!important;box-sizing:border-box;border-radius:11px!important;display:inline-flex;align-items:center;justify-content:center;box-shadow:none!important;transition:background .15s ease,transform .15s ease}
.alo62-gallery .alo62-card .alo62-actions .alo80-icon-button svg{width:19px;height:19px;flex:0 0 auto}
.alo62-gallery .alo62-card .alo62-actions .alo80-edit-button{background:#f3ede4!important;color:#53412f!important;border:1px solid #d8c5ae!important}
.alo62-gallery .alo62-card .alo62-actions .alo80-delete-button{background:#fff1ef!important;color:#a7423c!important;border:1px solid #e7b6b0!important}
.alo62-gallery .alo62-card .alo62-actions .alo80-icon-button:focus-visible,.alo62-gallery .alo62-card .alo62-card-top:focus-visible{outline:3px solid #ad8656!important;outline-offset:3px}
.alo62-gallery .alo62-card .alo62-actions .alo80-icon-button:active{transform:scale(.96)}
.alo62-gallery .alo62-card .alo62-actions .alo80-edit-open{background:#e3d6c4!important}
.alo62-gallery .alo62-card.alo80-drag-source{opacity:.42;outline:2px dashed #a48a6e;outline-offset:0}
.alo62-gallery .alo62-card.alo80-drop-target{outline:3px solid #a77949;outline-offset:0;background:#fff9ed}
.alo80-drag-preview{position:fixed;z-index:99999;pointer-events:none;width:95px;height:83px;background:#fffdf9;padding:5px;border:1px solid #aa8e6e;border-radius:12px;box-shadow:0 9px 26px #37261550;overflow:hidden;box-sizing:border-box;transform:translateZ(0)}
.alo80-drag-preview img{width:100%;height:100%;object-fit:contain;display:block}
.alo80-brand-link-note{display:block;font-size:12px;line-height:1.8;color:#6c5c49}
/* Shared top navbar matches the staff page, even though the users page has its own form CSS. */
.alo80-users-page .alo72-shared-header{box-sizing:border-box;width:100%;font-family:'Vazirmatn',Tahoma,Arial,sans-serif;padding:10px max(18px,calc((100vw - 1200px)/2));min-height:82px;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:clamp(12px,1.6vw,20px)}
.alo80-users-page .alo72-shared-header nav{display:flex;align-items:center;justify-content:flex-start;flex:1 1 auto;min-width:0;gap:clamp(9px,1.05vw,16px);flex-wrap:wrap}
.alo80-users-page .alo72-shared-header nav a{font-size:14px;font-weight:500;line-height:1.5}
.alo80-users-page .alo72-shared-header .alo78-brand{flex:none}
.alo80-users-page .alo72-user-main{width:min(1100px,calc(100% - 24px));box-sizing:border-box;margin:22px auto;padding:0}
.alo80-users-page .alo80-history-panel{padding:0!important;overflow:hidden}
.alo80-users-page .alo80-history-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:19px 22px;list-style:none;min-height:66px;box-sizing:border-box}
.alo80-users-page .alo80-history-fold>summary::-webkit-details-marker{display:none}
.alo80-users-page .alo80-history-fold>summary:after{content:'⌄';color:#836c54;font-size:22px;margin-inline-start:7px;transition:transform .15s ease}
.alo80-users-page .alo80-history-fold[open]>summary:after{transform:rotate(180deg)}
.alo80-users-page .alo80-history-heading{display:inline-flex;align-items:center;gap:9px;font-size:clamp(16px,1.8vw,21px);font-weight:800}
.alo80-users-page .alo80-history-count{margin-inline-start:auto;font-size:12px;color:#796958;white-space:nowrap}
.alo80-users-page .alo80-history-body{padding:8px 22px 21px;border-top:1px solid #eadfd1}
.alo80-users-page .alo80-history-tools{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:center;padding:10px 0 16px}
.alo80-users-page .alo80-history-tools p{margin:0;flex:1 1 250px}
.alo80-users-page .alo80-clear-logs button{background:#fff2f0!important;color:#a23d39!important;border:1px solid #d99a91!important;min-height:41px;padding:9px 15px}
.alo80-users-page .alo80-clear-logs button:disabled{opacity:.45;cursor:not-allowed}
.alo80-users-page .alo80-history-empty{color:#776756;margin:8px 0}
@media(max-width:740px){.alo80-users-page .alo72-shared-header{min-height:72px;padding:8px 14px;gap:8px}.alo80-users-page .alo72-shared-header nav{display:none!important}.alo80-users-page .alo72-shared-header .alo71-mobile-menu{display:block!important;margin-inline-start:auto}.alo80-users-page .alo72-shared-header .alo78-brand img{width:136px;height:62px}.alo80-users-page .alo80-history-fold>summary{padding:14px;flex-wrap:wrap}.alo80-users-page .alo80-history-body{padding:10px 14px 16px}.alo80-users-page .alo80-history-count{font-size:11px}.alo62-gallery .alo62-card .alo62-actions .alo80-icon-button{flex-basis:37px!important;width:37px!important;min-width:37px!important;height:37px!important;min-height:37px!important;padding:8px!important}}
@media(prefers-reduced-motion:reduce){.alo62-gallery .alo62-card .alo62-actions .alo80-icon-button,.alo80-users-page .alo80-history-fold>summary:after{transition:none}}

/* Keep the logo and the first menu item side by side; no space-between gap. */
.alo80-users-page .alo72-shared-header .alo78-brand{margin:0!important;padding:0!important}
.alo80-users-page .alo72-shared-header nav a{margin:0!important}
