/**
 * GilGamez Admin Platform — User & Role Management Stylesheet
 * Enforces Rule #1 (Technology Separation), Rule #6 (5-Tier Responsive Viewports & Zero Horizontal Scroll), Rule #8 (Toast Notifications).
 */

/* ── Header Welcome / Top Actions ── */
.dash-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.dash-welcome > div {
    flex: 1;
    min-width: 240px;
}

.dash-welcome h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.dash-welcome p {
    font-size: 13.5px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
}

/* ── User Stats Grid ── */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.user-stat-card {
    background: var(--theme-bg-card, var(--bg-surface, rgba(22, 24, 34, 0.7)));
    border: 1px solid var(--theme-border, var(--border, rgba(255, 255, 255, 0.08)));
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.user-stat-card:hover {
    border-color: var(--primary-light, rgba(255, 255, 255, 0.16));
    transform: translateY(-2px);
}

.user-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.user-stat-info {
    flex: 1;
    min-width: 0;
}

.user-stat-info h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #94a3b8);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-stat-info .stat-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    line-height: 1.2;
}

/* ── Toolbar & Filters ── */
.user-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.user-toolbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.user-search-box {
    position: relative;
    flex: 1 1 240px;
    min-width: 180px;
}

.user-search-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px 10px 38px;
    background: var(--theme-input-bg, var(--theme-bg-input, var(--bg-hover)));
    border: 1px solid var(--theme-input-border, var(--theme-border, var(--border)));
    border-radius: 10px;
    color: var(--text-primary, #fff);
    font-size: 13.5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-search-box input:focus {
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 3px var(--primary-glow, rgba(99, 102, 241, 0.15));
    outline: none;
}

.user-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #64748b);
    pointer-events: none;
}

