/* Adremy Cards v13.10.2: functional status modal and readable order actions */
.orders-admin-panel{max-width:1240px}
.order-table-wrap{overflow-x:auto;overflow-y:visible}
.compact-order-table{min-width:1080px;table-layout:fixed}
.compact-order-table th:nth-child(1){width:105px}
.compact-order-table th:nth-child(2){width:175px}
.compact-order-table th:nth-child(3){width:225px}
.compact-order-table th:nth-child(4){width:170px}
.compact-order-table th:nth-child(5){width:135px}
.compact-order-table th:nth-child(6){width:210px}
.order-actions-cell{min-width:210px;vertical-align:top}
.order-actions-cell>*,.admin-order-management{width:100%;box-sizing:border-box}
.admin-order-management{display:grid;gap:8px;margin-top:9px}
.admin-order-management .table-action,.order-actions-cell form .table-action{width:100%;min-height:36px;box-sizing:border-box;white-space:normal;line-height:1.25;text-align:center}
.admin-payment-warning{display:block;width:100%;box-sizing:border-box;padding:9px 10px;border-radius:8px;background:rgba(190,110,35,.14);line-height:1.4;overflow-wrap:anywhere}

.admin-status-dialog[open]{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:14px;border:0;background:rgba(4,8,13,.74);box-sizing:border-box;overflow:auto}
.admin-status-dialog::backdrop{background:rgba(4,8,13,.74);backdrop-filter:blur(3px)}
.admin-status-dialog-card{position:relative;width:min(440px,100%);max-height:calc(100vh - 28px);padding:20px;overflow:auto;box-sizing:border-box;border:1px solid rgba(127,127,127,.32);border-radius:14px;background:var(--card,#17191d);color:inherit;box-shadow:0 24px 70px rgba(0,0,0,.48)}
.admin-status-dialog-head{min-height:0;height:auto;max-width:none;margin:0 0 18px;padding:0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border:0}
.admin-status-dialog-head div{display:grid;gap:4px}
.admin-status-dialog-head small{opacity:.58;font-size:11px;font-weight:800;letter-spacing:.12em}
.admin-status-dialog-head h2{margin:0;font-size:24px;line-height:1.15}
.admin-status-dialog-close{flex:0 0 38px;width:38px;height:38px;padding:0;display:grid;place-items:center;border:1px solid rgba(127,127,127,.3);border-radius:9px;background:rgba(127,127,127,.05);color:inherit;font:inherit;font-size:24px;line-height:1;cursor:pointer}
.admin-status-dialog-close:hover{background:rgba(127,127,127,.13)}
.admin-status-current{margin-bottom:15px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(127,127,127,.2);border-radius:9px;background:rgba(127,127,127,.035)}
.admin-status-current span{opacity:.66;font-size:12px}
.admin-status-current strong{text-align:right}
.admin-status-dialog form{margin:0!important;padding:0!important;display:grid!important;grid-template-columns:1fr!important;gap:13px!important;border:0!important;background:transparent!important}
.admin-status-dialog form label{display:grid;grid-template-columns:1fr;gap:7px;font-size:12px;font-weight:800}
.admin-status-dialog form select{width:100%;min-width:0;max-width:none;padding:11px 12px;border:1px solid rgba(127,127,127,.38);border-radius:8px;background:var(--card,#17191d);color:inherit;font:inherit}
.admin-status-help{margin:0;padding:11px 12px;border-left:3px solid #e0a24c;border-radius:0 8px 8px 0;background:rgba(190,110,35,.09);font-size:12px;line-height:1.5;opacity:.84}
.admin-status-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.admin-status-dialog-actions .table-action{width:100%;min-height:40px;box-sizing:border-box;text-align:center}
body.status-dialog-open{overflow:hidden}
@media(max-width:700px){
  .orders-admin-panel{padding-left:14px;padding-right:14px}
  .admin-status-dialog-card{padding:16px}
  .admin-status-dialog-head h2{font-size:21px}
  .admin-status-dialog-actions{grid-template-columns:1fr}
}
