/* Souq Nizwa: admin dashboard and review tables. */
.admin-dashboard,.admin-dashboard .panel,.admin-dashboard .field,.admin-dashboard .stat{min-width:0}
.admin-dashboard .admin-table td.mono{display:table-cell;direction:rtl}
.admin-dashboard .admin-table td.mono .admin-cell-value{direction:ltr;unicode-bidi:isolate}
.admin-state{display:inline-block;padding:6px 10px;border-radius:12px;font-size:.9rem;line-height:1.7;font-weight:700;background:#f1f3f0;color:#45544d}
.admin-state.pending{background:#fff0d5;color:#755012}
.admin-state.approved,.admin-state.verified{background:#e1f3e6;color:#205537}
.admin-state.rejected,.admin-state.suspended{background:#ffe8e0;color:#903e2d}
.admin-state.unverified{background:#f1f3f0;color:#45544d}
@media(max-width:760px){
 .admin-dashboard .page-title{font-size:1.7rem}
 .admin-dashboard .page-subtitle,.admin-dashboard .muted,.admin-dashboard .note{line-height:1.9;overflow-wrap:anywhere}
 .admin-dashboard .panel{padding:16px 12px;border-radius:16px}
 .admin-dashboard .section-head{flex-wrap:wrap;align-items:center}
 .admin-dashboard h2{font-size:1.25rem;line-height:1.7;overflow-wrap:anywhere}
 .admin-dashboard .section-head>.btn{min-height:44px}
 .admin-dashboard .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
 .admin-dashboard .stat{padding:13px;overflow-wrap:anywhere}
 .admin-dashboard .stat strong{font-size:1.7rem;margin-top:6px}
 .admin-dashboard .dash-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}
 .admin-dashboard .dash-tabs button{min-height:48px;padding:10px 6px;line-height:1.7;font-size:.95rem;color:var(--ink)}
 .admin-dashboard .dash-tabs button.active{color:#fff}
 .admin-dashboard .table-wrap{overflow:visible}
 .admin-dashboard .admin-table{display:block;min-width:0;width:100%;border-collapse:separate}
 .admin-dashboard .admin-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .admin-dashboard .admin-table tbody{display:grid;gap:14px}
 .admin-dashboard .admin-table tr{display:block;min-width:0;border:1px solid var(--stroke);border-radius:14px;background:#fff;overflow:hidden}
 .admin-dashboard .admin-table td,.admin-dashboard .admin-table td.mono{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:12px;direction:rtl;text-align:right;align-items:start;border:0;border-bottom:1px solid var(--stroke);font-size:1rem;line-height:1.7}
 .admin-dashboard .admin-table td::before{content:attr(data-label);font-size:.88rem;font-weight:700;color:var(--muted)}
 .admin-dashboard .admin-table td:first-child{background:#f4f8f5;font-weight:700}
 .admin-dashboard .admin-table tr td:last-child{border-bottom:0}
 .admin-dashboard .admin-table td[colspan]{display:block;text-align:center;padding:24px 12px}
 .admin-dashboard .admin-table td[colspan]::before{content:none}
 .admin-dashboard .admin-cell-value{min-width:0;overflow-wrap:anywhere;white-space:normal}
 .admin-dashboard .admin-table .actions{display:flex;flex-wrap:wrap;gap:8px}
 .admin-dashboard .admin-table .btn{min-height:44px;max-width:100%;font-size:.95rem;padding:10px 9px;white-space:normal;overflow-wrap:anywhere}
 .admin-dashboard .admin-table .actions .btn{flex:1 1 90px}
 .admin-dashboard .input,.admin-dashboard .select,.admin-dashboard .textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;font-size:16px}
 .admin-dashboard input[type=date]{appearance:none;-webkit-appearance:none;direction:ltr;text-align:center}
 .admin-dashboard input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:center}
 .admin-dashboard .smart-watch-grid{grid-template-columns:minmax(0,1fr)}
 .admin-dashboard .smart-watch-grid .btn{min-height:44px}
 .admin-dashboard .note{padding:14px 12px}
}
@media(max-width:360px){.admin-dashboard .admin-table td,.admin-dashboard .admin-table td.mono{grid-template-columns:76px minmax(0,1fr);gap:8px;padding:10px}}

/* Admin search and filters, release 26. */
.admin-dashboard .admin-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.admin-dashboard .admin-filters .field{margin:0}
.admin-dashboard .admin-query{grid-column:1 / -1}
.admin-dashboard .admin-filter-actions{display:flex;flex-wrap:wrap;gap:10px;grid-column:1 / -1}
.admin-dashboard .admin-filter-actions .btn{min-height:44px}
.admin-dashboard .admin-result-count{margin:12px 0 16px;overflow-wrap:anywhere}
@media(max-width:760px){
 .admin-dashboard .admin-filters{grid-template-columns:minmax(0,1fr);gap:12px}
 .admin-dashboard .admin-filter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-dashboard .admin-filter-actions .btn{width:100%;min-width:0;padding:12px 8px;white-space:normal}
 .admin-dashboard .admin-filter-actions .btn:only-child{grid-column:1 / -1}
}
