/* 全局样式 */
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  margin-bottom: 25px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  opacity: 0.9;
}

/* 参数设置区样式 */
.params-section {
  background: white;
  padding: 24px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #1e293b;
  font-weight: 600;
}

.params-form {
  display: flex;
  gap: 25px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
}

.form-group select {
  padding: 6px 16px;
  min-width: 230px;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: white;
  transition: border-color 0.2s ease;
}

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

.radio-group {
  display: flex;
  gap: 16px;
  padding: 12px 0;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #667eea;
}
.button,.copy-item-btn{
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.generate-btn {
  background: #667eea;
  transition: background-color 0.2s ease;
}

.generate-btn:hover {
  background: #5a67d8;
}

.generate-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}
/* 按钮样式 */
.copy-item-btn{
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #48bb78;
}
.copy-item-btn:hover {
  background: #38a169;
}

.copy-all-btn {
  background: #4299e1;
  color: white;
}

.copy-all-btn:hover {
  background: #3182ce;
}

.copy-all-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.clear-all-btn {
  background: #e53e3e;
  color: white;
}

.clear-all-btn:hover {
  background: #c53030;
}

.clear-all-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

/* 结果展示区样式 */
.results-section {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.results-container {
  min-height: 300px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.no-results {
  color: #64748b;
  text-align: center;
  margin: auto;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.result-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  min-height: 120px;
}

.result-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.result-full {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.copy-item-btn {
  align-self: flex-end;
  margin-top: 12px;
}

/* 底部样式 */
.footer {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-top: 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.section h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 12px;
}

.section ul {
  list-style: none;
}

.section li {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 8px;
}

.section  p {
  font-size: 0.9rem;
  line-height: 1.75;
}

.contact-section {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

/* 提示框样式 */
.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c3e50;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.notice.show {
  opacity: 1;
}