/* ================================================================
   SMG — ADMIN PANEL STYLES (Overhauled)
   Elegant, professional dashboard — anti overflow
   ================================================================ */

/* ── Page-level anti-overflow ── */
html, body { overflow-x: hidden; }

/* ── Gate (Loading / Denied) ── */
.adm-gate {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 24px;
    background: var(--bg-primary);
}
.adm-gate-inner {
    text-align: center; color: var(--text-secondary);
    max-width: 400px;
}
.adm-gate-inner .spinner {
    width: 40px; height: 40px; margin: 0 auto 16px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.adm-gate-inner.denied svg {
    width: 56px; height: 56px; color: #ef4444; margin-bottom: 16px;
}
.adm-gate-inner.denied h2 {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 8px;
}
.adm-gate-inner.denied p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

/* ── Main Wrap ── */
.adm-wrap {
    padding: calc(72px + 24px) 20px 48px;
    max-width: 1320px; margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100%;
}

/* ── Header ── */
.adm-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.adm-header-left { display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; }
.adm-header-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(212,175,55,.04));
    border: 1px solid rgba(212,175,55,.2);
    display: flex; align-items: center; justify-content: center; color: var(--gold-primary);
}
.adm-header-icon svg { width: 22px; height: 22px; }
.adm-title {
    font-family: var(--font-display); font-size: clamp(1.2rem,3vw,1.6rem);
    font-weight: 700; color: var(--text-primary); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.adm-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.adm-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.adm-badge-admin {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 100px;
    font-size: 11px; font-weight: 600;
    background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(212,175,55,.06));
    color: var(--gold-primary); border: 1px solid rgba(212,175,55,.22);
}
.adm-badge-admin::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-primary); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:.35;} }

