/* 自定义后台管理样式 */

/* 头部样式 */
.layui-header {
    background-color: #393D49;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.layui-logo {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    /* background-color: #393D49 !important; */
    width: auto !important;
    min-width: 180px !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 20px !important;
    height: 60px !important;
    line-height: 60px !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

/* 用户信息样式 */
.user-info {
    display: flex;
    align-items: center;
}

.user-info .layui-nav-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
}

/* 左侧菜单样式 */
.layui-side {
    background-color: #393D49;
    left: auto !important;
    margin-left: 0 !important;
}

.layui-nav-tree {
    background-color: #393D49;
}

.layui-nav-tree .layui-nav-item a {
    color: #fff;
}

.layui-nav-tree .layui-nav-item a:hover {
    background-color: #2F333E;
}

.layui-nav-tree .layui-nav-itemed > a {
    /* background-color: #1E9FFF; */
}

.layui-nav-tree .layui-nav-child a {
    color: #999;
}

.layui-nav-tree .layui-nav-child a:hover {
    background-color: #2F333E;
    color: #fff;
}

.layui-nav-tree .layui-nav-child dd.layui-this a {
    background-color: #16baaa;
    color: #fff;
}

/* 右侧内容区样式 */
.layui-body {
    background-color: #F2F2F2;
}

.layui-content {
    padding: 5px;
}

.layui-content-body {
    background-color: #fff;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 欢迎信息样式 */
.welcome-container {
    text-align: center;
    padding: 60px 20px;
}

.welcome-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.welcome-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* 数据概览样式 */
.data-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.data-card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.data-number {
    font-size: 32px;
    font-weight: bold;
    color: #1E9FFF;
    margin-bottom: 10px;
}

.data-label {
    font-size: 14px;
    color: #666;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .layui-logo {
        font-size: 14px;
    }
    
    .user-info span {
        display: none;
    }
    
    .data-overview {
        flex-direction: column;
    }
    
    .data-card {
        min-width: auto;
    }
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 表格样式 */
.layui-table {
    margin-top: 20px;
}

.layui-btn+.layui-btn {
    margin-left: 5px !important;
}

.layui-table-tool{
    background-color: #F2F2F2;
    border-style: solid;
    border-color: #e6e6e6;
}

.layui-form-item {
    margin-bottom: 5px;
}

.layui-logo{
    color: #fff !important;
}