﻿/* ========================================
   巡检/点检模块统一样式
   ======================================== */

/* 计划卡片 */
.inspection-plan-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

    .inspection-plan-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

/* 过滤工具条 */
.filter-toolbar .card-body {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border-radius: 6px;
}

.filter-toolbar .form-label {
    font-weight: 500;
    color: #495057;
    min-width: 80px;
}

/* 编辑器标题栏 */
.editor-header-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-left: 4px solid #0d6efd;
}

    .editor-header-bar h5 {
        color: #0d6efd;
        font-weight: 600;
    }

/* 工作操作栏 */
.work-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

    .work-action-bar button {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }

/* 统计徽章 */
.inspection-summary-badge {
    font-size: 0.875rem;
    padding: 0.35rem 0.7rem;
    font-weight: 500;
}

/* 表格优化 */
.inspection-table {
    font-size: 0.875rem;
}

    .inspection-table thead th {
        background: #f8f9fa;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #dee2e6;
    }

    .inspection-table tbody tr:hover {
        background-color: #f1f3f5;
    }

/* 状态徽章 */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* 空状态 */
.empty-state {
    padding: 3rem 2rem;
    text-align: center;
    color: #6c757d;
}

    .empty-state i {
        font-size: 4rem;
        color: #dee2e6;
        margin-bottom: 1rem;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-toolbar .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .filter-toolbar .form-label {
        min-width: auto;
    }

    .editor-header-bar .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .work-action-bar {
        justify-content: center;
    }
}
