/* ═══════════════════════════════════════════════
   ADMIN — Noir Gold Edition
   Panel elegante alineado al tema ExpoCasa 3D
   ═══════════════════════════════════════════════ */

:root {
    --adm-bg:         #0a0a0a;
    --adm-surface:    #111111;
    --adm-surface-2:  #181818;
    --adm-surface-3:  #202020;
    --adm-border:     rgba(255,255,255,0.07);
    --adm-border-2:   rgba(255,255,255,0.12);
    --adm-gold:       #C8A96E;
    --adm-gold-soft:  rgba(200,169,110,0.10);
    --adm-gold-glow:  rgba(200,169,110,0.22);
    --adm-text:       #F0EBE0;
    --adm-text-2:     #9A9080;
    --adm-text-3:     #5A5248;
    --adm-danger:     #ef4444;
    --adm-success:    #22c55e;
    --adm-sidebar-w:  220px;
    --adm-radius:     12px;
}

/* ── Layout principal ── */
.adm-layout {
    display: flex;
    min-height: calc(100vh - 120px);
    gap: 0;
    padding: 0 24px 40px;
}

/* ── Sidebar ── */
.adm-sidebar {
    width: var(--adm-sidebar-w);
    flex-shrink: 0;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-right: 20px;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.adm-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 16px;
    border-bottom: 1px solid var(--adm-border);
    margin-bottom: 16px;
    font-family: var(--font-display, Georgia);
    font-size: 1rem;
    font-weight: 600;
    color: var(--adm-text);
    letter-spacing: 0.5px;
}

/* ── Nav ── */
.adm-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.adm-nav__group { margin-bottom: 20px; }

.adm-nav__group-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--adm-text-3);
    padding: 0 10px 6px;
    display: block;
}

.adm-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--adm-text-2);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    text-align: left;
}

.adm-nav-item:hover {
    background: var(--adm-surface-2);
    color: var(--adm-text);
}

.adm-nav-item.active {
    background: var(--adm-gold-soft);
    color: var(--adm-gold);
    font-weight: 600;
    border: 1px solid rgba(200,169,110,0.2);
}

.adm-nav-item__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--adm-gold);
    margin-left: auto;
}

.adm-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--adm-text-3);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--adm-border);
    margin-top: 12px;
}

.adm-logout:hover {
    color: var(--adm-danger);
    background: rgba(239,68,68,0.08);
}

/* ── Content area ── */
.adm-content {
    flex: 1;
    min-width: 0;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 28px 32px;
    margin-top: 32px;
}

/* ── Section header ── */
.admin-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--adm-border);
}

.admin-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--adm-text);
    margin: 0 0 4px;
    font-family: var(--font-display, Georgia);
}

.admin-section-sub {
    font-size: 0.85rem;
    color: var(--adm-text-2);
    margin: 0;
}

