/**
 * 轴向剖切面板样式
 */

.section-axis-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 16px 12px;
  box-sizing: border-box;
}

/* 第一行：隐藏、反向 */
.section-axis-row-1 {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 第二行：X、Y、Z */
.section-axis-row-2 {
  display: flex;
  gap: 8px;
  padding-top: 8px;
}

/* 按钮基础样式 */
.section-axis-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  background: var(--bim-section-axis-btn-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  color: var(--bim-text-color, rgba(255, 255, 255, 0.90));
  min-height: 48px;
}

.section-axis-btn:hover {
  background: var(--bim-section-axis-btn-hover, rgba(255, 255, 255, 0.10));
}

/* 激活状态 */
.section-axis-btn.active {
  background: var(--bim-section-axis-btn-active, rgba(255, 255, 255, 0.14));
  border-color: var(--bim-text-active-color, #fff);
  color: var(--bim-text-active-color, #fff);
}

/* 图标样式 */
.section-axis-btn-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bim-icon-color, #ccc);
}

.section-axis-btn-icon svg {
  width: 100%;
  height: 100%;
}

/* 标签样式 */
.section-axis-btn-label {
  font-size: 12px;
  color: inherit;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* 文字按钮样式（XYZ） */
.section-axis-btn-text {
  min-height: 40px;
}

.section-axis-btn-text .section-axis-btn-label {
  font-size: 18px;
  font-weight: 600;
}
