.agent-card {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 20px 20px 50px 20px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 100px;
  align-items: flex-start;

  &:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);

    .agent-icon {
      background-color: #ecf9ff;
      transform: scale(1.05);

      fa-icon {
        color: #3498db;
      }
    }
  }

  &:active {
    transform: translateY(0);
  }

  .agent-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #ecf9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

    fa-icon {
      font-size: 24px;
      color: #8abecf;
      transition: color 0.2s ease;
    }
  }

  .agent-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;

    .agent-name {
      margin: 0;
      font-size: 16px;
      font-weight: 600;
      color: #1f2937;
      line-height: 1.4;
    }

    .agent-description {
      margin: 0;
      font-size: 14px;
      font-weight: 400;
      color: #6b7280;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
}

// Responsive
@media (max-width: 768px) {
  .agent-card {
    padding: 16px;

    .agent-icon {
      width: 40px;
      height: 40px;

      fa-icon {
        font-size: 20px;
      }
    }

    .agent-content {
      .agent-name {
        font-size: 15px;
      }

      .agent-description {
        font-size: 13px;
      }
    }
  }
}
