/* css/style.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px 40px;
}

h1, h2, h3 {
    color: #2c3e50;
}

/* 让图片自适应宽度，不超过容器 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 其他你可以添加的样式 */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- 美化引用区块（我们的提示框） --- */
blockquote {
  margin: 2em 0; /* 上下边距，让它和正文有距离感 */
  padding: 15px 20px; /* 内部留白，文字不贴边 */
  border-left: 5px solid #ffc107; /* 左侧的醒目黄色竖线 */
  background-color: #fffbe6; /* 淡黄色的背景 */
  color: #6d5b00; /* 深黄色字体，比黑色柔和 */
  border-radius: 5px; /* 圆角，和 container 风格统一 */
}

/* 让引用区块里的粗体文字更突出一点 */
blockquote strong {
  color: #d19e00;
}

/* 文件路径: /css/style.css */

.tabs-container {
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.tab-buttons {
  display: flex;
}

.tab-buttons button {
  flex: 1;
  padding: 12px 16px;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
  border-bottom: 3px solid transparent;
  text-align: center;
}

/* 匹配你图片的颜色 */
.tab-buttons button:nth-child(1) { background-color: #2e7d32; }
.tab-buttons button:nth-child(2) { background-color: #9c27b0; }
.tab-buttons button:nth-child(3) { background-color: #f57c00; }

.tab-buttons button:hover,
.tab-buttons button:focus {
  opacity: 0.9;
}

.tab-buttons button[aria-selected="true"] {
  border-bottom-color: #fff;
  opacity: 1;
}

.tab-panels [role="tabpanel"] {
  padding: 1.5rem;
  background-color: #f9f9f9;
}

.tab-panels [role="tabpanel"] ol {
  padding-left: 20px;
  margin: 0;
  line-height: 1.8;
}