/* 自定义样式 */
body {
    min-height: 100vh;
    background-color: #f5f5f5;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 视频卡片样式 */
.video-card {
    border: none;
}

.video-thumbnail {
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* 文件卡片样式 */
.file-card {
    border: none;
}

.file-icon {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 上传进度 */
#uploadProgress {
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 个人中心样式 */
.nav-pills .nav-link {
    margin-bottom: 5px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

/* 模态框样式 */
.modal-dialog {
    max-width: 80%;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 50px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 按钮间距 */
.btn-group .btn {
    margin-right: 5px;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* 分页样式 */
.pagination {
    margin-top: 30px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

/* 导航栏优化 */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-nav .nav-link strong {
    font-weight: 600;
}

/* 上传按钮优化 */
.btn-lg.shadow {
    transition: all 0.3s ease;
}

.btn-lg.shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

/* 用户下拉菜单 */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* 返回按钮 */
.btn-outline-secondary {
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    transform: translateX(-3px);
}


