/* 界面增强样式 */

/* 通知徽章样式 */
.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    display: none;
}

/* 通知项目样式 */
.notification-item {
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

/* 卡片增强样式 */
.card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 按钮增强样式 */
.btn-hover-effect {
    transition: all 0.2s;
}

.btn-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* 表格增强样式 */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 进度条样式 */
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem;
    }
}

/* 文件上传区域样式 */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s;
}

.upload-area:hover {
    border-color: #0d6efd;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

/* 状态标签样式 */
.status-badge {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

/* 页脚样式 */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1.5rem 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .notification-badge {
        top: 2px;
        right: 2px;
        padding: 1px 4px;
        font-size: 0.6rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}