.ai-video-generator {
  .options-container {
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
  }

  .option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;

    .option-label {
      font-size: 14px;
      font-weight: 500;
      color: #333;
      margin-bottom: 8px;
    }
  }

  .results-container {
    margin-top: 24px;

    .results-title {
      font-size: 16px;
      font-weight: 600;
      color: #333;
      margin-bottom: 16px;
    }

    .loading-container {
      min-height: 220px;

      .ant-spin {
        width: 100%;
      }

      .ant-spin-text {
        white-space: nowrap;
      }
    }

    .empty-results {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 220px;
      background-color: #f8f9fa;
      border-radius: 8px;
      border: 1px dashed #ddd;
    }
  }

  .generated-video-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;

    &:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-color: #1890ff;
    }

    .video-container {
      width: 100%;
      height: 220px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #111;

      video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .video-meta {
      padding: 12px 12px 0;
      color: #666;
      font-size: 12px;
      min-height: 36px;
      line-height: 18px;
      word-break: break-all;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .video-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 12px;

      button {
        flex: 1;
      }
    }
  }

  .error-message {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 6px;
    padding: 12px;
    margin-top: 16px;
    color: #ff4d4f;
  }
}
