/* Dopetzcom V65 — Guest Orders isolated styles */
.dz-guest-head{align-items:flex-start;margin-bottom:8px}
.dz-page-head + .orders-suite{margin:0 0 14px}
.dz-guest-head h1{display:flex;align-items:center;gap:8px}
.dz-guest-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#f1ecff;color:#6f35df;font-size:11px;font-weight:800}
.dz-guest-top-actions{display:flex;gap:8px;align-items:center}
.dz-guest-refresh{border:1px solid #dddde6;background:#fff;color:#282735;border-radius:8px;padding:9px 12px;font-size:10px;font-weight:700;cursor:pointer}
.dz-guest-panel{border:1px solid #e8e8ef;border-radius:12px;background:#fff;overflow:hidden}
.dz-guest-toolbar{display:flex;gap:8px;align-items:center;padding:14px;border-bottom:1px solid #ececf1;flex-wrap:wrap}
.dz-guest-search{display:flex;align-items:center;gap:7px;flex:1 1 280px;min-width:230px;border:1px solid #dddde6;border-radius:8px;padding:0 10px;height:36px}
.dz-guest-search span{font-size:15px;color:#888896}
.dz-guest-search input{border:0;outline:0;width:100%;height:100%;background:transparent;color:#29283a;font-size:10px}
.dz-guest-region{display:flex;flex-direction:column;gap:3px;font-size:8px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#777785}
.dz-guest-region select{height:36px;border:1px solid #dddde6;border-radius:8px;background:#fff;color:#3a3948;padding:0 11px;font-size:10px;text-transform:none;font-weight:600;letter-spacing:0;min-width:210px}
.dz-guest-table{min-width:1180px}
.dark .dz-guest-region{color:#a0a0ad}
.dark .dz-guest-region select{background:#18181f;color:#fff;border-color:#3a3a48}
.dz-guest-clear{cursor:pointer}
.dz-guest-table-wrap{width:100%;overflow-x:auto;overflow-y:hidden}
.dz-guest-table{width:100%;min-width:1050px;border-collapse:collapse}
.dz-guest-table th{text-align:left;font-size:8px;letter-spacing:.55px;text-transform:uppercase;color:#898997;padding:13px 12px;border-bottom:1px solid #ececf1;white-space:nowrap}
.dz-guest-table td{font-size:10px;color:#3e3d4c;padding:12px;border-bottom:1px solid #f0f0f4;white-space:nowrap;vertical-align:middle}
.dz-guest-table tbody tr:hover{background:#faf9fe}
.dz-guest-id{color:#6f35df!important;font-weight:800}
.dz-guest-customer{display:flex;align-items:center;gap:8px}
.dz-guest-customer strong{display:block;font-size:10px}
.dz-guest-customer small{display:block;color:#9999a7;font-size:8px;margin-top:3px}
.dz-guest-avatar{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#eee6ff;color:#6f35df;font-weight:800;font-size:10px}
.dz-guest-status,.dz-guest-payment{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:700}
.dz-guest-status.pending,.dz-guest-payment.pending{background:#fff2df;color:#c86b00}
.dz-guest-status.confirmed,.dz-guest-status.ready,.dz-guest-payment.paid{background:#e8f8ee;color:#168248}
.dz-guest-status.processing{background:#eaf3ff;color:#2874cc}
.dz-guest-status.expired{background:#f1f1f4;color:#777785}
.dz-guest-actions{display:flex;gap:5px}
.dz-guest-actions button{border:1px solid #dddde6;background:#fff;color:#393846;border-radius:7px;padding:6px 8px;font-size:8px;cursor:pointer}
.dz-guest-actions button:hover{border-color:#7440e8;color:#6f35df}
.dz-guest-actions button:last-child{color:#c53d4c}
.dz-guest-empty{padding:35px;text-align:center;color:#888896;font-size:10px}
.dz-guest-modal-detail{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.dz-guest-modal-detail>div{background:#f6f6f9;border:1px solid #e5e5eb;border-radius:8px;padding:10px}
.dz-guest-modal-detail span{display:block;color:#888896;font-size:8px;margin-bottom:4px}
.dz-guest-modal-detail strong{font-size:10px}
.dz-guest-confirm p{font-size:11px}
.dz-guest-confirm-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:18px}
.dz-guest-confirm-actions button{border-radius:7px;padding:8px 12px;font-size:9px;cursor:pointer}
.dz-guest-cancel{background:#fff;border:1px solid #dddde6;color:#333!important}
.dz-guest-danger{background:#c53d4c;border:1px solid #c53d4c;color:#fff!important}
.dark .dz-guest-count{background:#29213d;color:#a77aff}
.dark .dz-guest-panel{background:#17171f;border-color:#343441}
.dark .dz-guest-refresh,.dark .dz-guest-toolbar select,.dark .dz-guest-clear,.dark .dz-guest-search,.dark .dz-guest-actions button,.dark .dz-guest-cancel{background:#18181f!important;color:#fff!important;border-color:#3a3a48!important}
.dark .dz-guest-search input{color:#fff}
.dark .dz-guest-table th{color:#a0a0ad;border-color:#343441}
.dark .dz-guest-table td{color:#e7e7ed;border-color:#2b2b35}
.dark .dz-guest-table tbody tr:hover{background:#20202a}
.dark .dz-guest-avatar{background:#302448;color:#b28aff}
.dark .dz-guest-modal-detail>div{background:#20202a;border-color:#393945}
.dark .dz-guest-modal-detail span{color:#a0a0ad}
.dark .dz-guest-modal-detail strong{color:#fff}
@media(max-width:800px){
  .dz-guest-head{flex-direction:column}
  .dz-guest-top-actions{width:100%;justify-content:space-between}
}

/* Guest Orders — responsive filter/table behavior */
.dz-guest-head .dz-page-head-actions{display:flex;gap:8px;align-items:center}
.dz-guest-count{font-variant-numeric:tabular-nums}
.dz-guest-table-wrap{max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:auto}
.dz-guest-table{table-layout:auto}
.dz-guest-table th:last-child,.dz-guest-table td:last-child{position:sticky;right:0;background:inherit}
.dark .dz-guest-table th:last-child,.dark .dz-guest-table td:last-child{background:#17171f}
@media(max-width:1100px){
  .dz-guest-toolbar{overflow-x:auto;flex-wrap:nowrap}
  .dz-guest-search{flex:0 0 300px}
  .dz-guest-toolbar select,.dz-guest-clear{flex:0 0 auto}
}

/* Guest Orders — self-contained View/Delete modal */
.dz-guest-modal{display:none;position:fixed;inset:0;z-index:250000;align-items:center;justify-content:center}
.dz-guest-modal.is-open{display:flex}
.dz-guest-modal-backdrop{position:absolute;inset:0;background:rgba(15,13,22,.58);backdrop-filter:blur(4px)}
.dz-guest-modal-panel{position:relative;z-index:2;width:min(620px,calc(100vw - 34px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;color:#282735;border:1px solid #e6e4eb;border-radius:16px;padding:26px;box-shadow:0 24px 80px rgba(20,15,40,.3)}
.dz-guest-modal-panel h2{margin:7px 38px 18px 0;font-size:21px}
.dz-guest-modal-close{position:absolute;right:14px;top:13px;width:32px;height:32px;border:1px solid #dddde6;border-radius:50%;background:#f5f4f7;color:#333;cursor:pointer;font-size:20px;line-height:1}
.dz-guest-modal-footer{display:flex;justify-content:flex-end;margin-top:18px}
.dz-guest-modal-action{border:1px solid #dddde6;background:#fff;color:#333;border-radius:8px;padding:8px 14px;font-size:9px;font-weight:700;cursor:pointer}
.dark .dz-guest-modal-panel{background:#171720;color:#f1f1f5;border-color:#393844}
.dark .dz-guest-modal-close{background:#24232e;color:#fff;border-color:#41404d}
.dark .dz-guest-modal-action{background:#22212c;color:#fff;border-color:#3d3b48}
.dark .dz-guest-confirm p{color:#e7e7ed}
.dark .dz-guest-confirm-actions .dz-guest-cancel{background:#22212c!important;color:#fff!important;border-color:#41404d!important}
.dark .dz-guest-confirm-actions .dz-guest-danger{background:#c53d4c!important;color:#fff!important}