/* ── Button ── */
.adm-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 10px;
    font-size: 13px; font-weight: 500; font-family: inherit;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated); color: var(--text-secondary);
    cursor: pointer; transition: all .2s; white-space: nowrap;
}
.adm-btn:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.adm-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.adm-btn.primary {
    background: linear-gradient(135deg, var(--gold-primary), #B8912D);
    color: #0a0a0f; border-color: transparent; font-weight: 600;
}
.adm-btn.primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.adm-btn.danger { color: #ef4444; }
.adm-btn.danger:hover { background: rgba(239,68,68,.08); border-color: #ef4444; }
.adm-btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.adm-btn.sm svg { width: 13px; height: 13px; }

/* ── Stats ── */
.adm-stats {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 14px; margin-bottom: 28px;
}
.adm-stat {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 14px; padding: 18px 16px;
    display: flex; align-items: center; gap: 14px;
    transition: border-color .25s, transform .25s;
}
.adm-stat:hover { transform: translateY(-2px); border-color: rgba(212,175,55,.2); }
.adm-stat-icon {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.adm-stat-icon svg { width: 20px; height: 20px; }
.adm-stat > div:last-child { min-width: 0; overflow: hidden; }
.adm-stat.gold .adm-stat-icon  { background: rgba(212,175,55,.12); color: var(--gold-primary); }
.adm-stat.blue .adm-stat-icon  { background: rgba(59,130,246,.12); color: #3b82f6; }
.adm-stat.green .adm-stat-icon { background: rgba(34,197,94,.12);  color: #22c55e; }
.adm-stat.purple .adm-stat-icon{ background: rgba(168,85,247,.12); color: #a855f7; }
.adm-stat-val {
    font-size: clamp(14px,2vw,18px); font-weight: 700;
    color: var(--text-primary); line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.adm-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Tabs ── */
.adm-tabs {
    display: flex; gap: 2px; margin-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}
.adm-tab {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 9px 12px; border: none; background: none;
    font-size: 13px; font-weight: 500; font-family: inherit;
    color: var(--text-muted); cursor: pointer;
    border-bottom: 2px solid transparent; transition: all .2s;
    white-space: nowrap;
}
.adm-tab:hover { color: var(--text-secondary); }
.adm-tab.active { color: var(--gold-primary); border-bottom-color: var(--gold-primary); }
.adm-tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.adm-tab-count {
    background: rgba(212,175,55,.12); color: var(--gold-primary);
    font-size: 11px; font-weight: 600; padding: 1px 7px;
    border-radius: 100px; min-width: 18px; text-align: center;
}

/* ── Toolbar / Search ── */
.adm-toolbar { margin-bottom: 20px; }
.adm-search {
    display: flex; align-items: center; gap: 8px;
    padding: 0 14px; border-radius: 10px; max-width: 420px;
    background: var(--bg-elevated); border: 1px solid var(--border-subtle);
    transition: border-color .25s;
}
.adm-search:focus-within { border-color: var(--gold-primary); }
.adm-search svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.adm-search input {
    flex: 1; padding: 10px 0; border: none; background: none;
    font-size: 13px; font-family: inherit; color: var(--text-primary); outline: none;
    min-width: 0;
}
.adm-search input::placeholder { color: var(--text-muted); }

.adm-filter-select {
    padding: 8px 12px; border-radius: 10px; font-size: 13px; font-family: inherit;
    border: 1px solid var(--border-subtle); background: var(--bg-elevated);
    color: var(--text-primary); cursor: pointer; outline: none;
}
.adm-filter-select:focus { border-color: var(--gold-primary); }

/* ── Panels ── */
.adm-panel { display: none; }
.adm-panel.active { display: block; }

.adm-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.adm-panel-title {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    color: var(--text-primary);
}
.adm-panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Table Card ── */
.adm-table-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 14px; overflow: hidden;
}
.adm-table-scroll {
    overflow: hidden;
}

.adm-table {
    width: 100%; border-collapse: collapse;
    font-size: 13px; table-layout: fixed;
}
.adm-table thead { background: rgba(255,255,255,.02); }
.adm-table th {
    padding: 10px 10px; text-align: left;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.adm-table td {
    padding: 10px 10px; border-bottom: 1px solid rgba(255,255,255,.03);
    color: var(--text-secondary); vertical-align: middle;
    overflow: hidden; text-overflow: ellipsis;
}

/* Column widths — products */
.adm-table .col-product { width: 28%; }
.adm-table .col-price   { width: 15%; }
.adm-table .col-base    { width: 15%; }
.adm-table .col-stock   { width: 10%; }
.adm-table .col-badge   { width: 10%; }
.adm-table .col-status  { width: 9%; }
.adm-table .col-actions { width: 13%; }

/* Column widths — orders */
.adm-table .col-oid      { width: 16%; }
.adm-table .col-customer { width: 16%; }
.adm-table .col-items    { width: 18%; }
.adm-table .col-total    { width: 14%; }
.adm-table .col-ostatus  { width: 11%; }
.adm-table .col-date     { width: 11%; }
.adm-table .col-oactions { width: 14%; }

/* Column widths — users */
.adm-table .col-user     { width: 26%; }
.adm-table .col-role     { width: 10%; }
.adm-table .col-tier     { width: 10%; }
.adm-table .col-joined   { width: 14%; }
.adm-table .col-uorders  { width: 10%; }
.adm-table .col-spent    { width: 18%; }
.adm-table .col-uactions { width: 12%; }
.adm-table tbody tr:hover { background: rgba(212,175,55,.03); }
.adm-table tbody tr:last-child td { border-bottom: none; }

/* Product cell */
.adm-product-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.adm-product-avatar {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(212,175,55,.05));
    border: 1px solid rgba(212,175,55,.12);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 11px; color: var(--gold-primary);
}
.adm-product-info { min-width: 0; }
.adm-product-name {
    font-weight: 600; color: var(--text-primary); font-size: 13px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adm-product-meta { font-size: 11px; color: var(--text-muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* User cell */
.adm-user-cell { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
.adm-user-avatar {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.05));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px; color: var(--gold-primary);
}
.adm-user-name { font-weight: 600; color: var(--text-primary); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.adm-user-email { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }

/* Price display */
.adm-price { font-weight: 600; color: var(--text-primary); white-space: nowrap; font-family: 'JetBrains Mono', monospace; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.adm-price-original { font-size: 10px; color: var(--text-muted); text-decoration: line-through; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-price-base { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Status badges */
.adm-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 100px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
}
.adm-badge.pending    { background: rgba(245,158,11,.12); color: #f59e0b; }
.adm-badge.confirmed  { background: rgba(6,182,212,.12);  color: #06b6d4; }
.adm-badge.processing { background: rgba(59,130,246,.12); color: #3b82f6; }
.adm-badge.shipped    { background: rgba(168,85,247,.12); color: #a855f7; }
.adm-badge.delivered  { background: rgba(34,197,94,.12);  color: #22c55e; }
.adm-badge.cancelled  { background: rgba(239,68,68,.12);  color: #ef4444; }
.adm-badge.admin      { background: rgba(212,175,55,.12); color: var(--gold-primary); }
.adm-badge.user       { background: rgba(148,163,184,.12);color: #94a3b8; }
.adm-badge.gold-cat   { background: rgba(212,175,55,.1);  color: var(--gold-primary); }
.adm-badge.silver-cat { background: rgba(148,163,184,.1); color: #94a3b8; }
.adm-badge.in-stock   { background: rgba(34,197,94,.1);   color: #22c55e; }
.adm-badge.low-stock  { background: rgba(245,158,11,.1);  color: #f59e0b; }
.adm-badge.out-stock  { background: rgba(239,68,68,.1);   color: #ef4444; }
.adm-badge.product-badge { background: rgba(212,175,55,.1); color: var(--gold-primary); }

/* Table action buttons row */
.adm-actions { display: flex; gap: 4px; flex-wrap: nowrap; }

/* Status select */
.adm-status-select {
    padding: 6px 10px; border-radius: 8px;
    border: 1px solid var(--border-subtle); background: var(--bg-elevated);
    color: var(--text-primary); font-size: 12px; font-family: inherit;
    cursor: pointer; outline: none;
}
.adm-status-select:focus { border-color: var(--gold-primary); }

/* ── Empty state ── */
.adm-empty {
    text-align: center; padding: 48px 20px; color: var(--text-muted);
    font-size: 14px;
}
.adm-empty svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: .4; }

/* ── Cards ── */
.adm-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 14px; padding: 24px; margin-bottom: 18px;
    overflow: hidden; box-sizing: border-box; max-width: 100%;
}
.adm-card-header { margin-bottom: 18px; }
.adm-card-header h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px;}
.adm-card-desc { font-size: 13px; color: var(--text-muted); }
.adm-card-footer { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }

/* ── Settings Grid ── */
.adm-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 18px; }

/* ── Form ── */
.adm-form-grid { display: grid; gap: 14px; }
.adm-form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.adm-field { display: flex; flex-direction: column; gap: 5px; }
.adm-field.full { grid-column: 1 / -1; }
.adm-field label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.adm-field input,
.adm-field select,
.adm-field textarea {
    padding: 9px 12px; border-radius: 9px;
    border: 1px solid var(--border-subtle); background: var(--bg-elevated);
    color: var(--text-primary); font-size: 13px; font-family: inherit;
    outline: none; transition: border-color .2s;
    box-sizing: border-box; width: 100%; max-width: 100%;
}
.adm-field input:focus,
.adm-field select:focus,
.adm-field textarea:focus { border-color: var(--gold-primary); }
.adm-field textarea { resize: vertical; min-height: 60px; }
.adm-field-hint { font-size: 11px; color: var(--text-muted); }

.adm-form-section-title { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin: 4px 0 8px; }
.adm-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 16px 0; }

/* Toggle */
.adm-toggle-wrap { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.adm-toggle { width: 16px; height: 16px; accent-color: var(--gold-primary); cursor: pointer; }
.adm-toggle-wrap label { font-size: 12px; color: var(--text-secondary); cursor: pointer; }

/* ── Modal ── */
.adm-modal-overlay {
    position: fixed; inset: 0; z-index: 9500;
    background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
    display: none; align-items: flex-start; justify-content: center;
    padding: 24px; overflow-y: auto;
}
.adm-modal-overlay.active { display: flex; }
.adm-modal {
    width: 100%; max-width: 640px; margin-top: 60px;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity:0; transform: translateY(20px) scale(.97); } to { opacity:1; transform: none; } }
.adm-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--border-subtle);
}
.adm-modal-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.adm-modal-close {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); cursor: pointer; transition: all .2s;
}
.adm-modal-close:hover { color: #ef4444; background: rgba(239,68,68,.1); }
.adm-modal-close svg { width: 16px; height: 16px; }
.adm-modal-body { padding: 24px; max-height: calc(100vh - 180px); overflow-y: auto; overflow-x: hidden; }
.adm-modal-footer {
    display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
    padding-top: 18px; border-top: 1px solid var(--border-subtle); margin-top: 20px;
}

/* ── Homepage Arrangement ── */
.adm-homepage-panel { margin-bottom: 18px; }
.adm-homepage-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    gap: 10px; max-height: 400px; overflow-y: auto; padding: 4px;
}
.adm-hp-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--border-subtle); background: var(--bg-elevated);
    cursor: pointer; transition: all .2s;
}
.adm-hp-item:hover { border-color: rgba(212,175,55,.3); }
.adm-hp-item.selected { border-color: var(--gold-primary); background: rgba(212,175,55,.06); }
.adm-hp-item input[type="checkbox"] { accent-color: var(--gold-primary); cursor: pointer; flex-shrink: 0; }
.adm-hp-item-name { font-size: 12px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-hp-item > div { min-width: 0; overflow: hidden; }
.adm-hp-item-meta { font-size: 11px; color: var(--text-muted); }

/* ── Global anti-overflow ── */
.adm-wrap *, .adm-wrap *::before, .adm-wrap *::after { box-sizing: border-box; }

/* ── Photo Section ── */
.adm-photo-section { margin-bottom: 8px; }
.adm-photo-preview {
    display: flex; align-items: center; gap: 10px; padding: 16px;
    border: 1px dashed var(--border-subtle); border-radius: 10px;
    margin-bottom: 10px; min-height: 60px; flex-wrap: wrap;
    color: var(--text-muted); font-size: 13px;
}
.adm-photo-preview svg { width: 28px; height: 28px; flex-shrink: 0; opacity: .4; }
.adm-photo-preview img {
    width: 56px; height: 56px; object-fit: cover; border-radius: 8px;
    border: 1px solid var(--border-subtle);
}
.adm-photo-inputs { display: flex; flex-direction: column; gap: 6px; }
.adm-photo-row { display: flex; gap: 6px; align-items: flex-end; }
.adm-photo-row .adm-field { flex: 1; }
.adm-photo-row .adm-btn { flex-shrink: 0; height: 36px; }

/* ── Voucher Column Widths ── */
.adm-table .col-vcode    { width: 18%; }
.adm-table .col-vtype    { width: 12%; }
.adm-table .col-vvalue   { width: 12%; }
.adm-table .col-vmin     { width: 15%; }
.adm-table .col-vused    { width: 12%; }
.adm-table .col-vexpiry  { width: 16%; }
.adm-table .col-vactions { width: 15%; }

/* ── Flash Sale Status ── */
.adm-flash-active { color: #22c55e; font-weight: 600; }
.adm-flash-scheduled { color: #f59e0b; font-weight: 600; }
.adm-flash-expired { color: #ef4444; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .adm-stats { grid-template-columns: repeat(2, 1fr); }
    .adm-form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .adm-wrap { padding: calc(72px + 16px) 12px 32px; }
    .adm-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .adm-stat { padding: 14px 12px; gap: 10px; }
    .adm-stat-icon { width: 36px; height: 36px; }
    .adm-stat-icon svg { width: 16px; height: 16px; }
    .adm-header-actions { width: 100%; justify-content: flex-end; }
    .adm-table .col-badge  { display: none; }
    .adm-table .col-status { display: none; }
    .adm-table .col-product { width: 30%; }
    .adm-table .col-price   { width: 18%; }
    .adm-table .col-base    { width: 18%; }
    .adm-table .col-stock   { width: 14%; }
    .adm-table .col-actions { width: 20%; }
    /* orders 768 */
    .adm-table .col-items   { display: none; }
    .adm-table .col-oid      { width: 18%; }
    .adm-table .col-customer { width: 20%; }
    .adm-table .col-total    { width: 16%; }
    .adm-table .col-ostatus  { width: 14%; }
    .adm-table .col-date     { width: 14%; }
    .adm-table .col-oactions { width: 18%; }
    /* users 768 */
    .adm-table .col-tier    { display: none; }
    .adm-table .col-joined  { display: none; }
    .adm-table .col-user     { width: 30%; }
    .adm-table .col-role     { width: 14%; }
    .adm-table .col-uorders  { width: 14%; }
    .adm-table .col-spent    { width: 22%; }
    .adm-table .col-uactions { width: 20%; }
    /* vouchers 768 */
    .adm-table .col-vmin    { display: none; }
    .adm-table .col-vused   { display: none; }
    .adm-table .col-vcode    { width: 22%; }
    .adm-table .col-vtype    { width: 16%; }
    .adm-table .col-vvalue   { width: 16%; }
    .adm-table .col-vexpiry  { width: 22%; }
    .adm-table .col-vactions { width: 24%; }
    .adm-modal { margin-top: 20px; max-width: 100%; border-radius: 14px; }
    .adm-modal-body { padding: 16px; }
    .adm-modal-header { padding: 14px 16px; }
    .adm-settings-grid { grid-template-columns: 1fr; }
    .adm-btn .adm-btn-label { display: none; }
    .adm-card { padding: 16px; }

}
@media (max-width: 480px) {
    .adm-wrap { padding: calc(64px + 10px) 8px 24px; }
    .adm-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .adm-stat { padding: 12px 10px; gap: 8px; }
    .adm-stat-icon { width: 32px; height: 32px; }
    .adm-stat-icon svg { width: 14px; height: 14px; }
    .adm-stat-val { font-size: 13px; }
    .adm-stat-lbl { font-size: 10px; }
    .adm-subtitle { display: none; }
    .adm-title { font-size: 1.1rem; }
    .adm-header-icon { width: 36px; height: 36px; }
    .adm-header-icon svg { width: 18px; height: 18px; }
    .adm-form-grid.cols-2 { grid-template-columns: 1fr; }
    .adm-homepage-grid { grid-template-columns: 1fr; }
    .adm-table { font-size: 11px; }
    .adm-table th, .adm-table td { padding: 8px 6px; }
    .adm-table .col-base { display: none; }
    .adm-table .col-product { width: 35%; }
    .adm-table .col-price   { width: 25%; }
    .adm-table .col-stock   { width: 18%; }
    .adm-table .col-actions { width: 22%; }
    /* orders 480 */
    .adm-table .col-date    { display: none; }
    .adm-table .col-oid      { width: 22%; }
    .adm-table .col-customer { width: 22%; }
    .adm-table .col-total    { width: 20%; }
    .adm-table .col-ostatus  { width: 16%; }
    .adm-table .col-oactions { width: 20%; }
    /* users 480 */
    .adm-table .col-uorders { display: none; }
    .adm-table .col-user     { width: 36%; }
    .adm-table .col-role     { width: 16%; }
    .adm-table .col-spent    { width: 26%; }
    .adm-table .col-uactions { width: 22%; }
    /* vouchers 480 */
    .adm-table .col-vexpiry  { display: none; }
    .adm-table .col-vcode    { width: 30%; }
    .adm-table .col-vtype    { width: 18%; }
    .adm-table .col-vvalue   { width: 22%; }
    .adm-table .col-vactions { width: 30%; }
    .adm-card { padding: 14px; }
    .adm-product-avatar { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
    .adm-badge-admin { font-size: 10px; padding: 4px 8px; }
    .adm-tabs { gap: 0; }
    .adm-tab { padding: 8px 10px; font-size: 12px; }
    .adm-tab svg { width: 13px; height: 13px; }
    .adm-search { max-width: 100%; }
    .adm-panel-title { font-size: 1rem; }
}
