:root {
  --main-color: #0066cc; /* 主色，可改成你的主题色 */
}

/* Tabs 容器 */
.tabs-container {
  max-width: 100%;
  margin: 30px auto;
  font-family: inherit;
}

/* Tabs 标题区 */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #e5e5e5;
}
.tab-buttons button {
  flex: 1;
  padding: 12px 20px;
  cursor: pointer;
  background: #f9f9f9;
  border: none;
  outline: none;
  font-size: 20px;
  color: #555;
  transition: all 0.3s ease;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-family: Chakra Petch, Noto Sans TC, Microsoft JhengHei, Arial, sans-serif !important;
}
.tab-buttons button:hover {
  background: #f0f0f0;
  color: var(--main-color);
  text-decoration: none !important;
}
.tab-buttons button.active {
  background: #fff;
  color: var(--main-color);
  font-weight: 600;
  /*border-bottom: 2px solid #fff;*/
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none !important;
  font-family: Chakra Petch, Noto Sans TC, Microsoft JhengHei, Arial, sans-serif !important;
}

/* Tabs 内容区 */
.tab-content {
  /*border: 1px solid #ddd;*/
  border-radius: 0 8px 8px 8px;
  background: #fff;
  padding: 20px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 手机端样式 */
@media (max-width: 768px) {
  .tab-buttons button {
    flex: 100%;
    border-radius: 0;
    border-bottom: 1px solid #eee;
  }
  .tab-content {
    border-radius: 0;
  }
}
