/* 基础Flex布局类 - 确保与LayUI兼容 */
.flex {
    display: flex;
}

.flex-direction-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-space-between {
    justify-content: space-between;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

/* 左侧导航栏美化 */
.layui-layout-admin .layui-side {
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
}

/* Logo美化 */
.layui-layout-admin .layui-logo {
   /* background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);*/
    color: white;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

/* 导航菜单美化 */
.layui-nav {
    background: transparent;
}

.layui-nav .layui-nav-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    /*padding: 15px 20px;*/
    transition: all 0.3s ease;
}

.layui-nav .layui-nav-item a:hover {
    background: rgba(79, 70, 229, 0.2);
    color: white;
}

.layui-nav .layui-nav-item.layui-this a,
.layui-nav .layui-nav-item.layui-this a:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.layui-nav .layui-nav-icon {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 8px;
}

.layui-card-header .layui-card-header-postion {
    position: absolute;
}

.layui-card-header .layui-card-header-left {
    width: 70%;
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.layui-card-header .layui-card-header-right {
    width: 30%;
    text-align: right;
    float: right;
}

.layui-card-header .card-enter-bg {
    height: 20px;
    width: 20px;
}
.layui-card {
    cursor: pointer;
}

.layui-card .layui-card-body-content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.button-plan {
    width: 85%;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(242, 153, 74, 0.3);
}

.button-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 153, 74, 0.4);
}

.button-login {
    width: 85%;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.button-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.font-color-white {
    color: #ffffff;
    font-weight: 600;
}

.font-color-danger {
    color: #ff6b6b;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.font-color-danger:hover {
    color: #ff5252;
    text-decoration: underline;
}

.line-height-30 {
    line-height: 30px;
}

.hidden {
    display: none;
}

/* 底部区域样式 */
.layui-side-scroll .margin-bottom-50 {
    padding: 15px 10px;
    margin-bottom: 20px;
}

/* 登录前区域美化 */
.login-before {
    padding: 10px 0;
}

/* 登录后区域美化 */
.login-after {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.username {
    /*font-size: 16px;*/
    font-weight: 700;
    color: white;
    /*margin-bottom: 12px;*/
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.logout {
    margin: 8px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logout:hover {
    background: rgba(255, 107, 107, 0.2);
    color: white;
}

.points {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    margin: 8px 0;
    transition: all 0.3s ease;
}

.points:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* VIP升级按钮美化 */
.vip-show {
    margin-top: 15px;
}

.recharge {
    color: #f59e0b;
    cursor: pointer;
    margin-left: 5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.recharge:hover {
    color: #fbbf24;
}