.admin-section-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Buttons ── */
.adm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.adm-btn--gold {
    background: var(--adm-gold);
    color: #1a1008;
}
.adm-btn--gold:hover { background: #d4b87a; }
.adm-btn--gold:disabled { opacity: 0.5; cursor: not-allowed; }

.adm-btn--ghost {
    background: transparent;
    border: 1px solid var(--adm-border-2);
    color: var(--adm-text-2);
}
.adm-btn--ghost:hover { background: var(--adm-surface-2); color: var(--adm-text); }

.adm-btn--danger {
    background: var(--adm-danger);
    color: #fff;
}
.adm-btn--danger:hover { background: #dc2626; }
.adm-btn--danger:disabled { opacity: 0.5; cursor: not-allowed; }

.adm-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--adm-border);
    background: transparent;
    color: var(--adm-text-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.adm-icon-btn:hover { background: var(--adm-surface-2); color: var(--adm-text); border-color: var(--adm-border-2); }
.adm-icon-btn--danger:hover { background: rgba(239,68,68,.12); color: var(--adm-danger); border-color: rgba(239,68,68,.3); }

/* ── Form fields ── */
.adm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.adm-field--sm { flex: 0 0 80px; }

.adm-field-row {
    display: flex;
    gap: 12px;
}
.adm-field-row .adm-field { flex: 1; margin-bottom: 0; }
.adm-field-row--align-center { align-items: center; }

.adm-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--adm-text-2);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.adm-input {
    width: 100%;
    padding: 9px 12px;
    background: var(--adm-surface-2);
    border: 1px solid var(--adm-border);
    border-radius: 8px;
    color: var(--adm-text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s;
    -webkit-appearance: none;
}
.adm-input:focus {
    outline: none;
    border-color: var(--adm-gold);
    box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}
.adm-input option { background: #1a1a1a; }

.adm-textarea { resize: vertical; min-height: 80px; }

/* ── Toggle ── */
.adm-toggle { position: relative; display: inline-flex; cursor: pointer; }
.adm-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.adm-toggle__track {
    width: 44px; height: 24px;
    background: var(--adm-surface-3);
    border: 1px solid var(--adm-border-2);
    border-radius: 999px;
    position: relative;
    transition: background 0.2s;
}
.adm-toggle input:checked ~ .adm-toggle__track { background: var(--adm-gold); border-color: var(--adm-gold); }
.adm-toggle__thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.adm-toggle input:checked ~ .adm-toggle__track .adm-toggle__thumb { transform: translateX(20px); }

/* ── Drawer ── */
.adm-drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.adm-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(480px, 95vw);
    height: 100vh;
    background: var(--adm-surface);
    border-left: 1px solid var(--adm-border-2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
    animation: slideInRight 0.22s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.adm-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--adm-border);
}
.adm-drawer__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--adm-text);
    font-family: var(--font-display, Georgia);
}
.adm-drawer__close {
    width: 32px; height: 32px;
    border-radius: 6px;
    border: 1px solid var(--adm-border);
    background: transparent;
    color: var(--adm-text-2);
    cursor: pointer;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.adm-drawer__close:hover { background: var(--adm-surface-2); color: var(--adm-text); }

.adm-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.adm-drawer__footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid var(--adm-border);
}

/* ── Confirm dialog ── */
.adm-confirm {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--adm-surface);
    border: 1px solid var(--adm-border-2);
    border-radius: 16px;
    padding: 32px;
    z-index: 1002;
    width: min(400px, 90vw);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    animation: popIn 0.18s ease;
}
@keyframes popIn {
    from { transform: translate(-50%,-50%) scale(0.93); opacity: 0; }
    to   { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
}
.adm-confirm__icon { margin-bottom: 12px; }
.adm-confirm h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--adm-text); }
.adm-confirm p  { margin: 0 0 24px; color: var(--adm-text-2); font-size: 0.9rem; }
.adm-confirm__actions { display: flex; gap: 8px; justify-content: center; }

/* ── Grid equipamiento cards ── */
.adm-grid { display: grid; gap: 16px; }
.adm-grid--3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.adm-equip-card {
    background: var(--adm-surface-2);
    border: 1px solid var(--adm-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.adm-equip-card:hover { border-color: var(--adm-border-2); }
.adm-equip-card--inactive { opacity: 0.5; }

.adm-equip-card__img {
    position: relative;
    height: 120px;
    background: var(--adm-surface-3);
    overflow: hidden;
}
.adm-equip-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.adm-equip-card__no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.adm-equip-card__cat-badge {
    position: absolute; bottom: 6px; left: 8px;
    background: rgba(0,0,0,0.7);
    color: var(--adm-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid rgba(200,169,110,0.25);
}
.adm-equip-card__inactive-badge {
    position: absolute; top: 6px; right: 8px;
    background: rgba(239,68,68,0.2);
    color: #ef4444;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(239,68,68,0.3);
    font-weight: 700;
}

.adm-equip-card__body {
    padding: 12px 14px;
    flex: 1;
}
.adm-equip-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--adm-text);
    margin-bottom: 4px;
}
.adm-equip-card__zone {
    font-size: 0.78rem;
    color: var(--adm-text-2);
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.adm-equip-card__desc {
    font-size: 0.78rem;
    color: var(--adm-text-3);
    line-height: 1.4;
}

.adm-equip-card__actions {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    border-top: 1px solid var(--adm-border);
    justify-content: flex-end;
}

.adm-equip-skeleton {
    height: 200px;
    background: var(--adm-surface-2);
    border-radius: 10px;
    animation: pulse 1.4s ease infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Category filter ── */
.adm-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.adm-cat-chip {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--adm-border);
    background: transparent;
    color: var(--adm-text-2);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.adm-cat-chip:hover { border-color: var(--adm-border-2); color: var(--adm-text); }
.adm-cat-chip.active {
    background: var(--adm-gold-soft);
    border-color: rgba(200,169,110,0.4);
    color: var(--adm-gold);
}

/* ── Empty state ── */
.adm-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--adm-text-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.adm-empty p { margin: 0; font-size: 0.95rem; }

/* ── Destacados table ── */
.adm-dest-info {
    display: flex;
    align-items: center;
    background: var(--adm-surface-2);
    border: 1px solid var(--adm-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--adm-text-2);
    margin-bottom: 20px;
}

.adm-dest-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--adm-border);
    border-radius: 10px;
}

.adm-dest-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.adm-dest-table thead th {
    padding: 11px 14px;
    background: var(--adm-surface-2);
    color: var(--adm-text-3);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--adm-border);
    text-align: left;
    white-space: nowrap;
}
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }

.adm-dest-table tbody tr {
    border-bottom: 1px solid var(--adm-border);
    transition: background 0.12s;
}
.adm-dest-table tbody tr:last-child { border-bottom: none; }
.adm-dest-table tbody tr:hover { background: var(--adm-surface-2); }
.adm-dest-row--top td:first-child { border-left: 2px solid var(--adm-gold); }
.adm-dest-row--pinned { background: var(--adm-gold-soft) !important; }

.adm-dest-table td {
    padding: 10px 14px;
    color: var(--adm-text);
    vertical-align: middle;
}

.adm-dest-rank {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--adm-text-3);
    min-width: 24px;
    display: inline-block;
    text-align: center;
}
.adm-dest-rank--podium { font-size: 1.1rem; }

.adm-dest-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.adm-dest-thumb {
    width: 36px; height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--adm-border);
    flex-shrink: 0;
}

.adm-dest-muted { color: var(--adm-text-2) !important; }

.adm-dest-clicks {
    font-weight: 700;
    font-size: 1rem;
    color: var(--adm-gold);
    font-variant-numeric: tabular-nums;
}

.adm-zone-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--adm-surface-3);
    color: var(--adm-text-2);
    border: 1px solid var(--adm-border);
    text-transform: capitalize;
}
.adm-zone-pill--norte  { color: #60a5fa; border-color: rgba(96,165,250,.3); background: rgba(96,165,250,.08); }
.adm-zone-pill--sur    { color: #34d399; border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.08); }
.adm-zone-pill--oriente{ color: #f472b6; border-color: rgba(244,114,182,.3); background: rgba(244,114,182,.08); }
.adm-zone-pill--poniente{ color: #fbbf24; border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.08); }

.adm-pin-btn {
    width: 32px; height: 32px;
    border-radius: 6px;
    border: 1px solid var(--adm-border);
    background: transparent;
    color: var(--adm-text-3);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex; align-items: center; justify-content: center;
}
.adm-pin-btn:hover { border-color: var(--adm-gold); color: var(--adm-gold); }
.adm-pin-btn.active { color: var(--adm-gold); border-color: var(--adm-gold); background: var(--adm-gold-soft); }

.adm-dest-skel-row {
    height: 52px;
    background: var(--adm-surface-2);
    border-radius: 8px;
    margin-bottom: 8px;
    animation: pulse 1.4s ease infinite;
}
.adm-destacados-skeleton { padding: 0; }

/* ── ImageUploader ── */
.img-uploader {
    position: relative;
    width: 100%;
}

.img-uploader__dropzone {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: var(--adm-surface-2);
    border: 1.5px dashed var(--adm-border-2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.img-uploader__dropzone:hover {
    border-color: var(--adm-gold);
    background: var(--adm-gold-soft);
}

.img-uploader__hint-main {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--adm-text);
}
.img-uploader__hint-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--adm-text-3);
    margin-top: 2px;
}

.img-uploader__preview {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--adm-border);
}
.img-uploader__preview img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.img-uploader__remove {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    border-radius: 6px;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.img-uploader__remove:hover { background: rgba(239,68,68,0.8); }

.img-uploader__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--adm-text-2);
}

/* ── MudBlazor overrides para admin oscuro ── */
.adm-content .mud-table-root { background: transparent !important; }
.adm-content .mud-table-head th {
    background: var(--adm-surface-2) !important;
    color: var(--adm-text-3) !important;
    border-bottom: 1px solid var(--adm-border) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}
.adm-content .mud-table-body tr:hover td { background: var(--adm-surface-2) !important; }
.adm-content .mud-table-body td { color: var(--adm-text) !important; border-bottom: 1px solid var(--adm-border) !important; }
.adm-content .mud-skeleton { background: var(--adm-surface-2) !important; }
.adm-content .mud-input-outlined .mud-input-outlined-border { border-color: var(--adm-border) !important; }
.adm-content .mud-input-outlined:focus-within .mud-input-outlined-border { border-color: var(--adm-gold) !important; }
.adm-content .mud-input-root input { color: var(--adm-text) !important; }

/* ── Stat cards override ── */
.adm-content .admin-stat-card {
    background: var(--adm-surface-2) !important;
    border: 1px solid var(--adm-border) !important;
    box-shadow: none !important;
}
.adm-content .admin-stat-card__label { color: var(--adm-text-2) !important; }
.adm-content .admin-stat-card__value { color: var(--adm-gold) !important; }
.adm-content .admin-panel {
    background: var(--adm-surface-2) !important;
    border: 1px solid var(--adm-border) !important;
    box-shadow: none !important;
}

/* ── Sidebar collapse ── */
.adm-sidebar__brand {
    justify-content: space-between;
}

.adm-sidebar__brand-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.adm-collapse-btn {
    width: 24px; height: 24px;
    border-radius: 6px;
    border: 1px solid var(--adm-border);
    background: transparent;
    color: var(--adm-text-3);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    margin-left: auto;
}
.adm-collapse-btn:hover {
    background: var(--adm-surface-2);
    color: var(--adm-gold);
    border-color: rgba(200,169,110,0.3);
}

/* Estado colapsado */
.adm-sidebar--collapsed {
    width: 56px;
    padding: 16px 8px;
    align-items: center;
}

.adm-sidebar--collapsed .adm-sidebar__brand {
    padding: 0 0 12px;
    justify-content: center;
    gap: 0;
}

.adm-sidebar--collapsed .adm-collapse-btn {
    margin-left: 0;
}

.adm-sidebar--collapsed .adm-nav {
    align-items: center;
    width: 100%;
}

.adm-sidebar--collapsed .adm-nav__group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--adm-border);
}

