.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-color);
}

.tab-btn.active {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

/* 标签内容 */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* 文本输入区域 */
.input-area {
  margin-bottom: 20px;
}

.input-area textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  resize: vertical;
}

/* 文件上传区域 */
.upload-area {
  margin-bottom: 20px;
}

.file-upload-container {
  width: 100%;
}

.dropzone {
  border: 2px dashed var(--border-color);
  border-radius: 4px;
  padding: 30px;
  text-align: center;
  margin-bottom: 10px;
}

.dropzone.active {
  border-color: var(--primary-color);
  background-color: rgba(74, 144, 226, 0.1);
}

.file-info {
  margin-top: 10px;
}

/* 中央子午线区域 */
.common-content {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.meridian-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.option-group {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 15px;
}

.added-items {
  margin-top: 15px;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 10px;
}

.added-items h5 {
  margin-bottom: 10px;
}

.added-items ul {
  list-style: none;
  padding: 10px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  min-height: 100px;
  max-height: 150px;
  overflow-y: auto;
}

.action-buttons {
  display: flex;
  justify-content: center;
}

.action-buttons .button.primary {
  padding: 10px 40px;
  font-size: 16px;
}

/* 输入组样式 */
.input-group {
  position: relative;
  width: 100%;
}

/* 清空按钮样式 */
.clear-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.2s;
}

.clear-btn:hover {
  background-color: #f0f0f0;
  color: #666;
  opacity: 1;
}

/* 文件预览样式 */
.file-preview {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin-top: 10px;
}

.file-icon {
  margin-right: 15px;
}

.file-details {
  flex-grow: 1;
}

.file-name {
  font-weight: bold;
  margin-bottom: 3px;
}

.file-size {
  color: #666;
  font-size: 13px;
}

/* 确保导航栏显示正确 */
.navbar {
  margin-bottom: 20px;
}

/* 结果容器样式 */
#result-display {
  min-height: 200px;
  resize: vertical;
}

.result-content {
  padding: 15px;
  border-radius: 4px;
  min-height: 200px;
  background-color: #f9f9f9;
}

.result-content textarea,
#result-display {
  width: 100%;
  min-height: 200px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: #f8f8f8;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
  color: #333;
}
.page-header .text-muted {
  color: #000000; 
}