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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

h1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 24px;
  font-size: 24px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #eee;
}

.tab {
  flex: 1;
  padding: 16px;
  border: none;
  background: #f8f9fa;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  transition: all 0.3s;
}

.tab:hover {
  background: #e9ecef;
}

.tab.active {
  background: white;
  color: #667eea;
  border-bottom: 3px solid #667eea;
}

.panel {
  display: none;
  padding: 24px;
}

.panel.active {
  display: block;
}

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

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #667eea;
}

.btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.result {
  margin-top: 24px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 8px;
  text-align: center;
}

.result p {
  margin-bottom: 8px;
}

#suggestion-id {
  color: #667eea;
  font-size: 18px;
}

.tip {
  color: #666;
  font-size: 14px;
}

.detail-row {
  display: flex;
  margin-bottom: 12px;
}

.detail-row .label {
  font-weight: 500;
  min-width: 80px;
  color: #666;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.status-badge.待处理 { background: #fff3cd; color: #856404; }
.status-badge.处理中 { background: #cce5ff; color: #004085; }
.status-badge.已完成 { background: #d4edda; color: #155724; }
.status-badge.已拒绝 { background: #f8d7da; color: #721c24; }

.progress-section {
  margin-top: 16px;
}

.progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s;
}

#progress-text {
  color: #667eea;
  font-weight: 500;
}
