* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.login-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 400px;
}

.login-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.login-tip {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

.layui-body {
    left: 200px;
    right: 0;
    top: 60px;
    bottom: 44px;
    overflow: hidden;
}

.layui-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.layui-side {
    width: 200px;
}

.layui-nav-tree {
    width: 200px;
}

.layui-nav-tree .layui-nav-item a {
    height: 44px;
    line-height: 44px;
}

.layui-nav-tree .layui-nav-item dd a {
    height: 40px;
    line-height: 40px;
    padding-left: 45px;
}

.layui-logo {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 60px;
    padding: 0 20px;
}

.page-container {
    padding: 20px;
}

.toolbar {
    margin-bottom: 15px;
}

.toolbar .layui-form-item {
    display: inline-block;
    margin-bottom: 10px;
}

.toolbar .layui-form-label {
    width: auto;
    padding: 0 10px;
}

.toolbar .layui-input-inline {
    width: 150px;
}

.search-form {
    background: #f2f2f2;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.page-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.page-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.info-box {
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background: #fafafa;
    margin-bottom: 15px;
}

.info-box .info-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #e6e6e6;
}

.info-box .info-item:last-child {
    border-bottom: none;
}

.info-box .info-label {
    width: 120px;
    color: #666;
}

.info-box .info-value {
    flex: 1;
    color: #333;
}

.stat-card {
    display: inline-block;
    padding: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
    min-width: 180px;
}

.stat-card .stat-title {
    font-size: 14px;
    opacity: 0.9;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
}

.stat-card.green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-card.orange {
    background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
}

.stat-card.blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.layui-table-view {
    margin: 0;
}

.layui-table-box {
    overflow: auto;
}

.img-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.img-preview {
    max-width: 300px;
    max-height: 300px;
}

.tag-item {
    display: inline-block;
    padding: 2px 8px;
    background: #5fb878;
    color: #fff;
    border-radius: 3px;
    margin: 2px;
    font-size: 12px;
}
