/**
 * PisellNumber 组件样式
 * 基于 Figma 设计规范，与 SingleLineText / PisellEmail 设计体系一致，覆盖时使用 pisell-lowcode-xxx
 */

.pisell-number {
  display: inline-block;
  width: 100%;

  &-edit {
    position: relative;
    width: 100%;
  }

  // 错误提示（与设计体系一致）
  &-error {
    margin-top: 4px;
    font-size: 12px;
    color: #d92d20; // Error/600
    line-height: 1.5;
    animation: pisell-number-fadeIn 0.3s ease-in-out;
  }

  &-read {
    color: #101828; // Gray/900
    line-height: 1.5;
    font-size: 16px;
  }

  &-disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
}

@keyframes pisell-number-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
