/**
 * PisellRating 组件样式
 * 基于 Figma 设计规范，覆盖时使用 pisell-lowcode-xxx
 */

.pisell-rating {
  display: inline-flex;
  align-items: center;

  // 只读态
  &-read {
    .pisell-lowcode-rate {
      cursor: default;
      pointer-events: none;
    }
  }

  // 编辑态
  &-edit {
    .pisell-lowcode-rate {
      cursor: pointer;
    }
  }

  // 禁用态
  &-disabled {
    opacity: 0.4;

    .pisell-lowcode-rate {
      cursor: not-allowed;
    }
  }

  // 评分数值文本（与设计体系一致）
  &-value {
    font-size: 14px;
    line-height: 1.5;
    color: #101828; // Gray/900
    margin-left: 8px;
  }

  // 评分人数文本
  &-count {
    font-size: 14px;
    line-height: 1.5;
    color: #667085; // Gray/500
    margin-left: 8px;
  }
}
