/* 审核结果展示系统样式 - 复用审核系统的视觉风格 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 导出按钮容器 - 支持多按钮 */
.export-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.export-btn-small {
    padding: 8px 12px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.export-btn-small:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

.export-btn-small:active {
    transform: translateY(0);
}

/* 紧凑型筛选操作区 */
.filter-actions-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-row {
    display: flex;
    gap: 10px;
}

.search-btn-compact,
.clear-btn-compact {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.search-btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.search-btn-compact:active {
    transform: translateY(0);
}

.clear-btn-compact {
    background-color: #e74c3c;
    color: white;
}

.clear-btn-compact:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

.result-count-compact {
    background-color: #ecf0f1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
    text-align: center;
}

/* 头部样式 */
header {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: relative;
}

h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 反馈提示样式 */
.feedback-notice {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(253, 203, 110, 0.3);
    border-left: 4px solid #f39c12;
}

/* 信息更新时间样式 */
.data-update-time {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
    border-left: 4px solid #28a745;
}

.data-update-time #dataTimeText {
    color: #0d4521;
    font-weight: 700;
}

/* 操作提示样式 */
.operation-tips {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.operation-tips .tips-title {
    font-size: 16px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 10px;
}

.operation-tips .tips-content {
    font-size: 14px;
    color: #424242;
    line-height: 1.6;
}

.operation-tips .tips-content p {
    margin: 8px 0;
}

.operation-tips .tips-content strong {
    color: #1565c0;
    font-weight: 600;
}

/* 功能选项卡 */
.function-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.function-tabs .tab-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
}

/* 视图切换标签 */
.view-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #ecf0f1;
    color: #7f8c8d;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background-color: #d5dbdb;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.tab-btn.clear-btn {
    background-color: #e74c3c;
    color: white;
}

.tab-btn.clear-btn:hover {
    background-color: #c0392b;
}

/* 显示合格项开关 */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #ecf0f1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #2c3e50;
}

.toggle-label:hover {
    background-color: #d5dbdb;
}

.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 已完成卡片样式 */
.completed-card {
    opacity: 0.85;
}

.completed-card:hover {
    opacity: 1;
}

