@import '_content/Blazor3D/Blazor3D.82nvz6fwhv.bundle.scp.css';

/* /Components/Admin/Pages/ImportBuildplate.razor.rz.scp.css */
.import-container[b-qs53tgy54p] {
    max-width: 600px;
    margin: 2rem auto;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Drop Zone Styling */
.drop-zone[b-qs53tgy54p] {
    position: relative;
    border: 2px dashed #0d6efd;
    border-radius: 12px;
    background-color: #f8f9fa;
    padding: 3rem 1.5rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.drop-zone.hovering[b-qs53tgy54p] {
    background-color: #e9ecef;
    border-color: #0a58ca;
    transform: scale(1.02);
}

.drop-zone-content[b-qs53tgy54p] {
    pointer-events: none;
    /* Prevents text selection while dragging */
}

.upload-icon[b-qs53tgy54p] {
    color: #0d6efd;
    margin-bottom: 1rem;
}

.file-hint[b-qs53tgy54p] {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.file-input[b-qs53tgy54p] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-input:disabled[b-qs53tgy54p] {
    cursor: not-allowed;
}

.file-list[b-qs53tgy54p] {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item[b-qs53tgy54p] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.file-header[b-qs53tgy54p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.file-name[b-qs53tgy54p] {
    font-weight: 500;
    font-size: 0.9rem;
    word-break: break-all;
}

.progress-bar-container[b-qs53tgy54p] {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-bar[b-qs53tgy54p] {
    height: 100%;
    background: #0d6efd;
    transition: width 0.2s ease;
}

.file-status[b-qs53tgy54p] {
    font-size: 0.8rem;
    color: #6c757d;
}

.import-btn[b-qs53tgy54p] {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    font-size: 1rem;
}

.dialog-overlay[b-qs53tgy54p] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.dialog-card[b-qs53tgy54p] {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-success[b-qs53tgy54p] {
    color: #198754;
}

.text-danger[b-qs53tgy54p] {
    color: #dc3545;
}

.btn[b-qs53tgy54p] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 1rem;
    transition: opacity 0.2s;
}

.btn:disabled[b-qs53tgy54p] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-remove[b-qs53tgy54p] {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
}

.btn-remove:disabled[b-qs53tgy54p] {
    color: #adb5bd;
    cursor: not-allowed;
}

.btn-primary[b-qs53tgy54p] {
    background-color: #0d6efd;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-qs53tgy54p] {
    background-color: #0b5ed7;
}

.btn-secondary[b-qs53tgy54p] {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover[b-qs53tgy54p] {
    background-color: #5c636a;
}

.button-group[b-qs53tgy54p] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.import-container[b-qs53tgy54p] {
    position: relative;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 2rem auto;
}

.btn-back-link[b-qs53tgy54p] {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-back-link:hover[b-qs53tgy54p] {
    color: #0d6efd;
    background-color: #f8f9fa;
}

h2[b-qs53tgy54p] {
    margin-top: 10px;
}

.btn-retry[b-qs53tgy54p] {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-retry:hover[b-qs53tgy54p] {
    background-color: #dc3545;
    color: white;
}

.file-actions[b-qs53tgy54p] {
    display: flex;
    gap: 8px;
    align-items: center;
}

html.dark .drop-zone[b-qs53tgy54p] {
    background-color: #1e1e42;
    border-color: #5a5a9a;
}

html.dark .drop-zone.hovering[b-qs53tgy54p] {
    background-color: #2a2a5a;
    border-color: #7a7aba;
}

html.dark .file-item[b-qs53tgy54p] {
    background: #1e1e42;
    border-color: #3a3a6a;
}

html.dark .file-hint[b-qs53tgy54p],
html.dark .file-status[b-qs53tgy54p] {
    color: #9a9ab0;
}

html.dark .progress-bar-container[b-qs53tgy54p] {
    background: #3a3a6a;
}

html.dark .dialog-card[b-qs53tgy54p] {
    background: #1e1e42;
    color: #d0d0e0;
}

html.dark .import-container[b-qs53tgy54p] {
    background: #1e1e42;
    color: #d0d0e0;
}

html.dark .btn-back-link:hover[b-qs53tgy54p] {
    background-color: #2a2a5a;
    color: #7eb8ff;
}
/* /Components/Admin/Pages/RoleManagement.razor.rz.scp.css */
/* /Components/Admin/Pages/Users.razor.rz.scp.css */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-lqckhna5d3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lqckhna5d3] {
    flex: 1;
}

.sidebar[b-lqckhna5d3] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-lqckhna5d3] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-lqckhna5d3]  a, .top-row[b-lqckhna5d3]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-lqckhna5d3]  a:hover, .top-row[b-lqckhna5d3]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-lqckhna5d3]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-lqckhna5d3] {
        justify-content: space-between;
    }

    .top-row[b-lqckhna5d3]  a, .top-row[b-lqckhna5d3]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-lqckhna5d3] {
        flex-direction: row;
    }

    .sidebar[b-lqckhna5d3] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-lqckhna5d3] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-lqckhna5d3]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-lqckhna5d3], article[b-lqckhna5d3] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-lqckhna5d3] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-lqckhna5d3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-vc7qqqtwxw] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-vc7qqqtwxw] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-vc7qqqtwxw] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    padding: 0;
}

