/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #f2f2f2;
}

/* layui样式增强 */
.layui-card {
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}

.layui-card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #333;
}

.layui-card-body {
    padding: 15px;
}

.layuiadmin-big-font {
    font-size: 36px;
    color: #333;
    line-height: 36px;
    padding: 5px 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
}

.layuiadmin-span-color {
    color: #009688;
}

.layuiadmin-badge {
    position: absolute;
    top: 50%;
    margin-top: -9px;
    right: 15px;
    color: #009688;
}

.layui-bg-blue {
    background-color: #009688 !important;
}

.layui-bg-orange {
    background-color: #FFB800 !important;
}

.layui-bg-green {
    background-color: #5FB878 !important;
}

.layui-bg-cyan {
    background-color: #1E9FFF !important;
}

/* 响应式优化 */
@media screen and (max-width: 768px) {
    .admin-side {
        transform: translate3d(-200px, 0, 0);
        transition: all .3s;
    }
    
    .admin-side.open {
        transform: translate3d(0, 0, 0);
    }
    
    .admin-main {
        left: 0;
    }
    
    .admin-logo {
        padding: 0 10px;
        font-size: 16px;
    }
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,.05);
}

/* 动画效果 */
.fade-in-up {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
