/* 移动端陈列管理页面样式 */

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.action-card {
    border-radius: 16px;
    padding: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

.action-card.success {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-icon {
    margin-bottom: 12px;
}

.card-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-text p {
    font-size: 13px;
    opacity: 0.9;
}

/* 任务区域 */
.task-section {
    margin-bottom: 24px;
}

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

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge.urgent {
    background: #fef3c7;
    color: #d97706;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.task-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.task-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.task-priority {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    align-self: flex-start;
}

.task-priority.high {
    background: #fef2f2;
    color: #dc2626;
}

.task-priority.medium {
    background: #fef3c7;
    color: #d97706;
}

.task-deadline {
    font-size: 12px;
    color: #6b7280;
}

.task-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 12px;
    color: #6b7280;
    min-width: 60px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s;
}

.progress-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    min-width: 35px;
    text-align: right;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

.btn-small.btn-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

/* 分析区域 */
.analytics-section {
    margin-bottom: 24px;
}

.heatmap-preview {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.heatmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.heatmap-score {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.heat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    background: #f9fafb;
    cursor: pointer;
    transition: transform 0.2s;
}

.heat-cell:active {
    transform: scale(0.95);
}

.heat-indicator {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.heat-cell.hot .heat-indicator {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.heat-cell.warm .heat-indicator {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.heat-cell.cool .heat-indicator {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.heat-cell span {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
}

.heatmap-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.hot {
    background: #ef4444;
}

.legend-dot.warm {
    background: #f59e0b;
}

.legend-dot.cool {
    background: #3b82f6;
}

/* 上传区域 */
.upload-section {
    margin-bottom: 80px;
}

.btn-upload {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.photo-item {
    position: relative;
}

.photo-thumb {
    aspect-ratio: 1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.photo-thumb:active .photo-overlay {
    opacity: 1;
}

.photo-date {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
}

.btn-text {
    background: none;
    border: none;
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
