.import-modal-content {
  min-height: 400px;

  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;

    .empty-text {
      font-size: 16px;
      color: #1d2129;
      margin-bottom: 8px;
    }

    .empty-hint {
      font-size: 14px;
      color: #86909c;
    }
  }

  .loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;

    .loading-spinner {
      width: 40px;
      height: 40px;
      border: 4px solid #f0f2f5;
      border-top-color: #165dff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 16px;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    p {
      font-size: 14px;
      color: #4e5969;
    }
  }

  .tab-title {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 200px;

    span {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .file-content {
    padding: 16px 0;

    .file-header {
      padding: 0 4px;
      margin-bottom: 12px;
    }

    .component-list {
      max-height: 500px;
      overflow-y: auto;
      padding-right: 4px;

      .component-card {
        margin-bottom: 12px;
        padding: 16px;
        border: 1px solid #e5e6eb;
        border-radius: 4px;
        background: #fff;
        transition: all 0.2s;

        &.selected {
          border-color: #165dff;
          background: #f2f8ff;
        }

        .card-header {
          margin-bottom: 8px;

          .component-name {
            font-size: 14px;
            font-weight: 600;
            color: #1d2129;
          }
        }

        .component-desc {
          margin: 8px 0 8px 24px;
          font-size: 13px;
          color: #4e5969;
          line-height: 1.6;
        }

        .component-info {
          margin: 12px 0 12px 24px;

          .info-item {
            display: flex;
            margin-bottom: 8px;
            font-size: 13px;

            .info-label {
              font-weight: 500;
              color: #4e5969;
              min-width: 80px;
              flex-shrink: 0;
            }

            .info-value {
              color: #1d2129;
              flex: 1;
            }
          }
        }

        .operates-section {
          margin: 12px 0 0 24px;

          .section-title {
            font-size: 13px;
            font-weight: 500;
            color: #1d2129;
            margin-bottom: 8px;
          }

          .operates-list {
            display: flex;
            flex-direction: column;
            gap: 8px;

            .operate-item {
              padding: 10px 12px;
              background: #fff;
              border: 1px solid #e5e6eb;
              border-radius: 4px;
              border-left: 3px solid #165dff;

              .operate-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 6px;

                .operate-ident {
                  font-size: 13px;
                  font-weight: 500;
                  color: #1d2129;
                }

                .operate-type {
                  padding: 2px 8px;
                  background: #165dff;
                  color: #fff;
                  font-size: 11px;
                  border-radius: 2px;
                }
              }

              .operate-params {
                display: flex;
                gap: 16px;
                font-size: 12px;

                .param-info {
                  color: #86909c;
                }
              }
            }
          }
        }
      }
    }
  }
}
