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

body {
  background-color: #f1f2f3;
}

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

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

header {
  text-align: center;
  position: relative;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.4rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

header p{
  font-size: 1rem;
  opacity: 0.9;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.6;
}

/* 生成器部分 */
 .container h3 {
    font-size: 20px;
	line-height: 1;
    color: #555;
	margin-bottom: 15px;
}

.box-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.form-container {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
	margin-bottom: 20px;
}

.input-group {
    flex: 1;
    min-width: 300px;
}

.input-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

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

/* 按钮样式 */
.control-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.copy-button {
    background-color: #28a745;
    color: white;
}

.copy-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.clear-button {
    background-color: #6c757d;
    color: white;
}

.clear-button:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}
.result-content {
    min-height: 300px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.result-content h2{
	text-align: center;
	font-size: 22px;
	margin-bottom: 10px;
}

/* 底部样式 */
.about-section p {
    margin-top: 10px;
    line-height: 1.5;
    color: #6c757d;
}
.dictionary-section{
	margin-top: 20px;
}
/* 词典标签 */
.dictionary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background-color: #e7f3ff;
    color: #0056b3;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-1px);
}

/* 免责声明 */
.disclaimer {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0 0;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
}

.disclaimer p {
    color: #dc3545;
    font-size: 16px;
}

/* 提示框样式 */
.notice {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.notice.show {
    opacity: 1;
}

/* 结果内容中的段落样式 */
.result-content p {
    margin-bottom: 15px;
}

/* 加载动画 */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
    color: #667eea;
}