/**
 * PisellGridProHeader 组件样式
 * @description 根据 Figma 原样式编写
 */

.pisell-grid-pro-header {
  /* Content */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px 0px 16px;
  gap: 16px;
  background: #ffffff;

  /**
   * 左侧内容区域 (Text and supporting text)
   */
  &-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    align-self: stretch;
  }

  /**
   * 标题包裹容器 (Text and badge)
   */
  &-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    align-self: stretch;
  }

  /**
   * 标题样式 (Text)
   */
  &-title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #101828;
  }

  /**
   * 标签样式 (Badge)
   */
  &-badge {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 2px 10px;
    height: 24px;
    background: #f9f5ff;
    mix-blend-mode: multiply;
    border: 1px solid #e9d7fe;
    border-radius: 16px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #6941c6;
  }

  /**
   * 副标题样式 (Supporting text)
   */
  &-subtitle {
    font-family: 'Inter';
    font-size: 14px;
    line-height: 20px;
    color: #475467;
    align-self: stretch;
    flex: none;
  }

  &-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: none;
  }
}
