/* 结果管理页面专用样式 */
.results-container {
    padding: 20px 0;
}

.record-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.record-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.record-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8f9fa;
}

.record-body {
    padding: 0;
}

.record-body h6 {
    color: #2E7D32;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 40px 0;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.batch-actions {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.filter-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pagination-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* 详情模态框样式 */
.detail-view {
    padding: 10px 0;
}

.detail-view .row {
    margin-bottom: 15px;
}

.detail-view strong {
    color: #495057;
    font-weight: 600;
}

/* 按钮组样式 */
.btn-group .btn {
    margin: 0 2px;
}

.btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .record-card {
        padding: 12px;
    }

    .record-body .row {
        flex-direction: column;
    }

    .record-body .col-md-4 {
        margin-top: 12px;
        text-align: left !important;
    }

    .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .btn-group .btn {
        flex: 1;
        min-width: 80px;
        font-size: 0.8rem;
    }

    .filter-section {
        padding: 16px;
    }

    .batch-actions {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .results-container {
        padding: 10px 0;
    }

    .record-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .record-header .d-flex {
        width: 100%;
        justify-content: space-between;
    }

    .empty-state {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .empty-state i {
        font-size: 3rem;
    }
}

/* 复选框样式优化 */
.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-check-input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* 徽章样式优化 */
.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* 加载状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 删除动画 */
.record-card {
    transition: all 0.3s ease;
}

.record-card.fade-out {
    opacity: 0;
    transform: translateX(-100%);
}

/* 模态框样式优化 */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* 进度条样式 */
.progress {
    height: 8px;
    margin: 8px 0;
}

.progress-bar {
    background: linear-gradient(90deg, #28a745, #20c997);
}