.navbar-brand[b-vc7qqqtwxw] {
    font-size: 1.1rem;
}

.bi[b-vc7qqqtwxw] {
    display: inline-block !important;
    position: relative !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin-right: 0.75rem !important;
    top: -1px !important;
    background-size: cover !important;
}

.nav-item[b-vc7qqqtwxw] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-vc7qqqtwxw] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-vc7qqqtwxw] {
        padding-bottom: 1rem;
    }

    .nav-item[b-vc7qqqtwxw]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-vc7qqqtwxw]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-vc7qqqtwxw]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-vc7qqqtwxw] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-vc7qqqtwxw] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-vc7qqqtwxw] {
        display: none;
    }

    .nav-scrollable[b-vc7qqqtwxw] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-v4t5k1per4],
.components-reconnect-repeated-attempt-visible[b-v4t5k1per4],
.components-reconnect-failed-visible[b-v4t5k1per4],
.components-pause-visible[b-v4t5k1per4],
.components-resume-failed-visible[b-v4t5k1per4],
.components-rejoining-animation[b-v4t5k1per4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-retrying[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-failed[b-v4t5k1per4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-v4t5k1per4] {
    display: block;
}


#components-reconnect-modal[b-v4t5k1per4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-v4t5k1per4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-v4t5k1per4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-v4t5k1per4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-v4t5k1per4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-v4t5k1per4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-v4t5k1per4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-v4t5k1per4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-v4t5k1per4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-v4t5k1per4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-v4t5k1per4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-v4t5k1per4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-v4t5k1per4] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-v4t5k1per4] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-v4t5k1per4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-v4t5k1per4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-v4t5k1per4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-v4t5k1per4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-v4t5k1per4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

html.dark #components-reconnect-modal[b-v4t5k1per4] {
    background-color: #1e1e42;
    color: #d0d0e0;
}

html.dark #components-reconnect-modal button[b-v4t5k1per4] {
    background-color: #375a7f;
}

html.dark #components-reconnect-modal button:hover[b-v4t5k1per4] {
    background-color: #2a4a6a;
}
/* /Components/Pages/Buildplates.razor.rz.scp.css */
.preview-container:fullscreen[b-3y5wb4dfsm] {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
}

.hover-opacity-100:hover[b-3y5wb4dfsm] {
    opacity: 1 !important;
}
/* /Components/Pages/ServerStatus.razor.rz.scp.css */
.status-indicator[b-y9dlk2rgex] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.status-online[b-y9dlk2rgex] {
    background-color: #2ecc71;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.5);
}

.status-starting[b-y9dlk2rgex] {
    background-color: #f1c40f;
    box-shadow: 0 0 12px rgba(241, 196, 15, 0.5);
}

.status-stopping[b-y9dlk2rgex] {
    background-color: #f1c40f;
    box-shadow: 0 0 12px rgba(241, 196, 15, 0.5);
}

.status-offline[b-y9dlk2rgex] {
    background-color: #e74c3c;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.5);
}

.gap-1-5[b-y9dlk2rgex] {
    gap: 0.375rem;
}

.filter-btn[b-y9dlk2rgex] {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.15s ease-in-out;
}

.filter-btn-disabled[b-y9dlk2rgex] {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    opacity: 0.45;
}

.filter-btn-disabled:hover[b-y9dlk2rgex] {
    opacity: 0.75;
    background-color: #e9ecef;
}

