/* 主样式 */
body {
    background-color: #f8f9fa;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 表单样式 */
.form-control, .form-select {
    border-radius: 5px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 进度条样式 */
.progress {
    height: 20px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    background-color: #007bff;
    transition: width 0.5s ease;
}

/* 作品卡片 */
.work-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
    
    .btn-primary {
        width: 100%;
    }
}

/* 管理后台样式 */
.sidebar {
    background-color: #343a40;
    min-height: calc(100vh - 56px);
    padding: 20px 0;
}

.sidebar .list-group-item {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-left: 3px solid transparent;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    background-color: #495057;
    border-left-color: #007bff;
}

/* 统计卡片 */
.stat-card {
    border-radius: 10px;
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.stat-card h5 {
    font-size: 1rem;
    opacity: 0.9;
}

/* 表格样式 */
.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

.table-hover tbody tr:hover {
    background-color: rgba(0,123,255,.1);
}