/* Figma 14131:6265：缩放在左下角；Figma 14004:1149 Stepper 样式；z-index 保证在画布之上可点击 */
.pisell-floor-map-layout-view-controls {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 20;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;

  /* Stepper：胶囊形 [减] 数值% [加] */

  &-zoom-stepper {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 4px;
    background: #fff;
    border: 1px solid #98a2b3;
    border-radius: 100px;
    box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
  }

  &-zoom-stepper-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: #101828;
    font-size: 18px;

    &:hover {
      background: #f2f4f7;
      color: #101828;
    }
  }

  &-zoom-stepper-value {
    min-width: 56px;
    padding: 0 8px;
    text-align: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: #101828;
  }

  /* 复位 / 区域定位 / 全屏 / 网格：与 Stepper 同系胶囊条 */

  &-tools-capsule {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 56px;
    padding: 2px 6px;
    background: #fff;
    border: 1px solid #98a2b3;
    border-radius: 100px;
    box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
  }

  &-tool-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: #101828;
    font-size: 20px;
    line-height: 1;

    &:hover {
      background: #f2f4f7;
      color: #101828;
    }
  }

  &-tool-btn--active {
    background: #fff4ed;
    color: #ff692e;

    &:hover {
      background: #ffe8d9;
      color: #ff692e;
    }
  }
}