.btn-filter-vrb[b-y9dlk2rgex] { background-color: #edf2f7; border-color: #cbd5e1; color: #4a5568; }
.btn-filter-dbg[b-y9dlk2rgex] { background-color: #ddf4ff; border-color: #a5d6ff; color: #0969da; }
.btn-filter-inf[b-y9dlk2rgex] { background-color: #dafbe1; border-color: #3fb950; color: #1a7f37; }
.btn-filter-wrn[b-y9dlk2rgex] { background-color: #fff8e5; border-color: #d29922; color: #9a6700; }
.btn-filter-err[b-y9dlk2rgex] { background-color: #ffebe9; border-color: #f85149; color: #cf222e; }
.btn-filter-ftl[b-y9dlk2rgex] { background-color: #b31d28; border-color: #b31d28; color: #ffffff; }

.btn-filter-vrb:hover[b-y9dlk2rgex] { background-color: #cbd5e1; }
.btn-filter-dbg:hover[b-y9dlk2rgex] { background-color: #c2e7ff; }
.btn-filter-inf:hover[b-y9dlk2rgex] { background-color: #acf7c1; }
.btn-filter-wrn:hover[b-y9dlk2rgex] { background-color: #fde8af; }
.btn-filter-err:hover[b-y9dlk2rgex] { background-color: #ffcecb; }
.btn-filter-ftl:hover[b-y9dlk2rgex] { background-color: #8c121a; }

.log-container[b-y9dlk2rgex] {
    background: #121212;
    border-radius: 8px;
    padding: 12px;
    height: 600px;
    min-height: 150px;
    width: 100%;
    max-width: 100%;       
    overflow-y: auto;
    overflow-x: hidden;
    resize: vertical;
    -webkit-overflow-scrolling: touch;
}

.log-content[b-y9dlk2rgex] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
    line-height: 1.4;
}

.log-line[b-y9dlk2rgex] {
    color: #e0e0e0;
    margin-bottom: 4px;
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.log-time[b-y9dlk2rgex] {
    color: #888;
    margin-right: 4px;
}

.log-level[b-y9dlk2rgex] {
    font-weight: bold;
    margin-right: 4px;
    white-space: nowrap;
}

.log-msg[b-y9dlk2rgex] {}

.log-vrb[b-y9dlk2rgex] {
    color: #8b949e;
}

.log-dbg[b-y9dlk2rgex] {
    color: #a5d6ff;
}

.log-inf[b-y9dlk2rgex] {
    color: #3fb950;
}

.log-wrn[b-y9dlk2rgex] {
    color: #d29922;
}

.log-err[b-y9dlk2rgex] {
    color: #f85149;
}

.log-ftl[b-y9dlk2rgex] {
    color: #ffffff;
    background-color: #b31d28;
    padding: 0 4px;
    border-radius: 3px;
}

.log-exception[b-y9dlk2rgex] {
    color: #ff7b72;
    padding-left: 20px;
    margin-top: 2px;
    white-space: pre-wrap;
    font-size: 0.75rem;
}

.nav-scroller[b-y9dlk2rgex] {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-scroller[b-y9dlk2rgex]::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767.98px) {
    .log-card[b-y9dlk2rgex] {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        border-radius: 0 !important;
    }

    .log-card .card-header[b-y9dlk2rgex],
    .log-card .nav-scroller[b-y9dlk2rgex] {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .log-card .card-body[b-y9dlk2rgex] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .log-container[b-y9dlk2rgex] {
        padding: 8px 12px;
        overflow-x: auto; 
        height: 400px;
        border-radius: 0 !important;
    }
    
    .log-content[b-y9dlk2rgex] {
        font-size: 0.72rem; 
    }
    
    .log-line[b-y9dlk2rgex] {
        white-space: pre-wrap;
        overflow-wrap: break-word; 
    }
}
/* /Components/PlayerInventoryViewer.razor.rz.scp.css */
.inventory-container[b-pg7vk2no1k] {
    font-family: sans-serif;
    max-width: 1000px;
    margin: auto;
    padding: 12px;
    box-sizing: border-box;
}

.filters[b-pg7vk2no1k] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input[b-pg7vk2no1k] {
    width: 100%;
    box-sizing: border-box;
}

.select-group[b-pg7vk2no1k] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.filters input[b-pg7vk2no1k],
.filters select[b-pg7vk2no1k] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 0.9rem;
}

.grid[b-pg7vk2no1k] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    justify-items: center;
}

.item-card[b-pg7vk2no1k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.15s ease-in-out;
    width: 100%;
    max-width: 120px;
}

.item-card:hover[b-pg7vk2no1k] {
    transform: scale(1.05);
}

.item-label[b-pg7vk2no1k] {
    margin-top: 6px;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 600;
    color: #333;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot[b-pg7vk2no1k] {
    border: 2px solid #555;
    background: #8b8b8b;
    border-radius: 6px;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 4px 4px 0px #a8a8a8, inset -4px -4px 0px #4a4a4a;
    box-sizing: border-box;
}

.slot img[b-pg7vk2no1k] {
    width: 65%;
    height: 65%;
    object-fit: contain;
    image-rendering: pixelated;
}

.count-badge[b-pg7vk2no1k] {
    position: absolute;
    bottom: 4px;
    right: 6px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.durability-bar[b-pg7vk2no1k] {
    position: absolute;
    bottom: 6px;
    left: 10%;
    right: 10%;
    height: 5px;
    background: black;
    border: 1px solid #222;
}

.durability-fill[b-pg7vk2no1k] {
    height: 100%;
}

.pagination[b-pg7vk2no1k] {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    align-items: center;
    gap: 10px;
}

.pag-btn[b-pg7vk2no1k] {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    min-width: 90px;
}

.pag-btn:disabled[b-pg7vk2no1k] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pag-info[b-pg7vk2no1k] {
    font-size: 0.9rem;
    text-align: center;
    color: #333;
}

.loading-screen[b-pg7vk2no1k] {
    text-align: center;
    padding: 50px;
    font-size: 1.3rem;
    color: #555;
}

.spinner[b-pg7vk2no1k] {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-b-pg7vk2no1k 1s linear infinite;
    margin: 0 auto 15px auto;
}

.modal-backdrop[b-pg7vk2no1k] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(2px);
    padding: 10px;
    box-sizing: border-box;
}

.modal-content[b-pg7vk2no1k] {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 440px;
    width: 100%;
    color: #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-title[b-pg7vk2no1k] {
    margin: 0 0 4px 0;
    color: #2c3e50;
    font-size: 1.3rem;
    padding-right: 20px;
}

.modal-id[b-pg7vk2no1k] {
    font-size: 0.75rem;
    color: #95a5a6;
    font-family: monospace;
}

.modal-divider[b-pg7vk2no1k] {
    border: 0;
    border-top: 1px solid #eee;
    margin: 12px 0;
}

.modal-close[b-pg7vk2no1k] {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.modal-close:hover[b-pg7vk2no1k] {
    color: #222;
}

.info-group[b-pg7vk2no1k] {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 10px 14px;
    margin-top: 12px;
    border-radius: 0 4px 4px 0;
}

.info-group h4[b-pg7vk2no1k] {
    margin: 0 0 6px 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.info-group p[b-pg7vk2no1k] {
    margin: 4px 0;
    font-size: 0.85rem;
}

.info-group-xp[b-pg7vk2no1k] {
    border-left-color: #34495e;
}

.xp-metrics[b-pg7vk2no1k] {
    font-size: 0.8rem;
    color: #555;
}

.modal-table[b-pg7vk2no1k] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.modal-table td[b-pg7vk2no1k] {
    padding: 6px 0;
    font-size: 0.85rem;
}

.modal-table td:first-child[b-pg7vk2no1k] {
    font-weight: bold;
    color: #7f8c8d;
    width: 40%;
}

.header-actions[b-pg7vk2no1k] {
    display: flex;
    gap: 10px;
    width: 100%;
}

.header-actions .search-input[b-pg7vk2no1k] {
    flex-grow: 1;
}

.btn[b-pg7vk2no1k] {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn:disabled[b-pg7vk2no1k] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-pg7vk2no1k] {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-pg7vk2no1k] {
    background-color: #2980b9;
}

.btn-success[b-pg7vk2no1k] {
    background-color: #2ecc71;
    color: white;
}

.btn-success:hover:not(:disabled)[b-pg7vk2no1k] {
    background-color: #27ae60;
}

.btn-danger[b-pg7vk2no1k] {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover:not(:disabled)[b-pg7vk2no1k] {
    background-color: #c0392b;
}

.edit-actions[b-pg7vk2no1k] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.edit-count-group[b-pg7vk2no1k],
.add-count-group[b-pg7vk2no1k] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.edit-input[b-pg7vk2no1k] {
    width: 80px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.add-modal[b-pg7vk2no1k] {
    display: flex;
    flex-direction: column;
}

.catalog-list[b-pg7vk2no1k] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 12px;
}

.catalog-item[b-pg7vk2no1k] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.1s;
}

.catalog-item:hover[b-pg7vk2no1k] {
    background: #e9ecef;
}

.catalog-item.selected[b-pg7vk2no1k] {
    background: #3498db;
    color: white;
}

.catalog-item.selected .cat-item-id[b-pg7vk2no1k] {
    color: #d0e8f8;
}

.cat-item-icon-wrapper[b-pg7vk2no1k] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 2px solid #555;
    background: #8b8b8b;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 2px 2px 0px #a8a8a8, inset -2px -2px 0px #4a4a4a;
    box-sizing: border-box;
}

.cat-item-icon-wrapper img[b-pg7vk2no1k] {
    width: 70%;
    height: 70%;
    object-fit: contain;
    image-rendering: pixelated;
}

.cat-item-info[b-pg7vk2no1k] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cat-item-name[b-pg7vk2no1k] {
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-item-id[b-pg7vk2no1k] {
    font-size: 0.72rem;
    color: #7f8c8d;
    font-family: monospace;
}

.add-controls[b-pg7vk2no1k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.warning-text[b-pg7vk2no1k] {
    font-size: 0.8rem;
    color: #e67e22;
    margin-top: 6px;
    display: block;
    text-align: right;
}

.modal-pagination[b-pg7vk2no1k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.btn-sm[b-pg7vk2no1k] {
    padding: 4px 10px;
    font-size: 0.8rem;
}

.text-sm[b-pg7vk2no1k] {
    font-size: 0.8rem;
}

html.dark .filters input[b-pg7vk2no1k],
html.dark .filters select[b-pg7vk2no1k],
html.dark .pag-btn[b-pg7vk2no1k] {
    background-color: #1e1e42;
    color: #d0d0e0;
    border-color: #3a3a6a;
}

html.dark .item-label[b-pg7vk2no1k],
html.dark .pag-info[b-pg7vk2no1k] {
    color: #d0d0e0;
}

html.dark .modal-content[b-pg7vk2no1k] {
    background-color: #1e1e42;
    color: #d0d0e0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

html.dark .modal-title[b-pg7vk2no1k] {
    color: #e0e0f0;
}

html.dark .modal-id[b-pg7vk2no1k] {
    color: #7a7a9a;
}

html.dark .modal-divider[b-pg7vk2no1k] {
    border-top-color: #3a3a6a;
}

html.dark .modal-close[b-pg7vk2no1k] {
    color: #7a7a9a;
}

html.dark .modal-close:hover[b-pg7vk2no1k] {
    color: #fff;
}

html.dark .info-group[b-pg7vk2no1k] {
    background-color: #16163a;
}

html.dark .info-group h4[b-pg7vk2no1k] {
    color: #e0e0f0;
}

html.dark .modal-table td:first-child[b-pg7vk2no1k] {
    color: #9a9ab0;
}

html.dark .xp-metrics[b-pg7vk2no1k] {
    color: #9a9ab0;
}

html.dark .catalog-list[b-pg7vk2no1k] {
    border-color: #3a3a6a;
}

html.dark .catalog-item[b-pg7vk2no1k] {
    background: #16163a;
}

html.dark .catalog-item:hover[b-pg7vk2no1k] {
    background: #2a2a5a;
}

html.dark .catalog-item.selected[b-pg7vk2no1k] {
    background: #3498db;
}

html.dark .cat-item-id[b-pg7vk2no1k] {
    color: #7a7a9a;
}

html.dark .add-controls[b-pg7vk2no1k] {
    background: #1e1e42;
    border-color: #3a3a6a;
}

html.dark .edit-input[b-pg7vk2no1k] {
    background: #16163a;
    color: white;
    border-color: #3a3a6a;
}

html.dark .cat-item-icon-wrapper[b-pg7vk2no1k] {
    border-color: #333;
    background: #5c5c5c;
    box-shadow: inset 2px 2px 0px #858585, inset -2px -2px 0px #333;
}


@keyframes spin-b-pg7vk2no1k {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .filters[b-pg7vk2no1k] {
        gap: 8px;
    }

    .select-group[b-pg7vk2no1k] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .grid[b-pg7vk2no1k] {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 12px;
    }

    .item-card[b-pg7vk2no1k] {
        max-width: 100px;
    }

    .item-label[b-pg7vk2no1k] {
        font-size: 0.75rem;
    }

    .count-badge[b-pg7vk2no1k] {
        font-size: 0.95rem;
        bottom: 2px;
        right: 4px;
    }

    .pagination[b-pg7vk2no1k] {
        flex-direction: column;
        gap: 12px;
    }

    .pag-btn[b-pg7vk2no1k] {
        width: 100%;
        order: 2;
    }

    .pag-info[b-pg7vk2no1k] {
        order: 1;
    }

    .total-count[b-pg7vk2no1k] {
        display: block;
        font-size: 0.8rem;
        opacity: 0.8;
        margin-top: 2px;
    }
}
