.usage-rules {
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  margin-top: 16px;
  margin-bottom: 20px;

  // 确保所有Text组件都是块级元素
  .ant-typography {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  &-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    line-height: 24px;
    margin-bottom: 8px;
    display: block;
    width: 100%;
  }

  &-subtitle {
    font-size: 14px;
    color: #6B7280;
    line-height: 20px;
    margin-bottom: 24px;
    display: block;
    width: 100%;
  }

  &-section {
    margin-bottom: 24px;

    &:last-child {
      margin-bottom: 0;
    }

    &-title {
      font-size: 16px;
      font-weight: 500;
      color: #6B7280;
      line-height: 20px;
      margin-bottom: 16px;
      display: block;
      width: 100%;
    }
  }

  &-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  &-item {
    position: relative;
    display: flex;
    align-items: flex-start;

    &::before {
      content: '•';
      color: #697281;
      font-size: 16px;
      line-height: 20px;
      font-weight: bold;
      margin-right: 8px;
      flex-shrink: 0;
      margin-top: 0;
    }

    &-content {
      flex: 1;
      min-width: 0;
    }

    &-main-line {
      margin-bottom: 4px;
    }

    &-label {
      font-size: 14px;
      font-weight: 600;
      color: #000000;
      line-height: 20px;
      display: inline;
      margin-right: 4px;
    }

    &-description {
      font-size: 14px;
      color: #000000;
      line-height: 20px;
      display: inline;
      word-wrap: break-word;
    }

    &-reset {
      font-size: 14px;
      color: #000000;
      line-height: 20px;
      display: block;
      width: 100%;
    }

    &-note {
      font-size: 14px;
      color: #000000;
      line-height: 20px;
      margin-top: 4px;
      display: block;
      width: 100%;
    }
  }

}

// 响应式设计
@media (max-width: 768px) {
  .usage-rules {
    padding: 12px;
    margin-top: 12px;

    &-title {
      font-size: 16px;
    }

    &-subtitle {
      font-size: 13px;
    }

    &-section {
      margin-bottom: 20px;

      &-title {
        font-size: 15px;
      }
    }

    &-item {
      &::before {
        font-size: 14px;
        margin-right: 6px;
      }

      &-label,
      &-description,
      &-reset,
      &-note {
        font-size: 13px;
      }
    }
  }
}
