body {
    margin: 0;
}
.zui-no-hover {
    pointer-events: none;
}
.zui-text-center {
    text-align: center;
}
.zui-text-right {
    text-align: right;
}

.zui-white {
    color: white;
}
.zui-black {
    color: black;
}
.zui-bg-white {
    background-color: white;
}
.zui-bg-black {
    background-color: black;
}
.zui-bg-blue {
    background-color: lightblue;
}

.zui-iframe {
    border: none;
    width: 100%;
    height: calc(100vh - 120px);
}

.zui-panel-side, .zui-panel-side-body {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: auto;
}
.zui-panel-side {
    width: 100%;
    left: -100%;
    right: 0;
    background-color: rgba(54, 50, 50, 0.5);
    z-index: 1000;
}
.zui-panel-side-body {
    width: auto;
    right: 40%;
    background-color: white;
    overflow: scroll;
}
.zui-grid {
    display: grid;
    grid-column-gap: 2px;
    grid-template-columns: auto auto auto;
}
.zui-grid > div {
    min-width: 290px;
}
.clickable {
    color: #0d6efd;
}
.clickable:hover {
    cursor: pointer;
    text-decoration: underline;
}
/* Style for the overlay background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Style for the popup content */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    height: 90%;
    overflow: auto;
    text-align: center;
    z-index: 1001;
}
.layui-nav > .zui-panel-side-open, .zui-panel-side-open{
    display: none;
}
@media screen and (max-width:768px){
    .layui-nav > .zui-panel-side-open, .zui-panel-side-open {
        display: inline-block;
    }
    .layui-layout-left {
        left: 0;
    }
}
@media screen and (min-width:768px){
    .zui-panel-side {
        display: none;
    }
}
@media only screen and (max-width: 668px) {
    .zui-grid {
        grid-template-columns: auto;
    }
}
@media only screen and (min-width: 668px) {
    .zui-grid {
        grid-template-columns: auto auto;
    }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .zui-grid {
        grid-template-columns: auto auto auto;
    }
}
/* Extra large devices (large laptops and desktops, 1280px and up) */
@media only screen and (min-width: 1280px) {
    .zui-grid {
        grid-template-columns: auto auto auto auto;
    }
}
/*layui.css 的覆盖 Start*/
.layui-header {
    height: 48px;
}
.layui-body {
    bottom: 32px;
}
.layui-layout-admin .layui-body {
    top: 48px;
    padding-bottom: 0;
}
.layui-layout-admin .layui-logo {
    color: white;
}
.layui-layout-admin .layui-footer {
    height: 32px;
    line-height: 32px;
}
.layui-body, .layui-layout-admin .layui-footer{
    left: 0;
}
.layui-nav {
    padding: 0 10px;
}
.layui-nav .layui-nav-item,.layui-layout-admin .layui-logo {
    line-height: 48px;
}
.layui-layout-left {
    right: 200px;
}
.layui-nav-child {
    top: 44px;
}
.layui-menu-body-panel {
    margin-left: 1px;
}
.layui-tab {
    margin: 0;
}
.layui-tab-content {
    padding: 0;
}
.layui-btn {
    border: none;
    box-shadow: 0 0 2px #999999;
}
.layui-btn:hover {
    box-shadow: 0 0 4px #252424;
}
.layui-btn:active {
    box-shadow: 0 0 8px #0C0C0C;
}
/* Custom hover style for layui table rows */
.layui-table-view .layui-table-body tr:hover, .layui-table[lay-even] tbody tr:nth-child(even):hover {
    background-color: #afd4f4; /* Change to your desired hover color */
}
/*layui.css 的覆盖 End*/
