/* 公共样式 */

/* 表格样式优化 */
.dataTables_wrapper {
    margin-top: 20px;
}

/* 按钮组样式 */
.btn-group-actions {
    display: flex;
    gap: 5px;
}

/* 状态标签 */
.badge-status {
    padding: 5px 10px;
    font-size: 12px;
}

/* 卡片样式 */
.card-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 表单样式 */
.form-group-required label::after {
    content: " *";
    color: #dc3545;
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式表格 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 12px;
    }
}