/* 已完成统计信息 */
.completed-stats {
    grid-column: 1 / -1;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-info {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

/* 恢复按钮 */
.restore-btn {
    padding: 6px 12px;
    background-color: #95a5a6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.restore-btn:hover {
    background-color: #7f8c8d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.restore-btn:active {
    transform: translateY(0);
}

/* 搜索区域样式 */
.search-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.search-section label {
    font-size: 14px;
    font-weight: 500;
    color: #34495e;
    white-space: nowrap;
}

.store-search {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.store-search:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clear-search-btn {
    padding: 10px 16px;
    background-color: #95a5a6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-search-btn:hover {
    background-color: #7f8c8d;
}

/* 筛选区域样式 */
.filter-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

/* 紧凑型筛选行 - 战区和区域经理并排 */
.filter-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-item-half {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-item-half label {
    font-size: 13px;
    font-weight: 500;
    color: #34495e;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-item label {
    font-size: 14px;
    font-weight: 500;
    color: #34495e;
}

.filter-select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover:not(:disabled) {
    border-color: #667eea;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.clear-btn {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-btn:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

.result-count {
    background-color: #ecf0f1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #34495e;
    margin-left: auto;
}

/* 结果展示区域 */
#resultsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
}

/* 欢迎消息 */
.welcome-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #fff;
}

.welcome-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.welcome-message h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.welcome-message p {
    font-size: 18px;
    opacity: 0.9;
}

/* 加载状态 */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* 空结果提示 */
.empty-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.empty-results-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.empty-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-results p {
    font-size: 16px;
    opacity: 0.9;
}

/* 检查项卡片样式 */
.result-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0;
    transition: all 0.3s;
    overflow: hidden;
}

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

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
}

.store-info {
    margin-bottom: 8px;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.store-details {
    font-size: 13px;
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.card-body {
    padding: 20px;
}

.image-container {
    width: 100%;
    height: 280px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    background-color: #f8f9fa;
}

.image-container img:hover {
    transform: scale(1.05);
}

.image-placeholder {
    color: #95a5a6;
    font-size: 14px;
    text-align: center;
}

.image-error {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
}

/* 图片加载提示 */
.image-container::after {
    content: '🔍 点击查看大图';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.image-container:hover::after {
    opacity: 1;
}

/* 审核结果状态 */
.review-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    flex-wrap: wrap;
}

.review-status.pass {
    background-color: #d5f4e6;
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

.review-status.fail {
    background-color: #fadbd8;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.status-icon {
    font-size: 20px;
}

.status-text {
    flex: 1;
    min-width: 60px;
}

/* 操作按钮容器 */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 复制按钮 */
.copy-btn {
    padding: 6px 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

/* 已处理按钮 */
.mark-done-btn {
    padding: 6px 12px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.mark-done-btn:hover {
    background-color: #229954;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.mark-done-btn:active {
    transform: translateY(0);
}

/* 分页信息 */
.pagination-info {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* 下一页按钮 */
.next-page-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.next-page-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.next-page-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 问题描述 */
.problem-note {
    margin-top: 15px;
    padding: 12px;
    background-color: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.problem-label {
    font-size: 13px;
    font-weight: 600;
    color: #856404;
    margin-bottom: 5px;
}

.problem-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
    cursor: zoom-out;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.modal-close:hover,
.modal-close:focus {
    color: #f1c40f;
    transform: scale(1.1);
}

.modal-caption {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    font-size: 16px;
    max-width: 80%;
    backdrop-filter: blur(10px);
}

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2c3e50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.success {
    background-color: #27ae60;
}

.toast.error {
    background-color: #e74c3c;
}

.toast.info {
    background-color: #3498db;
}

/* 响应式设计 - 移动端优化 */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    #resultsContainer {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
}

/* 手机设备 (最大 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 10px;
    }
    
    /* 反馈提示移动端优化 */
    .feedback-notice {
        margin: 10px;
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* 信息更新时间移动端优化 */
    .data-update-time {
        margin: 10px;
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* 头部优化 */
    header {
        padding: 15px 12px;
    }
    
    h1 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    /* 视图切换标签优化 */
    .view-tabs {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        min-width: 100px;
    }
    
    .tab-btn.clear-btn {
        flex: 1 1 100%;
        margin-left: 0 !important;
    }
    
    .toggle-label {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1 1 100%;
    }
    
    /* 搜索区域优化 */
    .search-section {
        flex-direction: column;
        padding: 10px;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .search-section label {
        font-size: 12px;
    }
    
    .store-search {
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-btn,
    .clear-search-btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    /* 筛选区域优化 */
    .filter-section {
        padding: 10px;
    }
    
    .filter-row-compact {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .filter-item-half {
        gap: 3px;
    }
    
    .filter-item-half label {
        font-size: 12px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .filter-item {
        gap: 4px;
    }
    
    .filter-item label {
        font-size: 12px;
    }
    
    .filter-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .search-btn,
    .clear-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .result-count {
        margin-left: 0;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* 结果展示区域优化 */
    #resultsContainer {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 欢迎消息优化 */
    .welcome-message {
        padding: 50px 15px;
    }
    
    .welcome-icon {
        font-size: 60px;
    }
    
    .welcome-message h2 {
        font-size: 24px;
    }
    
    .welcome-message p {
        font-size: 15px;
    }
    
    /* 空结果提示优化 */
    .empty-results {
        padding: 40px 15px;
    }
    
    .empty-results-icon {
        font-size: 50px;
    }
    
    .empty-results h3 {
        font-size: 20px;
    }
    
    .empty-results p {
        font-size: 14px;
    }
    
    /* 卡片优化 */
    .result-card {
        border-radius: 10px;
    }
    
    .card-header {
        padding: 12px 15px;
    }
    
    .store-name {
        font-size: 15px;
    }
    
    .store-details {
        font-size: 12px;
        gap: 8px;
    }
    
    .item-name {
        font-size: 16px;
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    /* 图片加载提示 */
.image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #95a5a6;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}

/* 加载更多按钮 */
.load-more-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.no-more-results {
    color: #95a5a6;
    font-size: 14px;
    padding: 10px;
}

/* 图片容器优化 */
    .image-container {
        height: 220px;
        margin-bottom: 15px;
    }
    
    /* 移除悬停提示（移动端不需要） */
    .image-container::after {
        display: none;
    }
    
    /* 审核状态优化 */
    .review-status {
        padding: 10px;
        font-size: 15px;
        flex-wrap: wrap;
    }
    
    .status-icon {
        font-size: 18px;
    }
    
    /* 操作按钮移动端优化 */
    .action-buttons {
        width: 100%;
        justify-content: flex-end;
    }
    
    .copy-btn,
    .mark-done-btn {
        padding: 8px 12px;
        font-size: 14px;
        min-height: 36px;
    }
    
    /* 分页按钮优化 */
    .next-page-btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* 问题描述优化 */
    .problem-note {
        margin-top: 12px;
        padding: 10px;
    }
    
    .problem-label {
        font-size: 12px;
    }
    
    .problem-text {
        font-size: 13px;
    }
    
    /* 模态框优化 */
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
    
    .modal-caption {
        font-size: 14px;
        padding: 10px 15px;
        max-width: 90%;
        margin-top: 15px;
    }
    
    /* Toast 提示优化 */
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* 小屏手机 (最大 480px) */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 15px 12px;
        margin-bottom: 15px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    .filter-section {
        padding: 12px;
    }
    
    .filter-select {
        padding: 12px;
        font-size: 16px;
        /* iOS 最小字体16px避免自动缩放 */
    }
    
    .search-btn,
    .clear-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .image-container {
        height: 200px;
    }
    
    .store-name {
        font-size: 14px;
    }
    
    .item-name {
        font-size: 15px;
    }
    
    .modal-close {
        font-size: 35px;
        top: 5px;
        right: 10px;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .image-container {
        height: 180px;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .welcome-message {
        padding: 30px 15px;
    }
    
    .welcome-icon {
        font-size: 50px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大可点击区域 */
    .filter-select,
    .search-btn,
    .clear-btn,
    button {
        min-height: 44px;
        /* iOS 推荐的最小触摸目标 */
    }
    
    /* 移除悬停效果 */
    .result-card:hover {
        transform: none;
    }
    
    .image-container img:hover {
        transform: none;
    }
    
    /* 点击反馈 */
    .search-btn:active {
        transform: scale(0.98);
    }
    
    .clear-btn:active {
        transform: scale(0.98);
    }
    
    .result-card:active {
        transform: scale(0.98);
    }
}

/* 门店卡片样式 */
.store-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.store-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.store-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.store-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 80px;
}

.badge-count {
    font-size: 24px;
    font-weight: bold;
}

.badge-label {
    font-size: 12px;
    margin-top: 2px;
}

.store-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-view-details, .btn-mark-done {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-details {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-mark-done {
    background-color: #27ae60;
    color: white;
}

.btn-mark-done:hover {
    background-color: #229954;
}

.store-details-panel {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ecf0f1;
}

.item-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.item-detail:last-child {
    margin-bottom: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
}

.btn-copy-item {
    padding: 5px 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.btn-copy-item:hover {
    background-color: #2980b9;
}

.item-image {
    margin: 10px 0;
    cursor: pointer;
}

.item-image img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
}

.item-problem {
    background: #fff3cd;
    padding: 10px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin-top: 10px;
    color: #856404;
}


/* ==================== 设备异常监控样式 ==================== */

/* 门店卡片紧凑布局 */
.store-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.store-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 8px;
}

.store-info {
    flex: 1;
    min-width: 0;
}

.store-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-id {
    font-size: 11px;
    color: #7f8c8d;
}

.store-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.badge {
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-war-zone {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-manager {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge-count {
    background: #ffebee;
    color: #c62828;
}

.store-body {
    margin-top: 10px;
}

.equipment-group {
    margin-bottom: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.equipment-group:last-child {
    margin-bottom: 0;
}

.equipment-group-title {
    font-size: 13px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #dee2e6;
}

.equipment-list-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.equipment-item-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-size: 12px;
}

.equipment-type-badge {
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.equipment-type-badge.type-pos {
    background: #007bff;
}

.equipment-type-badge.type-stb {
    background: #6c757d;
}

.equipment-status-badge {
    padding: 2px 6px;
    background: #dc3545;
    color: white;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
}

.equipment-name-text {
    color: #495057;
    font-size: 11px;
}

.processing-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 36px;
}

/* 列表模式样式 - 用于战区/领导查看 */
.list-mode-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-section {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .summary-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item.clickable {
    cursor: pointer;
}

.stat-item.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-item.clickable:active {
    transform: translateY(0);
}

.stat-item.active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.stat-item.pending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-item.completed {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    opacity: 0.95;
    font-weight: 500;
}

.stat-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-item {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.detail-item.clickable {
    cursor: pointer;
}

.detail-item.clickable:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.detail-item.clickable:active {
    transform: scale(0.98);
}

.detail-item.active {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.detail-item.recovered {
    background: rgba(40, 167, 69, 0.3);
}

.detail-item.not-recovered {
    background: rgba(255, 193, 7, 0.3);
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-filter-btn {
    padding: 4px 12px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-filter-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.clear-filter-btn:active {
    transform: translateY(0);
}

.filter-hint {
    background: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    border-left: 4px solid #ffc107;
}

/* 列表模式门店卡片 */
#storeListContainer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 1200px) {
    #storeListContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

.store-list-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s;
}

.store-list-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.store-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.store-list-info {
    flex: 1;
    min-width: 0;
}

.store-list-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.store-list-meta {
    font-size: 11px;
    color: #7f8c8d;
}

.store-list-status {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.store-list-equipment {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.equipment-type-section {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
}

.equipment-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.equipment-type-title {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.equipment-count {
    font-size: 11px;
    color: #6c757d;
}

.equipment-compact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.equipment-compact-item {
    padding: 3px 6px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-size: 11px;
    color: #495057;
}

.equipment-type-badge {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.equipment-type-badge.type-pos {
    background: #007bff;
}

.equipment-type-badge.type-stb {
    background: #6c757d;
}

.equipment-status-badge {
    padding: 2px 8px;
    background: #dc3545;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.equipment-name-text {
    color: #666;
    font-size: 12px;
}

.processing-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.action-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 44px;
}

.btn-processed {
    background: #28a745;
    color: white;
}

.btn-processed:hover {
    background: #218838;
}

.btn-processed:active {
    transform: scale(0.98);
}

.btn-not-cooperate {
    background: #dc3545;
    color: white;
}

.btn-not-cooperate:hover {
    background: #c82333;
}

.btn-not-cooperate:active {
    transform: scale(0.98);
}

.btn-special {
    background: #ffc107;
    color: #000;
}

.btn-special:hover {
    background: #e0a800;
}

.btn-special:active {
    transform: scale(0.98);
}

.reason-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.reason-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.reason-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.reason-submit-btn,
.reason-cancel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 44px;
}

.reason-submit-btn {
    background: #007bff;
    color: white;
}

.reason-submit-btn:hover {
    background: #0056b3;
}

.reason-submit-btn:active {
    transform: scale(0.98);
}

.reason-cancel-btn {
    background: #6c757d;
    color: white;
}

.reason-cancel-btn:hover {
    background: #545b62;
}

.reason-cancel-btn:active {
    transform: scale(0.98);
}

.processing-status {
    padding: 8px 10px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.processing-status.status-processed {
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.processing-status.status-not-cooperate {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

.processing-status.status-special {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
}

.status-label {
    font-weight: 600;
    font-size: 13px;
}

.status-reason {
    color: #666;
    font-size: 11px;
    margin-left: 4px;
}

.edit-processing-btn {
    padding: 3px 8px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
    margin-left: 8px;
}

.edit-processing-btn:hover {
    background: #5a6268;
}

.edit-processing-btn:active {
    transform: scale(0.95);
}

.processing-time {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-top: 20px;
}

.pagination-btn {
    padding: 10px 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 44px;
}

.pagination-btn:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-1px);
}

.pagination-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.export-btn {
    padding: 10px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 44px;
}

.export-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.export-btn:active {
    transform: scale(0.98);
}

/* ==================== 移动端设备异常优化 ==================== */

@media (max-width: 768px) {
    
    /* 导出按钮移动端 */
    .export-container {
        top: 10px;
        right: 10px;
    }
    
    .export-btn-small {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    /* 紧凑型操作按钮 */
    .filter-actions-compact {
        gap: 8px;
    }
    
    .action-row {
        gap: 8px;
    }
    
    .search-btn-compact,
    .clear-btn-compact {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .result-count-compact {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* 门店卡片移动端优化 */
    .store-card {
        padding: 10px;
        border-radius: 6px;
    }
    
    .store-header {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .store-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .store-name {
        font-size: 14px;
    }
    
    .store-id {
        font-size: 10px;
    }
    
    .badge {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .equipment-group {
        padding: 6px;
        margin-bottom: 8px;
    }
    
    .equipment-group-title {
        font-size: 12px;
        margin-bottom: 4px;
        padding-bottom: 3px;
    }
    
    .equipment-list-items {
        gap: 4px;
        margin-top: 4px;
    }
    
    .equipment-item-inline {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    .equipment-status-badge {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .equipment-name-text {
        font-size: 10px;
    }
    
    .processing-actions {
        gap: 4px;
        margin-top: 6px;
    }
    
    .action-btn {
        padding: 8px 10px;
        font-size: 12px;
        min-height: 36px;
    }
    
    .processing-status {
        padding: 6px 8px;
        margin-top: 6px;
        font-size: 11px;
    }
    
    .status-label {
        font-size: 12px;
    }
    
    .status-reason {
        font-size: 10px;
    }
    
    .edit-processing-btn {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .processing-time {
        font-size: 9px;
        margin-top: 2px;
    }
    
    /* 列表模式移动端优化 */
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-item.active {
        transform: scale(1.02);
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .stat-detail {
        flex-direction: row;
        gap: 6px;
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .detail-item {
        flex: 1;
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .summary-title {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .clear-filter-btn {
        width: 100%;
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .filter-hint {
        font-size: 12px;
        padding: 6px 10px;
        margin-top: 8px;
    }
    
    .store-list-item {
        padding: 10px;
    }
    
    .store-list-name {
        font-size: 14px;
    }
    
    .store-list-meta {
        font-size: 10px;
    }
    
    .equipment-type-section {
        padding: 6px;
    }
    
    .equipment-type-title {
        font-size: 12px;
    }
    
    .equipment-count {
        font-size: 10px;
    }
    
    .equipment-compact-item {
        font-size: 10px;
        padding: 2px 5px;
    }
    /* 功能选项卡移动端优化 */
    .function-tabs {
        gap: 6px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .function-tabs .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
    }
    
    /* 门店卡片移动端优化 */
    .store-card {
        padding: 15px;
        border-radius: 10px;
    }
    
    .store-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .store-info {
        width: 100%;
    }
    
    .store-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 6px;
    }
    
    .store-id {
        font-size: 13px;
        color: #666;
    }
    
    .store-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }
    
    .badge {
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }
    
    .badge-war-zone {
        background: #e3f2fd;
        color: #1976d2;
    }
    
    .badge-manager {
        background: #f3e5f5;
        color: #7b1fa2;
    }
    
    .badge-count {
        background: #ffebee;
        color: #c62828;
        font-weight: 600;
    }
    
    .store-badge {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 12px;
    }
    
    .badge-count {
        font-size: 20px;
    }
    
    .badge-label {
        font-size: 13px;
        margin-top: 0;
    }
    
    /* 设备列表移动端优化 */
    .equipment-list-items {
        gap: 6px;
        margin-top: 12px;
    }
    
    .equipment-item-inline {
        padding: 8px 12px;
        font-size: 13px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .equipment-type-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .equipment-status-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .equipment-name-text {
        font-size: 13px;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* 处理按钮移动端优化 */
    .processing-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* 原因输入移动端优化 */
    .reason-input-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .reason-input {
        width: 100%;
        min-width: auto;
        padding: 12px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .reason-submit-btn,
    .reason-cancel-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* 处理状态移动端优化 */
    .processing-status {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-label {
        font-size: 14px;
        display: block;
        margin-bottom: 4px;
    }
    
    .status-reason {
        font-size: 13px;
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
    
    .edit-processing-btn {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .processing-time {
        font-size: 11px;
        margin-top: 6px;
    }
    
    /* 操作提示移动端优化 */
    .operation-tips {
        margin: 10px;
        padding: 12px 15px;
    }
    
    .operation-tips .tips-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .operation-tips .tips-content {
        font-size: 13px;
    }
    
    .operation-tips .tips-content p {
        margin: 6px 0;
    }
    
    /* 门店操作按钮移动端优化 */
    .store-card-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }
    
    .btn-view-details,
    .btn-mark-done {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* 分页移动端优化 */
    .pagination-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }
    
    .pagination-btn {
        flex: 1;
        min-width: 100px;
        padding: 12px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .page-info {
        width: 100%;
        text-align: center;
        font-size: 13px;
        order: -1;
    }
    
    /* 导出按钮移动端优化 */
    .export-btn {
        padding: 12px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* 门店详情面板移动端优化 */
    .store-details-panel {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .item-detail {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .item-name {
        font-size: 14px;
    }
    
    .btn-copy-item {
        width: 100%;
        padding: 8px 12px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .item-image img {
        max-height: 250px;
    }
    
    .item-problem {
        padding: 10px;
        font-size: 13px;
    }
}

/* 小屏手机设备异常优化 */
@media (max-width: 480px) {
    .store-card {
        padding: 12px;
    }
    
    .store-name {
        font-size: 15px;
    }
    
    .store-id {
        font-size: 12px;
    }
    
    .badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .equipment-item-inline {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .equipment-type-badge,
    .equipment-status-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .equipment-name-text {
        font-size: 12px;
    }
    
    .action-btn {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .reason-input {
        font-size: 14px;
        padding: 10px;
    }
    
    .reason-submit-btn,
    .reason-cancel-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .btn-view-details,
    .btn-mark-done {
        font-size: 14px;
        padding: 10px;
    }
    
    .pagination-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .export-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* 触摸设备设备异常优化 */
@media (hover: none) and (pointer: coarse) {
    .action-btn,
    .reason-submit-btn,
    .reason-cancel-btn,
    .btn-view-details,
    .btn-mark-done,
    .pagination-btn,
    .export-btn {
        min-height: 48px;
    }
    
    .reason-input {
        min-height: 48px;
        font-size: 16px;
        /* iOS 避免自动缩放 */
    }
    
    /* 移除悬停效果 */
    .store-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    /* 点击反馈 */
    .action-btn:active,
    .btn-view-details:active,
    .btn-mark-done:active,
    .pagination-btn:active:not(:disabled),
    .export-btn:active {
        transform: scale(0.97);
    }
    
    .store-card:active {
        transform: scale(0.99);
    }
}

/* ==================== 横向紧凑卡片布局 ==================== */

.store-card-horizontal {
    background: white;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 60px;
}

.store-card-horizontal:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

/* 左侧：门店信息 */
.store-info-section {
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 220px;
}

.store-name-compact {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-meta-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 11px;
    color: #7f8c8d;
    padding: 2px 6px;
    background: #ecf0f1;
    border-radius: 3px;
}

.meta-badge {
    font-size: 11px;
    font-weight: 600;
    color: #c62828;
    padding: 2px 6px;
    background: #ffebee;
    border-radius: 3px;
}

/* 中间：设备信息 */
.equipment-info-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.equipment-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.equipment-type-label {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.equipment-items-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.equipment-chip {
    padding: 2px 6px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-size: 11px;
    color: #495057;
    white-space: nowrap;
}

/* 右侧：操作按钮 */
.actions-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-compact {
    flex: 1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-compact.status-success {
    background: #d4edda;
    color: #155724;
}

.status-compact.status-warning {
    background: #fff3cd;
    color: #856404;
}

.btn-edit-compact {
    padding: 4px 8px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-edit-compact:hover {
    background: #5a6268;
}

.btn-edit-compact:active {
    transform: scale(0.95);
}

.action-buttons-compact {
    display: flex;
    gap: 4px;
}

.btn-action-compact {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-action-compact.btn-success {
    background: #28a745;
    color: white;
}

.btn-action-compact.btn-success:hover {
    background: #218838;
}

.btn-action-compact.btn-warning {
    background: #ffc107;
    color: #000;
}

.btn-action-compact.btn-warning:hover {
    background: #e0a800;
}

.btn-action-compact:active {
    transform: scale(0.98);
}

.reason-input-compact {
    display: flex;
    gap: 4px;
    align-items: center;
}

.input-reason-compact {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    min-width: 100px;
}

.input-reason-compact:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.btn-submit-compact,
.btn-cancel-compact {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-submit-compact {
    background: #007bff;
    color: white;
}

.btn-submit-compact:hover {
    background: #0056b3;
}

.btn-cancel-compact {
    background: #6c757d;
    color: white;
}

.btn-cancel-compact:hover {
    background: #545b62;
}

.btn-submit-compact:active,
.btn-cancel-compact:active {
    transform: scale(0.98);
}

/* ==================== 横向紧凑布局移动端优化 ==================== */

@media (max-width: 768px) {
    .store-card-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }
    
    .store-info-section {
        min-width: auto;
        max-width: none;
    }
    
    .store-name-compact {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .store-meta-inline {
        gap: 8px;
    }
    
    .meta-item,
    .meta-badge {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .equipment-info-section {
        gap: 8px;
    }
    
    .equipment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .equipment-type-label {
        font-size: 13px;
    }
    
    .equipment-items-inline {
        width: 100%;
    }
    
    .equipment-chip {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .actions-section {
        min-width: auto;
        gap: 8px;
    }
    
    .action-group {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .status-compact {
        padding: 8px 12px;
        font-size: 13px;
        text-align: center;
    }
    
    .btn-edit-compact {
        width: 100%;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .action-buttons-compact {
        flex-direction: column;
        gap: 6px;
    }
    
    .btn-action-compact {
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .reason-input-compact {
        flex-direction: column;
        gap: 6px;
    }
    
    .input-reason-compact {
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .btn-submit-compact,
    .btn-cancel-compact {
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .store-card-horizontal {
        padding: 10px;
    }
    
    .store-name-compact {
        font-size: 14px;
    }
    
    .meta-item,
    .meta-badge {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .equipment-type-label {
        font-size: 12px;
    }
    
    .equipment-chip {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .status-compact {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .btn-edit-compact {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .btn-action-compact {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 40px;
    }
    
    .input-reason-compact {
        font-size: 13px;
        padding: 8px 10px;
        min-height: 40px;
    }
    
    .btn-submit-compact,
    .btn-cancel-compact {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 40px;
    }
}

/* 触摸设备横向紧凑布局优化 */
@media (hover: none) and (pointer: coarse) {
    .btn-action-compact,
    .btn-submit-compact,
    .btn-cancel-compact,
    .btn-edit-compact {
        min-height: 44px;
    }
    
    .input-reason-compact {
        min-height: 44px;
        font-size: 16px; /* iOS 避免自动缩放 */
    }
    
    /* 移除悬停效果 */
    .store-card-horizontal:hover {
        transform: none;
    }
    
    /* 点击反馈 */
    .store-card-horizontal:active {
        transform: scale(0.99);
    }
    
    .btn-action-compact:active,
    .btn-submit-compact:active,
    .btn-cancel-compact:active,
    .btn-edit-compact:active {
        transform: scale(0.96);
    }
}


/* ==================== 经常出问题标记样式 ==================== */

.chronic-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.4);
    animation: pulse-chronic 2s ease-in-out infinite;
}

@keyframes pulse-chronic {
    0%, 100% {
        box-shadow: 0 2px 6px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 107, 107, 0.7);
    }
}

.chronic-store {
    border-left: 4px solid #ff6b6b;
}

.stat-item.chronic {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

/* ==================== 预计恢复日期弹窗样式 ==================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 2px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #ecf0f1;
    color: #2c3e50;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-group .required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #7f8c8d;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 2px solid #ecf0f1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 40px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* ==================== 移动端弹窗优化 ==================== */

@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-control {
        padding: 12px;
        font-size: 15px;
        min-height: 44px;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    .form-text {
        font-size: 11px;
    }
    
    .modal-footer {
        padding: 14px 20px;
        flex-direction: column-reverse;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .chronic-badge {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 4px;
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        width: 98%;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 14px 16px;
    }
    
    .modal-header h3 {
        font-size: 15px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .form-control {
        font-size: 16px; /* iOS 避免自动缩放 */
    }
}

/* 触摸设备弹窗优化 */
@media (hover: none) and (pointer: coarse) {
    .form-control {
        min-height: 48px;
        font-size: 16px; /* iOS 避免自动缩放 */
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .btn {
        min-height: 48px;
    }
    
    .modal-close-btn {
        width: 44px;
        height: 44px;
    }
}
