/* ===== 查看详情模态框 ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.show { display: flex; }
.modal-container {
  background: #fff; border-radius: 12px; width: 100%;
  max-width: 680px; max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  animation: slideUp 0.25s ease;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid #eee;
}
.modal-title { font-size: 18px; font-weight: 700; color: #2c3e50; margin: 0; }
.modal-close {
  background: none; border: none; font-size: 26px; line-height: 1;
  color: #95a5a6; cursor: pointer; padding: 0 4px;
  transition: color 0.15s;
}
.modal-close:hover { color: #e74c3c; }
.modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 14px 24px; border-top: 1px solid #eee;
  display: flex; justify-content: flex-end;
}

/* 详情内容样式 */
.detail-section { margin-bottom: 18px; }
.detail-section:last-child { margin-bottom: 0; }
.detail-section-title {
  font-size: 14px; font-weight: 700; color: #4472C4;
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid #4472C4;
}
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.detail-item { font-size: 13px; line-height: 1.6; }
.detail-label { color: #7f8c8d; }
.detail-value { color: #2c3e50; font-weight: 500; word-break: break-all; }

@media (max-width: 600px) {
  .detail-grid { grid-template-columns: 1fr; }
  .modal-container { max-height: 90vh; }
}

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

/* 后台公共样式 */
:root { --primary: #4472C4; --primary-dark: #2a56a0; --success: #70AD47; --danger: #e74c3c; --warning: #f39c12; }
.hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
body { background: #f0f4f8; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