.adm-sidebar--collapsed .adm-nav__group:last-child {
    border-bottom: none;
}

.adm-sidebar--collapsed .adm-nav-item {
    width: 40px; height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
}

.adm-sidebar--collapsed .adm-nav-item.active {
    border-radius: 10px;
}

.adm-sidebar--collapsed .adm-logout {
    width: 40px; height: 40px;
    padding: 0;
    justify-content: center;
    border-top: 1px solid var(--adm-border);
    margin-top: 8px;
    padding-top: 0;
    border-radius: 10px;
}

/* Layout cuando sidebar está colapsado */
.adm-layout--collapsed .adm-sidebar {
    margin-right: 16px;
}

/* Tooltip nativo via title cuando colapsado */
.adm-sidebar--collapsed .adm-nav-item:hover::after {
    content: attr(title);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--adm-surface-3);
    color: var(--adm-text);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--adm-border-2);
    white-space: nowrap;
    z-index: 999;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

/* Transición suave del ancho */
.adm-sidebar {
    transition: width 0.22s ease, padding 0.22s ease;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .adm-layout { flex-direction: column; padding: 0 12px 32px; }
    .adm-sidebar {
        width: 100% !important;
        position: static;
        margin-right: 0;
        margin-bottom: 16px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px;
        align-items: center;
    }
    .adm-sidebar--collapsed { width: 100% !important; }
    .adm-sidebar__brand { display: none; }
    .adm-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .adm-nav__group {
        display: flex; flex-wrap: wrap; gap: 4px;
        margin-bottom: 0; padding-bottom: 0;
        border-bottom: none; border-right: 1px solid var(--adm-border);
        padding-right: 8px; margin-right: 4px;
    }
    .adm-nav__group:last-child { border-right: none; }
    .adm-nav__group-label { display: none; }
    .adm-nav-item { padding: 7px 10px; font-size: 0.8rem; width: auto; height: auto; }
    .adm-sidebar--collapsed .adm-nav-item { width: auto; height: auto; padding: 7px 10px; }
    .adm-drawer { width: 100%; }
    .adm-field-row { flex-direction: column; }
    .adm-field--sm { flex: unset; }
    .adm-sidebar--collapsed .adm-nav-item:hover::after { display: none; }
}
