// AI图片生成器样式
.ai-image-generator {
  .options-container {
    margin-top: 16px;
    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: 200px;
    }

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

  .generated-image-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;
    }

    .image-container {
      width: 100%;
      height: 200px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f5f5f5;
    }

    .image-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;
  }
}