.user-filter-select {
    padding: 10px 14px;
    background: var(--theme-input-bg, var(--theme-bg-input, var(--bg-hover)));
    border: 1px solid var(--theme-input-border, var(--theme-border, var(--border)));
    border-radius: 10px;
    color: var(--text-secondary, #cbd5e1);
    font-size: 13px;
    cursor: pointer;
    box-sizing: border-box;
    flex: 0 1 auto;
    min-width: 130px;
}

.user-filter-select:focus {
    border-color: var(--primary, #6366f1);
    outline: none;
}

/* ── Expandable Users Table Container (Zero Horizontal Scroll) ── */
.user-table-wrap {
    background: var(--theme-bg-card, var(--bg-surface, rgba(22, 24, 34, 0.7)));
    border: 1px solid var(--theme-border, var(--border, rgba(255, 255, 255, 0.08)));
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.user-table th {
    padding: 14px 16px;
    background: var(--bg-hover, rgba(15, 17, 23, 0.85));
    color: var(--theme-text-muted, #94a3b8);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--theme-border, var(--border, rgba(255, 255, 255, 0.08)));
}

.user-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--theme-border-subtle, var(--border, rgba(255, 255, 255, 0.04)));
    color: var(--theme-text-secondary, #cbd5e1);
    vertical-align: middle;
}

.user-row-summary {
    cursor: pointer;
    transition: background 0.15s ease;
}

.user-row-summary:hover {
    background: var(--bg-hover, rgba(255, 255, 255, 0.03));
}

.user-row-summary.is-expanded {
    background: rgba(99, 102, 241, 0.06);
    border-bottom-color: transparent;
}

/* ── Expand Toggle Button ── */
.col-expand {
    width: 38px;
    padding-right: 0 !important;
    text-align: center;
}

.btn-row-toggle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-row-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.chevron-icon {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-row-summary.is-expanded .chevron-icon {
    transform: rotate(180deg);
    stroke: #818cf8;
}

/* ── User Profile Cell ── */
.user-cell-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.user-avatar-mini {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.user-cell-name {
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.3;
    word-break: break-word;
}

.user-cell-email {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
    word-break: break-all;
}

.self-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    margin-left: 4px;
    font-weight: 600;
}

/* ── Status Pill ── */
.user-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.user-status-pill.status-active {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
}

.user-status-pill.status-inactive {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ── Desktop Action Buttons ── */
.user-actions-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.btn-user-action {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.btn-user-action:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
}

.btn-user-action.btn-action-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* ── Expandable Drawer (Sub-row) ── */
.user-row-drawer {
    display: none;
    background: rgba(15, 17, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-row-drawer.is-open {
    display: table-row;
    animation: drawerFadeIn 0.2s ease forwards;
}

@keyframes drawerFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-row-drawer td {
    padding: 0 !important;
}

.user-drawer-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.user-drawer-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer-meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    font-weight: 600;
}

.drawer-meta-val {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 500;
}

.user-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-actions-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #818cf8;
}

.drawer-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.btn-drawer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 36px;
}

.btn-drawer-action:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-drawer-action.btn-drawer-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.btn-drawer-action.btn-drawer-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
}

.btn-drawer-action:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── Pagination ── */
.user-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #94a3b8;
    gap: 12px;
    flex-wrap: wrap;
}

.user-pagination-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-page {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 500;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.btn-page:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-page.is-active {
    background: var(--primary, #6366f1);
    border-color: transparent;
    color: #fff;
}

.btn-page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Matrix Header & Permissions Comparison Table ── */
.matrix-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.matrix-table-wrap {
    background: rgba(22, 24, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.col-show-mobile {
    display: none;
}

.perm-access-summary-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.matrix-drawer-content {
    padding: 14px 18px;
    background: rgba(15, 17, 23, 0.95);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrix-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.matrix-drawer-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #818cf8;
}

.matrix-perm-code {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
}

.role-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.role-access-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.role-access-item.is-granted {
    border-color: rgba(52, 211, 153, 0.2);
    background: rgba(52, 211, 153, 0.04);
}

.role-access-item.is-denied {
    opacity: 0.6;
}

.role-access-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: #f1f5f9;
}

.status-granted {
    font-size: 11.5px;
    font-weight: 700;
    color: #34d399;
}

.status-denied {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

/* ── Modals ── */
.user-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    overflow-y: auto;
}

.user-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.user-modal-dialog {
    background: #0f1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
    box-sizing: border-box;
}

.user-modal-backdrop.is-open .user-modal-dialog {
    transform: scale(1);
}

.user-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.user-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.user-modal-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-modal-close:hover {
    color: #fff;
}

.user-modal-body {
    padding: 20px 22px;
    max-height: calc(85vh - 130px);
    overflow-y: auto;
    box-sizing: border-box;
}

.user-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.user-form-group {
    margin-bottom: 16px;
}

.user-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
}

.user-form-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(22, 24, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
}

.user-form-input:focus {
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

/* ── Copyable Reset Link Box ── */
.copy-reset-box {
    display: flex;
    gap: 8px;
    background: rgba(15, 17, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px 6px 6px 12px;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.copy-reset-box input {
    flex: 1 1 200px;
    min-width: 160px;
    background: transparent;
    border: none;
    color: #38bdf8;
    font-family: monospace;
    font-size: 12.5px;
    outline: none;
    padding: 6px 0;
}

/* ── Role Management Cards ── */
.role-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.role-card {
    background: rgba(22, 24, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}

.role-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.role-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.role-card-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.45;
}

.role-perms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.perm-chip {
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: #cbd5e1;
    font-family: monospace;
}

/* ============================================================
   5-TIER RESPONSIVE ADAPTATION (RULE #6 COMPLIANCE)
   ============================================================ */

/* Desktop / Laptop: Expand button and matrix drawers hidden on >= 769px */
@media (min-width: 769px) {
    .col-expand {
        display: none !important;
    }

    .matrix-row-drawer {
        display: none !important;
    }

    .matrix-row-summary {
        cursor: default !important;
    }

    .matrix-row-summary:hover {
        background: transparent !important;
    }
}

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape & Portrait (< 768px): Hide desktop-only columns, activate expand drawer */
@media (max-width: 768px) {
    .col-hide-mobile {
        display: none !important;
    }

    .col-show-mobile {
        display: table-cell !important;
    }

    .role-access-grid {
        grid-template-columns: 1fr !important;
    }

    .user-table th,
    .user-table td {
        padding: 10px 8px;
    }

    .dash-welcome {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .dash-welcome > button {
        width: 100%;
        justify-content: center;
    }

    .user-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .user-toolbar-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .user-search-box {
        width: 100%;
        flex: 1 1 100%;
    }

    .user-filter-select {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        padding: 9px 10px;
        font-size: 12.5px;
    }

    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .user-stat-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .user-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
    }

    .user-stat-info h4 {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .user-stat-info .stat-number {
        font-size: 18px;
    }

    .user-cell-profile {
        gap: 8px;
    }

    .user-avatar-mini {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .user-cell-name {
        font-size: 12.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .user-cell-email {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .user-pagination-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .drawer-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .user-stat-card {
        padding: 10px 12px;
        gap: 8px;
    }

    .user-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 8px;
    }

    .user-stat-info h4 {
        font-size: 9.5px;
        margin-bottom: 1px;
    }

    .user-stat-info .stat-number {
        font-size: 16px;
    }

    .user-modal-dialog {
        border-radius: 12px;
    }

    .user-modal-header {
        padding: 14px 16px;
    }

    .user-modal-body {
        padding: 16px;
    }

    .user-modal-footer {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .user-modal-footer button {
        width: 100%;
        justify-content: center;
    }

    .copy-reset-box {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-reset-box button {
        width: 100%;
    }

    .role-cards-grid {
        grid-template-columns: 1fr;
    }

    .drawer-actions-grid {
        grid-template-columns: 1fr;
    }
}
